From 3a6935a2a0232102be4fe45723b1101ebb775d08 Mon Sep 17 00:00:00 2001 From: Alexander Kurilo Date: Sun, 13 Aug 2017 11:49:33 +0300 Subject: Add define to enable GeoIP Fixes #57 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 300ef38..ce88266 100644 --- a/configure.ac +++ b/configure.ac @@ -84,6 +84,7 @@ have_geoip=no AS_IF([test x$with_libgeoip != xno], [ PKG_CHECK_MODULES([GEOIP], [geoip], [ have_geoip="yes" + AC_DEFINE(HAVE_GEOIP, 1, [Define if GeoIP is available]) ], [ AC_MSG_WARN([libgeoip not found]) ]) -- cgit v1.2.3