$NetBSD: patch-ad,v 1.3 2002/12/13 04:23:19 lukem Exp $

--- configure.in.orig	Mon Dec  2 23:08:46 2002
+++ configure.in
@@ -526,13 +526,17 @@
 dnl | let's test it for sanity before proceeding.  It's better to      |
 dnl | catch them here rather than in the program itself at runtime.    |
 
-grep "^$RUN_AS_GROUP:" /etc/group >/dev/null 2>/dev/null
-if (test "$?" = "1")
-then
-	# not found, fatal error
-	AC_MSG_WARN($RUN_AS_GROUP not found in /etc/group!)
-	AC_MSG_WARN(You might want to rerun configure using --with-group and another group name.)
-fi  
+dnl | NetBSD's pkgsrc setup creates the user and group AFTER the build
+dnl | and BEFORE install.  This gives the configure and build a chance
+dnl | to fail before modifying the group and passwd files.
+dnl
+dnl grep "^$RUN_AS_GROUP:" /etc/group >/dev/null 2>/dev/null
+dnl if (test "$?" = "1")
+dnl then
+dnl 	# not found, fatal error
+dnl 	AC_MSG_WARN($RUN_AS_GROUP not found in /etc/group!)
+dnl 	AC_MSG_WARN(You might want to rerun configure using --with-group and another group name.)
+dnl fi  
 
 dnl | All done with group tests.                                       |
 dnl +------------------------------------------------------------------+
