mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Update GeoIP question in ./Config and use some magic to support both
geoip_classic and geoip_mmdb in modules.default.conf with Conditional Config, a dynamic loadmodule line, and auto-updates. Somewhere in a later version, probably 6.2.5, we will default to mmdb for all cases.
This commit is contained in:
@@ -930,6 +930,15 @@ CHECK_LIBCURL
|
||||
|
||||
CHECK_GEOIP_CLASSIC
|
||||
|
||||
dnl This does not do much anymore but..
|
||||
AC_ARG_ENABLE(mmdb,
|
||||
[AC_HELP_STRING([--enable-mmdb=no/yes],[enable GeoIP mmdb support])],
|
||||
[enable_mmdb=$enableval],
|
||||
[enable_mmdb=no])
|
||||
AS_IF([test "x$enable_mmdb" = "xyes"],
|
||||
[AC_DEFINE([GEOIP_ENGINE], ["geoip_mmdb"], [MMDB GeoIP engine])])
|
||||
|
||||
dnl Set to include dir
|
||||
UNRLINCDIR="`pwd`/include"
|
||||
|
||||
dnl This is at the end so the (potential) -std=gnu17 is not used
|
||||
|
||||
Reference in New Issue
Block a user