1 ###############################################
2 # test for where we get crypt() from
3 AC_CHECK_HEADERS(crypt.h)
4 AC_SEARCH_LIBS_EXT(crypt, [crypt], CRYPT_LIBS,
5 [ AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function]) ],
6 [ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])