summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-21 18:33:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-21 18:33:38 +0200
commit4ba0453c3ca98ed0ac27e4aa04d36d0bdc42f9e8 (patch)
treebf768bfac300ff25ebc94573fe98e70a6896251a
parent8ac2da0d0947c3dcfc9c1e7b38739fece395642d (diff)
downloadsamba-4ba0453c3ca98ed0ac27e4aa04d36d0bdc42f9e8.tar.gz
samba-4ba0453c3ca98ed0ac27e4aa04d36d0bdc42f9e8.tar.bz2
samba-4ba0453c3ca98ed0ac27e4aa04d36d0bdc42f9e8.zip
Fix AC_SEARCH_LIBS_EXT() usage.
-rw-r--r--lib/replace/crypt.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/replace/crypt.m4 b/lib/replace/crypt.m4
index 4e90866205..684c3519f2 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" ])