mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Find lib in default locations, too
This commit is contained in:
parent
9faaef0d08
commit
c04b25f63c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue