From 678c9ee2312b59c7c2c42b21e93f788bbe360f8a Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 26 Oct 2016 17:12:53 -0400 Subject: [PATCH] fix compilation without GeoNames support --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 9a967ed..ddd2aa4 100644 --- a/configure.ac +++ b/configure.ac @@ -37,14 +37,10 @@ AC_ARG_ENABLE( AM_CONDITIONAL([GEONAMES_SUPPORT], [test x"$enable_geonames" = x"yes"]) if test x"$enable_geonames" = x"yes"; then - AC_DEFINE([GEONAMES_SUPPORT], [], [Geonames geocoding]) + AC_DEFINE([GEONAMES_SUPPORT], [1], [compile with geonames.org lookup capabilities]) PKG_CHECK_MODULES([DEPS_GEONAMES], [libcurl >= 7.21, json-c >= 0.11]) fi - -AC_DEFINE([GEONAMES_SUPPORT], [1], [compile with geonames.org lookup capabilities]) - - # debug compilation support AC_ARG_ENABLE( [debug],