Use _EXT version of autoconf macro.
[kai/samba.git] / lib / replace / crypt.m4
index 5a9fe88aaf475b2bd5edf62cdc9fbc9d2d75dea2..0b31ae49645d9f076a870cb5d9232338348e5984 100644 (file)
@@ -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" ])