summaryrefslogtreecommitdiff
path: root/lib/replace/crypt.m4
blob: fae2a58685741cbacc05bc1725bfb394cb074880 (plain)
1
2
3
4
5
6
###############################################
# test for where we get crypt() from
AC_CHECK_HEADERS(crypt.h)
AC_SEARCH_LIBS_EXT(crypt, [crypt], CRYPT_LIBS,
  [ AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function]) ],
  [ LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/crypt.o" ])