aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-05 22:27:51 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-05 22:27:51 +0000
commit042c043da78f5dad040025dca9d396ae5e24fb3f (patch)
treef1b179a3e5bbf30b76e363c1962964779bfb60d7 /acinclude.m4
parentd2b29a7441505495876903996dfdd7de92baa9ff (diff)
Add GeoIP IPv6 database support. Tested with GeoIP 1.4.7, but older
versions *should* be supported. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39280 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 9309a523c1..7c27364190 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1544,6 +1544,13 @@ AC_DEFUN([AC_WIRESHARK_GEOIP_CHECK],
have_good_geoip=yes
],,
)
+ if test "x$have_good_geoip" = "xyes"; then
+ AC_CHECK_LIB(GeoIP, GeoIP_country_name_by_ipnum_v6,
+ [
+ AC_DEFINE(HAVE_GEOIP_V6, 1, [Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later)])
+ ],,
+ )
+ fi
else
AC_MSG_RESULT(not required)
fi