We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9faaef0 commit c04b25fCopy full SHA for c04b25f
ext/xml/config.m4
@@ -36,7 +36,7 @@ if test "$PHP_XML" != "no"; then
36
dnl Check for expat only if --with-libexpat-dir is used.
37
dnl
38
if test "$PHP_LIBEXPAT_DIR" != "no"; then
39
- for i in $PHP_XML $PHP_LIBEXPAT_DIR; do
+ for i in $PHP_XML $PHP_LIBEXPAT_DIR /usr /usr/local; do
40
if test -f "$i/$PHP_LIBDIR/libexpat.a" || test -f "$i/$PHP_LIBDIR/libexpat.$SHLIB_SUFFIX_NAME"; then
41
EXPAT_DIR=$i
42
break
0 commit comments