From: Fabrice Fontaine Date: Sun, 6 Oct 2019 07:53:23 +0000 (+0200) Subject: configure.ac: fix --disable-geoip X-Git-Tag: suricata-5.0.0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61becb29bf2bcce5febd7f98e09b0006d217c8cb;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 --- diff --git a/configure.ac b/configure.ac index 3df576d547..fa671024db 100644 --- a/configure.ac +++ b/configure.ac @@ -2143,7 +2143,7 @@ # libmaxminddb AC_ARG_ENABLE(geoip, AS_HELP_STRING([--enable-geoip],[Enable GeoIP2 support]), - [ enable_geoip="yes"], + [ enable_geoip="$enableval"], [ enable_geoip="no"]) AC_ARG_WITH(libmaxminddb_includes, [ --with-libmaxminddb-includes=DIR libmaxminddb include directory],