From 783b5b58611410e4eacb6ad9d8c729b674c5cc3e Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Thu, 29 Oct 2015 15:25:39 +0100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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]) -- cgit v1.2.3