]> granicus.if.org Git - php/commitdiff
fix build with older postgresql
authorYasuo Ohgaki <yohgaki@php.net>
Fri, 22 Jul 2005 18:48:14 +0000 (18:48 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Fri, 22 Jul 2005 18:48:14 +0000 (18:48 +0000)
ext/pgsql/config.m4

index c635a2d7e594b4b2eb6d6dd19e5a2da94edeb117..95540d4eb4c3cb3f8b45741c471c2759181cc3f8 100644 (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