summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/replace/crypt.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/crypt.m4 b/lib/replace/crypt.m4
index 5a9fe88aaf..0b31ae4964 100644
--- a/lib/replace/crypt.m4
+++ b/lib/replace/crypt.m4
@@ -1,6 +1,6 @@
###############################################
# test for where we get crypt() from
-AC_SEARCH_LIBS(crypt, [crypt],
+AC_SEARCH_LIBS_EXT(crypt, [crypt],
[test "$ac_cv_search_crypt" = "none required" || CRYPT_LIBS="-lcrypt"
AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])],
[ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])