summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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])
])