$NetBSD: patch-ab,v 1.8 2012/06/09 11:57:20 adam Exp $

--- configure.orig	2012-04-28 13:21:55.000000000 +0000
+++ configure
@@ -14193,7 +14193,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 :
@@ -14913,7 +14913,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
@@ -14925,7 +14925,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
