$NetBSD: patch-ab,v 1.7 2010/06/15 23:10:44 pettai Exp $

--- configure.orig	2009-02-03 23:39:55.000000000 +0000
+++ configure
@@ -17617,7 +17617,7 @@ done
 test -n "$PG_CONFIG" || PG_CONFIG="pg_config"
 
 
-PGSQL_LIBS="-lpq"
+test -n "$PGSQL_LIBS" || PGSQL_LIBS="-lpq"
 
 # Check whether --with-pgsql-libs was given.
 if test "${with_pgsql_libs+set}" = set; then
@@ -19439,7 +19439,7 @@ rm -f authdaemonrc.h authldaprc.h authmy
 
 result=""
 
-if test -x "$COURIERCONFIG"
+if false && test -x "$COURIERCONFIG"
 then
 	$COURIERCONFIG >conftest.out || exit 1
 	sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1
@@ -19451,7 +19451,7 @@ then
 	result=" (from courier-config)"
 fi
 
-if test -x "$bindir/courierauthconfig"
+if false && test -x "$bindir/courierauthconfig"
 then
 	$bindir/courierauthconfig --configfiles >conftest.out || exit 1
 	sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1
