From: Marcus Boerger Date: Thu, 22 Dec 2005 08:57:38 +0000 (+0000) Subject: - Find lib in default locations, too X-Git-Tag: php-5.1.2RC1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5b4115fd6e8a7db7e78bf8c041a8e3805af8f8f;p=php - Find lib in default locations, too --- diff --git a/ext/xml/config.m4 b/ext/xml/config.m4 index 5a2630bdcf..65f22915b9 100644 --- a/ext/xml/config.m4 +++ b/ext/xml/config.m4 @@ -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