diff --git a/configure.ac b/configure.ac index df162ed8a..d7bbd8fbb 100644 --- a/configure.ac +++ b/configure.ac @@ -460,6 +460,7 @@ AS_CASE(["$ARG_ENABLE_GEOIP"], ["no"], [ AC_MSG_RESULT([no]) AC_DEFINE([TORRENT_DISABLE_GEO_IP],[1],[Define to disable the GeoIP support and avoid linking against LGPLed code.]) + COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_GEO_IP " ], [AC_MSG_RESULT([$ARG_ENABLE_GEOIP]) AC_MSG_ERROR([Unknown option "$ARG_ENABLE_GEOIP". Use either "yes" or "no".])]