File pdns-2.9.22_wrong_pgsql.patch of Package pdns.import5757

Index: configure.in
===================================================================
--- configure.in.orig	2009-01-25 18:25:37.000000000 +0100
+++ configure.in	2009-01-28 17:16:35.494300022 +0100
@@ -344,7 +344,7 @@ then
 	PGSQL_libdir=
 	for m in $PGSQL_lib_check; do
 	        if test -d "$m" && \
-		   (test -f "$m/libpq.a" || test -f "$m/libpq++.a")
+		   (test -f "$m/libpq.so" || test -f "$m/libpq++.so")
 	        then
 	                PGSQL_libdir=$m
 	                break
Index: configure
===================================================================
--- configure.orig	2009-01-25 18:27:41.000000000 +0100
+++ configure	2009-01-28 17:17:03.934274384 +0100
@@ -23319,7 +23319,7 @@ echo $ECHO_N "checking for PgSQL library
 	PGSQL_libdir=
 	for m in $PGSQL_lib_check; do
 	        if test -d "$m" && \
-		   (test -f "$m/libpq.a" || test -f "$m/libpq++.a")
+		   (test -f "$m/libpq.so" || test -f "$m/libpq++.so")
 	        then
 	                PGSQL_libdir=$m
 	                break