$NetBSD: patch-ai,v 1.18 2007/01/06 15:13:15 wiz Exp $

--- configure.orig	2006-09-05 04:40:15.000000000 +0200
+++ configure
@@ -32042,6 +32042,9 @@ _ACEOF
 fi
 
 
+if test "x$ENABLE_CUPS"  != "xyes"; then
+  CUPS_CONFIG=no
+fi
 if test "x$CUPS_CONFIG" != "xno"; then
   HAVE_CUPS_TRUE=
   HAVE_CUPS_FALSE='#'
