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