sniper Tue Sep 28 16:42:56 2004 EDT
Modified files:
/php-src/ext/standard config.m4
Log:
MFB: - Fixed bug #30205 (Missing <unistd.h> in crypt() configure test).
http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.75&r2=1.76&ty=u
Index: php-src/ext/standard/config.m4
diff -u php-src/ext/standard/config.m4:1.75 php-src/ext/standard/config.m4:1.76
--- php-src/ext/standard/config.m4:1.75 Mon May 10 03:23:38 2004
+++ php-src/ext/standard/config.m4 Tue Sep 28 16:42:56 2004
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.75 2004/05/10 07:23:38 helly Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.76 2004/09/28 20:42:56 sniper Exp $ -*- sh -*-
divert(3)dnl
@@ -67,6 +67,10 @@
AC_CACHE_CHECK(for standard DES crypt, ac_cv_crypt_des,[
AC_TRY_RUN([
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -94,6 +98,10 @@
AC_CACHE_CHECK(for extended DES crypt, ac_cv_crypt_ext_des,[
AC_TRY_RUN([
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -121,6 +129,10 @@
AC_CACHE_CHECK(for MD5 crypt, ac_cv_crypt_md5,[
AC_TRY_RUN([
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -160,6 +172,10 @@
AC_CACHE_CHECK(for Blowfish crypt, ac_cv_crypt_blowfish,[
AC_TRY_RUN([
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php