Skip to content

Commit c04b25f

Browse files
committed
- Find lib in default locations, too
1 parent 9faaef0 commit c04b25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/xml/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if test "$PHP_XML" != "no"; then
3636
dnl Check for expat only if --with-libexpat-dir is used.
3737
dnl
3838
if test "$PHP_LIBEXPAT_DIR" != "no"; then
39-
for i in $PHP_XML $PHP_LIBEXPAT_DIR; do
39+
for i in $PHP_XML $PHP_LIBEXPAT_DIR /usr /usr/local; do
4040
if test -f "$i/$PHP_LIBDIR/libexpat.a" || test -f "$i/$PHP_LIBDIR/libexpat.$SHLIB_SUFFIX_NAME"; then
4141
EXPAT_DIR=$i
4242
break

0 commit comments

Comments
 (0)