summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 067b675..105b1ec 100755
--- a/configure
+++ b/configure
@@ -333,6 +333,11 @@ check_libgeoip()
{
echo -n "[*] Checking libGeoIP ... "
+ if [ "$DISABLE_GEOIP" == "1" ] ; then
+ echo "[DISABLED]"
+ return
+ fi
+
cat > $TMPDIR/geoiptest.c << EOF
#include <GeoIP.h>
#include <GeoIPCity.h>
@@ -397,6 +402,11 @@ check_zlib()
{
echo -n "[*] Checking libz ... "
+ if [ "$DISABLE_ZLIB" == "1" ] ; then
+ echo "[DISABLED]"
+ return
+ fi
+
cat > $TMPDIR/ztest.c << EOF
#include "zlib.h"