$OpenBSD: patch-ext_pgsql_config_m4,v 1.3 2002/09/11 23:16:48 avsm Exp $
--- ext/pgsql/config.m4.orig	Thu Aug  1 11:19:17 2002
+++ ext/pgsql/config.m4	Sat Aug 24 13:35:19 2002
@@ -27,7 +27,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" || test -f "$i/$j/libpq.a"; then 
+      if test -f "$i/$j/libpq.so*" || test -f "$i/$j/libpq.a"; then 
         PGSQL_LIBDIR=$i/$j
       fi
     done
