From: Jelmer Vernooij Date: Tue, 21 Oct 2008 16:33:38 +0000 (+0200) Subject: Fix AC_SEARCH_LIBS_EXT() usage. X-Git-Tag: samba-4.0.0alpha6~764 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ba0453c3ca98ed0ac27e4aa04d36d0bdc42f9e8;p=thirdparty%2Fsamba.git Fix AC_SEARCH_LIBS_EXT() usage. --- diff --git a/lib/replace/crypt.m4 b/lib/replace/crypt.m4 index 4e908662053..684c3519f23 100644 --- a/lib/replace/crypt.m4 +++ b/lib/replace/crypt.m4 @@ -1,7 +1,6 @@ ############################################### # test for where we get crypt() from AC_CHECK_HEADERS(crypt.h) -AC_SEARCH_LIBS_EXT(crypt, [crypt], - [test "$ac_cv_search_ext_crypt" = "none required" || CRYPT_LIBS="-lcrypt" - AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])], +AC_SEARCH_LIBS_EXT(crypt, [crypt], CRYPT_LIBS, + [ AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function]) ], [ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])