summaryrefslogtreecommitdiff
path: root/lib/replace/crypt.m4
blob: 5a9fe88aaf475b2bd5edf62cdc9fbc9d2d75dea2 (plain)
1
2
3
4
5
6
###############################################
# test for where we get crypt() from
AC_SEARCH_LIBS(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" ])