From: Fabrice Fontaine Date: Sun, 6 Oct 2019 07:53:23 +0000 (+0200) Subject: configure.ac: fix --disable-geoip X-Git-Tag: suricata-4.1.7~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4447%2Fhead;p=thirdparty%2Fsuricata.git configure.ac: fix --disable-geoip $enableval should be used to know if the user has passed --enable-geoip or --disable-geoip Fixes: - http://autobuild.buildroot.org/results/a7a34f760ae5fe0922fdb720b8234dbcd85ed222 Signed-off-by: Fabrice Fontaine (cherry picked from commit 61becb29bf2bcce5febd7f98e09b0006d217c8cb) --- diff --git a/configure.ac b/configure.ac index 3ba2725227..1ecdc004dd 100644 --- a/configure.ac +++ b/configure.ac @@ -2061,7 +2061,7 @@ # libmaxminddb AC_ARG_ENABLE(geoip, AS_HELP_STRING([--enable-geoip],[Enable GeoIP support]), - [ enable_geoip="yes"], + [ enable_geoip="$enableval"], [ enable_geoip="no"]) AC_ARG_ENABLE(libgeoip, AS_HELP_STRING([--disable-libgeoip], [Disable libgeoip support]),