summaryrefslogtreecommitdiff
path: root/news/newscache/patches/patch-aa
blob: 3321808a7b8a23060804a052e6e85948aca63046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-aa,v 1.2 2001/08/28 03:30:43 mjl Exp $

--- configure.orig	Tue Aug 28 05:11:12 2001
+++ configure	Tue Aug 28 05:13:05 2001
@@ -1421,6 +1421,8 @@
 EOF
 
 ac_cv_lib_wrap_hosts_ctl=yes
+  LIBS="$ac_save_LIBS"
+  LIBWRAP="-lwrap"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
@@ -1428,6 +1430,7 @@
   LIBS="$ac_save_LIBS"
 echo "$ac_t""no" 1>&6
 ac_cv_lib_wrap_hosts_ctl=no
+  LIBWRAP=""
 fi
 rm -f conftest*
 
@@ -2435,6 +2438,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