Skip to content
Browse files

- Find lib in default locations, too

  • Loading branch information...
1 parent 7f6018a commit c5b4115fd6e8a7db7e78bf8c041a8e3805af8f8f Marcus Boerger committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/xml/config.m4
View
2 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

0 comments on commit c5b4115

Please sign in to comment.
Something went wrong with that request. Please try again.