disable geoip in pc file as well

This commit is contained in:
Arvid Norberg 2010-02-03 04:53:05 +00:00
parent 4dd1aa56a4
commit a43b24c24a
1 changed files with 1 additions and 0 deletions

View File

@ -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".])]