s3: fix building of pam_smbpass.
[Samba/gbeck.git] / lib / replace / crypt.m4
blob684c3519f2332bb08803de2842c62ec62f4d1572
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" ])