summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-05-27 11:03:37 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-05-27 11:03:37 +0200
commit47f41a76c7086761d0c64e743a5ca9f1b0e71440 (patch)
treefd4ab3be4c466a094f9413661624eead36e9403e /configure
parent5160c9212e0e55e0dc518aadca0e6a370cf1420d (diff)
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 <tklauser@distanz.ch>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 0 insertions, 2 deletions
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
}