summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-09-21 20:10:53 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-09-21 20:10:53 +0000
commit1e57766b1126b163a956da7315b12fbb37ed9126 (patch)
tree88da4640ee0cd0b3a240a5805fcc4d5dfe2fceaa
parent228a537bbe51399a0fd53c09c13afbbe40ff0427 (diff)
downloadphp-git-1e57766b1126b163a956da7315b12fbb37ed9126.tar.gz
Slightly redundant to check for crypt() here again, but the TRY_RUN stuff
needs it defined in the same m4 file or it won't work, and it will just get pulled out of the cache anyway, so it isn't a big deal.
-rw-r--r--ext/standard/config.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index ac09721b51..64887d8d1a 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -114,6 +114,10 @@ AC_CHECK_LIB(bind, inet_aton, [
EXTRA_LIBS="$EXTRA_LIBS -lbind"
AC_DEFINE(HAVE_LIBBIND) ], [])
+AC_CHECK_LIB(crypt, crypt, [
+ AC_ADD_LIBRARY(crypt)
+ AC_DEFINE(HAVE_LIBCRYPT) ], [])
+
divert(3)