]> granicus.if.org Git - php/commitdiff
- Find lib in default locations, too
authorMarcus Boerger <helly@php.net>
Thu, 22 Dec 2005 08:57:50 +0000 (08:57 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 22 Dec 2005 08:57:50 +0000 (08:57 +0000)
ext/xml/config.m4

index 5a2630bdcf87791708ea949c6c50c8fca1e04862..65f22915b93af8c6752b006c2ad87240c729d638 100644 (file)
@@ -36,7 +36,7 @@ if test "$PHP_XML" != "no"; then
   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