$NetBSD: patch-aa,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $

--- configure.orig	Sat Jul  3 23:14:38 1999
+++ configure	Sun Aug 22 13:34:41 1999
@@ -1181,6 +1181,8 @@
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char hosts_ctl();
+int allow_severity;
+int deny_severity;
 
 int main() {
 hosts_ctl()
@@ -1207,9 +1209,10 @@
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lwrap $LIBS"
+  LIBWRAP="-lwrap"
 
 else
+  LIBWRAP=""
   echo "$ac_t""no" 1>&6
 fi
 
@@ -2361,6 +2364,7 @@
 s%@DEFS@%$DEFS%g
 s%@LDFLAGS@%$LDFLAGS%g
 s%@LIBS@%$LIBS%g
+s%@LIBWRAP@%$LIBWRAP%g
 s%@exec_prefix@%$exec_prefix%g
 s%@prefix@%$prefix%g
 s%@program_transform_name@%$program_transform_name%g
