From: foobar Date: Tue, 26 Jun 2001 14:36:45 +0000 (+0000) Subject: fix bug: #11693. Some systems have crypt() in libc. X-Git-Tag: PRE_TSRM_MERGE_PATCH~334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3eff417f6243a015bd26eea6ce5e6843a6637ed;p=php fix bug: #11693. Some systems have crypt() in libc. --- 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)