From 47f41a76c7086761d0c64e743a5ca9f1b0e71440 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 27 May 2014 11:03:37 +0200 Subject: build: Remove unused CONFIG_LIBGEOIP If libgeoip is present, CONFIG_GEOIP will be set later on depending on HAVE_LIBGEOIP, we thus don't need to write CONFIG_LIBGEOIP to Config. This symbol isn't used anywhere in the build process. Signed-off-by: Tobias Klauser --- configure | 2 -- 1 file changed, 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 68291d2..3bda0e0 100755 --- a/configure +++ b/configure @@ -302,13 +302,11 @@ EOF $CC -o $TMPDIR/geoiptest $TMPDIR/geoiptest.c -lGeoIP >> config.log 2>&1 if [ ! -x $TMPDIR/geoiptest ] ; then echo "[NO]" - echo "CONFIG_LIBGEOIP=0" >> Config MISSING_DEFS=1 tools_remove "astraceroute" tools_remove "flowtop" else echo "[YES]" - echo "CONFIG_LIBGEOIP=1" >> Config HAVE_LIBGEOIP=1 fi } -- cgit v1.2.3-54-g00ecf