fix compilation without GeoNames support

This commit is contained in:
Steffen Vogel 2016-10-26 17:12:53 -04:00
parent 89864ea70e
commit 678c9ee231

View file

@ -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],