Fix crypto test.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 20 Oct 2008 16:59:45 +0000 (18:59 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 20 Oct 2008 16:59:45 +0000 (18:59 +0200)
lib/replace/crypt.m4

index 047766d47053e809de82e27d55e09d793a2c15c3..4e9086620536d3702a7bdedfd472869e454368f9 100644 (file)
@@ -2,6 +2,6 @@
 # test for where we get crypt() from
 AC_CHECK_HEADERS(crypt.h)
 AC_SEARCH_LIBS_EXT(crypt, [crypt],
-  [test "$ac_cv_search_crypt" = "none required" || CRYPT_LIBS="-lcrypt"
+  [test "$ac_cv_search_ext_crypt" = "none required" || CRYPT_LIBS="-lcrypt"
   AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])],
   [ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])