helly           Thu Dec 22 08:57:38 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/xml    config.m4 
  Log:
  - Find lib in default locations, too
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/xml/config.m4?r1=1.54&r2=1.54.2.1&diff_format=u
Index: php-src/ext/xml/config.m4
diff -u php-src/ext/xml/config.m4:1.54 php-src/ext/xml/config.m4:1.54.2.1
--- php-src/ext/xml/config.m4:1.54      Mon Jun 20 00:52:59 2005
+++ php-src/ext/xml/config.m4   Thu Dec 22 08:57:38 2005
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.54 2005/06/20 00:52:59 sniper Exp $
+dnl $Id: config.m4,v 1.54.2.1 2005/12/22 08:57:38 helly Exp $
 dnl
 
 PHP_ARG_ENABLE(xml,whether to enable XML support,
@@ -36,7 +36,7 @@
   dnl Check for expat only if --with-libexpat-dir is used.
   dnl
   if test "$PHP_LIBEXPAT_DIR" != "no"; then
-    for i in $PHP_XML $PHP_LIBEXPAT_DIR; do
+    for i in $PHP_XML $PHP_LIBEXPAT_DIR /usr /usr/local; do
       if test -f "$i/$PHP_LIBDIR/libexpat.a" || test -f 
"$i/$PHP_LIBDIR/libexpat.$SHLIB_SUFFIX_NAME"; then
         EXPAT_DIR=$i
         break

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

Reply via email to