fix build with older postgresql

This commit is contained in:
Yasuo Ohgaki 2005-07-22 18:48:14 +00:00
parent d8eece2b43
commit 813bd67320

View File

@ -44,7 +44,7 @@ if test "$PHP_PGSQL" != "no"; then
fi
done
for j in $PHP_LIBDIR $PHP_LIBDIR/pgsql $PHP_LIBDIR/postgres $PHP_LIBDIR/postgresql ""; do
for j in lib lib/pgsql lib/postgres lib/postgresql ""; do
if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then
PGSQL_LIBDIR=$i/$j
fi