diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-15 14:13:35 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-18 08:05:18 +0200 |
commit | b8b751bb75f3c7a5e3eff0ccbd652191fd2554f3 (patch) | |
tree | fbba178c3c64ab8c5e475e73278f628dbcf1444e | |
parent | 4264de1f270a0fac44dde8ece6fde0a879aebc8e (diff) |
configure: fix 3rd arg w/AC_ARG_ENABLE
The 3rd arg is used when --{enable,disable}-foo are passed in, not when
the feature is enabled. Use the existing $enableval instead.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2521ccc8..7ff572a2 100644 --- a/configure.ac +++ b/configure.ac @@ -53,10 +53,10 @@ AC_ARG_ENABLE([libipq], [enable_libipq="$enableval"], [enable_libipq="no"]) AC_ARG_ENABLE([bpf-compiler], AS_HELP_STRING([--enable-bpf-compiler], [Build bpf compiler]), - [enable_bpfc="yes"], [enable_bpfc="no"]) + [enable_bpfc="$enableval"], [enable_bpfc="no"]) AC_ARG_ENABLE([nfsynproxy], AS_HELP_STRING([--enable-nfsynproxy], [Build SYNPROXY configuration tool]), - [enable_nfsynproxy="yes"], [enable_nfsynproxy="no"]) + [enable_nfsynproxy="$enableval"], [enable_nfsynproxy="no"]) AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=PATH], [Path to the pkgconfig directory [[LIBDIR/pkgconfig]]]), [pkgconfigdir="$withval"], [pkgconfigdir='${libdir}/pkgconfig']) |