summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2015-10-29 15:25:39 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-11-01 20:02:50 +0100
commit783b5b58611410e4eacb6ad9d8c729b674c5cc3e (patch)
tree42cce8edf09c8d89ad7cc7a8c63221c18eb85227
parent8845f3db20c951fcf1db3229a818cfd185f17f2e (diff)
configure.ac: improve feature selection
Let's improve feature selection with feedback from Jan Engelhardt and Pablo Neira Ayuso. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 70d3729..f326f96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,10 +57,10 @@ fi
AC_ARG_ENABLE([cthelper],
AS_HELP_STRING([--disable-cthelper], [Do not build userspace helper support]),
- [enable_cthelper="no"], [enable_cthelper="yes"])
+ [enable_cthelper="$enableval"], [enable_cthelper="yes"])
AC_ARG_ENABLE([cttimeout],
AS_HELP_STRING([--disable-cttimeout], [Do not build timeout support]),
- [enable_cttimeout="no"], [enable_cttimeout="yes"])
+ [enable_cttimeout="$enableval"], [enable_cttimeout="yes"])
PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 1.0.1])
PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])