summaryrefslogtreecommitdiff
path: root/net/ORBit/patches/patch-ao
blob: c4173ee0ad80cc97fc3a56636ab781c7334a04a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ao,v 1.1 2002/11/25 21:20:06 jlam Exp $

--- configure.in.orig	Wed Mar 20 06:44:16 2002
+++ configure.in
@@ -154,6 +154,7 @@ AC_TRY_COMPILE(
 # Modified to prefer shared libwrap by Adam Powell
 
 AC_MSG_CHECKING("whether to use TCP wrappers")
+if test -z "$LIBWRAP_PATH" && test -z "$LIB_WRAP"; then
 LIBWRAP_PATH=""
 LIB_WRAP=""
 for I in $LDFLAGS $LIBS -L/usr/lib; do
@@ -175,6 +176,7 @@ for I in $LDFLAGS $LIBS -L/usr/lib; do
 	fi
 	esac
 done
+fi
 if test -n "$LIBWRAP_PATH" || test -n "$LIB_WRAP"; then
 	AC_MSG_RESULT(yes)
 else