Skip to content

Commit d3eff41

Browse files
author
foobar
committed
fix bug: php#11693. Some systems have crypt() in libc.
1 parent 49d1e26 commit d3eff41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

configure.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ asctime_r \
365365
chroot \
366366
ctime_r \
367367
cuserid \
368+
crypt \
368369
flock \
369370
gai_strerror \
370371
gcvt \
@@ -617,10 +618,9 @@ if test "$PHP_PHP_STREAMS" = "yes"; then
617618
fi
618619
619620
AC_CHECK_LIB(crypt, crypt, [
620-
PHP_ADD_LIBRARY(crypt)
621-
AC_DEFINE(HAVE_LIBCRYPT,1,[ ])
622-
AC_DEFINE(HAVE_CRYPT,1,[ ])
623-
], [])
621+
PHP_ADD_LIBRARY(crypt)
622+
AC_DEFINE(HAVE_CRYPT,1,[ ])
623+
])
624624
625625
divert(5)
626626

0 commit comments

Comments
 (0)