$NetBSD: patch-configure,v 1.2 2023/01/25 19:31:05 bsiegert Exp $

--- configure.orig	2022-12-02 13:40:39.000000000 +0000
+++ configure
@@ -20021,7 +20021,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+y}
@@ -20822,7 +20822,7 @@ rm -f authdaemonrc.h authldaprc.h authmy
 
 result=""
 
-if test -x "$bindir/courierauthconfig"
+if false
 then
 	$bindir/courierauthconfig --configfiles >conftest.out || exit 1
 	sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1
