alexwaugh               Fri Jan  3 17:07:06 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4       acinclude.m4 
  Log:
  MFH
  
  
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.218.2.4 php4/acinclude.m4:1.218.2.5
--- php4/acinclude.m4:1.218.2.4 Thu Jan  2 14:21:53 2003
+++ php4/acinclude.m4   Fri Jan  3 17:07:05 2003
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.218.2.4 2003/01/02 19:21:53 iliaa Exp $
+dnl $Id: acinclude.m4,v 1.218.2.5 2003/01/03 22:07:05 alexwaugh Exp $
 dnl
 dnl This file contains local autoconf functions.
 
@@ -1464,6 +1464,7 @@
 
 AC_DEFUN([PHP_BROKEN_GLIBC_FOPEN_APPEND],[
   AC_MSG_CHECKING([for broken libc stdio])
+  AC_CACHE_VAL(have_broken_glibc_fopen_append,[
   AC_TRY_RUN([
 #include <stdio.h>
 int main(int argc, char *argv[])
@@ -1490,7 +1491,17 @@
 }
 ],
 [have_broken_glibc_fopen_append=no],
-[have_broken_glibc_fopen_append=yes ])
+[have_broken_glibc_fopen_append=yes ],
+AC_TRY_COMPILE([
+#include <features.h>
+],[
+#if !__GLIBC_PREREQ(2,2)
+choke me
+#endif
+],
+[have_broken_glibc_fopen_append=yes],
+[have_broken_glibc_fopen_append=no ])
+)])
 
   if test "$have_broken_glibc_fopen_append" = "yes"; then
        AC_MSG_RESULT(yes)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to