summaryrefslogtreecommitdiff
blob: a08d974ce893bce9abb86828e67bca1ab680d16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- configure.ac.org	2011-01-28 18:26:54.000000000 +0100
+++ configure.ac	2011-04-20 00:09:37.000000000 +0200
@@ -121,6 +121,12 @@
 esac
 
 AC_QOSIENT_THREADS(V_THREADS)
+
+AC_ARG_WITH(wrappers,
+   [  --with-wrappers         build with libwrappers suuport],
+   with_wrappers="$withval",
+   with_wrappers="yes")
+if test "x$with_wrappers" != "xno"; then
 AC_QOSIENT_TCPWRAP(V_WRAPDEP, V_INCLS)
 if test ! -z "$V_WRAPDEP"; then
    if test -f $V_WRAPDEP; then
@@ -144,6 +150,7 @@
    AC_DEFINE([HAVE_TCP_WRAPPER], [], [Using Tcp wrappers])
    WRAPLIBS="$V_WRAPDEP"
 fi
+fi
 
 CURSESLIB=""