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