Mercurial > dovecot > core-2.2
changeset 12876:b93d45b71332
doveadm: Don't link with all AUTH_LIBS, only -lcrypt is needed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 04 Apr 2011 12:57:49 +0300 |
parents | ac8a28a8b5c0 |
children | 51ef5ffea07f |
files | configure.in src/doveadm/Makefile.am |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Apr 04 12:52:21 2011 +0300 +++ b/configure.in Mon Apr 04 12:57:49 2011 +0300 @@ -2306,10 +2306,12 @@ AC_CHECK_FUNC(crypt,, [ AC_CHECK_LIB(crypt, crypt, [ AUTH_LIBS="-lcrypt $AUTH_LIBS" + CRYPT_LIBS="-lcrypt" ], [ AC_MSG_ERROR([crypt() wasn't found]) ]) ]) +AC_SUBST(CRYPT_LIBS) if test $have_modules = yes; then AC_DEFINE(HAVE_MODULES,, Define if you have dynamic module support)