summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-10-05 22:27:51 +0000
committerGerald Combs <gerald@wireshark.org>2011-10-05 22:27:51 +0000
commitb9b05239f1ea9404752e74111f27117242b1431b (patch)
treef1b179a3e5bbf30b76e363c1962964779bfb60d7 /acinclude.m4
parentc9f750537555a97f81713c97b50b25b5481ad21e (diff)
downloadwireshark-b9b05239f1ea9404752e74111f27117242b1431b.tar.gz
Add GeoIP IPv6 database support. Tested with GeoIP 1.4.7, but older
versions *should* be supported. svn path=/trunk/; revision=39280
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