Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
[ab/samba.git/.git] / lib / replace / crypt.m4
1 ###############################################
2 # test for where we get crypt() from
3 AC_CHECK_HEADERS(crypt.h)
4 AC_SEARCH_LIBS_EXT(crypt, [crypt],
5   [test "$ac_cv_search_ext_crypt" = "none required" || CRYPT_LIBS="-lcrypt"
6   AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])],
7   [ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])