summaryrefslogtreecommitdiff
path: root/lib/replace/crypt.m4
blob: 047766d47053e809de82e27d55e09d793a2c15c3 (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_crypt" = "none required" || CRYPT_LIBS="-lcrypt"
  AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])],
  [ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])