abies           Fri Mar 26 21:03:44 2004 EDT

  Modified files:              
    /php-src    acinclude.m4 
  Log:
  Put AC_DEFINE in correct place so caching will work properly
  
  
http://cvs.php.net/diff.php/php-src/acinclude.m4?r1=1.270&r2=1.271&ty=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.270 php-src/acinclude.m4:1.271
--- php-src/acinclude.m4:1.270  Sun Feb 22 22:24:58 2004
+++ php-src/acinclude.m4        Fri Mar 26 21:03:44 2004
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.270 2004/02/23 03:24:58 sniper Exp $
+dnl $Id: acinclude.m4,v 1.271 2004/03/27 02:03:44 abies Exp $
 dnl
 dnl This file contains local autoconf functions.
 
@@ -1794,7 +1794,6 @@
         PHP_TEST_BUILD(xmlInitParser,
         [
           php_cv_libxml_build_works=yes
-          AC_DEFINE(HAVE_LIBXML, 1, [ ])
         ], [
           AC_MSG_RESULT(no)
           AC_MSG_ERROR([build test failed.  Please check the config.log for details.])
@@ -1802,6 +1801,9 @@
           [$]$1
         ])
       ])
+      if test "$php_cv_libxml_build_works" = "yes"; then
+        AC_DEFINE(HAVE_LIBXML, 1, [ ])
+      fi
       $2
     else
       AC_MSG_ERROR([libxml2 version 2.5.10 or greater required.])

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

Reply via email to