$NetBSD: patch-aa,v 1.1 2007/07/28 00:10:37 joerg Exp $

--- configure.ac.orig	2007-07-28 02:05:42.000000000 +0200
+++ configure.ac
@@ -64,10 +64,12 @@ fi
 XAW_CHECK_XPRINT_SUPPORT(XMAN)
 
 # Check for man page config files
+if test x"$MANCONF" = x; then
 AC_CHECK_FILE([/etc/man.conf], [MANCONF="/etc/man.conf"], 
     AC_CHECK_FILE([/etc/man.config], [MANCONF="/etc/man.config"], 
 	AC_CHECK_FILE([/etc/manpath.config], [MANCONF="/etc/manpath.config"])))
-	
+fi
+
 if test x$MANCONF != x ; then
     AC_DEFINE_UNQUOTED(MANCONF, "$MANCONF", 
 	[Define to path to man config file if you have one])