summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-06-26 14:36:45 +0000
committerfoobar <sniper@php.net>2001-06-26 14:36:45 +0000
commitd3eff417f6243a015bd26eea6ce5e6843a6637ed (patch)
treec47df77e1c24b6cd1f69ac644038a8e668d95281 /configure.in
parent49d1e261438dfb557ded4cd49f49a5d6f73c59c6 (diff)
downloadphp-git-d3eff417f6243a015bd26eea6ce5e6843a6637ed.tar.gz
fix bug: #11693. Some systems have crypt() in libc.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 1e3909e0fd..c6dc97d41b 100644
--- a/configure.in
+++ b/configure.in
@@ -365,6 +365,7 @@ asctime_r \
chroot \
ctime_r \
cuserid \
+crypt \
flock \
gai_strerror \
gcvt \
@@ -617,10 +618,9 @@ if test "$PHP_PHP_STREAMS" = "yes"; then
fi
AC_CHECK_LIB(crypt, crypt, [
- PHP_ADD_LIBRARY(crypt)
- AC_DEFINE(HAVE_LIBCRYPT,1,[ ])
- AC_DEFINE(HAVE_CRYPT,1,[ ])
-], [])
+ PHP_ADD_LIBRARY(crypt)
+ AC_DEFINE(HAVE_CRYPT,1,[ ])
+])
divert(5)