]> granicus.if.org Git - php/commitdiff
Also support --disable-shared installations of pgsql
authorSascha Schumann <sas@php.net>
Sun, 21 Apr 2002 10:18:34 +0000 (10:18 +0000)
committerSascha Schumann <sas@php.net>
Sun, 21 Apr 2002 10:18:34 +0000 (10:18 +0000)
ext/pgsql/config.m4

index d4e80322d080ce1a63e852119838e0a313b4a7d3..cab47976e347261f3a9933f23be0757f1a90646c 100644 (file)
@@ -30,7 +30,7 @@ if test "$PHP_PGSQL" != "no"; then
     done
 
     for j in lib lib/pgsql lib/postgres lib/postgresql ""; do
-      if test -f "$i/$j/libpq.so"; then 
+      if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then 
         PGSQL_LIBDIR=$i/$j
       fi
     done