From e005bc819c201c49cf330a2607ad0770f145904e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sat, 26 Mar 2016 03:16:17 +0000 Subject: Remove synchronous DNS name resolution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie5e670b769eb0674950f3679ef511047641c2873 Reviewed-on: https://code.wireshark.org/review/14751 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Anders Broman --- configure.ac | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4217f29ec6..b83db53280 100644 --- a/configure.ac +++ b/configure.ac @@ -2628,9 +2628,6 @@ else fi AC_SUBST(C_ARES_LIBS) -# Check for synchronous name resolvers -AC_CHECK_FUNCS([getaddrinfo gethostbyname gethostbyname2]) - dnl GEOIP Check GEOIP_LIBS='' AC_MSG_CHECKING(whether to use the GeoIP IP address mapping library if available) @@ -2715,6 +2712,8 @@ AC_C_BIGENDIAN # XXX - do we need this? AC_PROG_GCC_TRADITIONAL +AC_CHECK_FUNCS([getaddrinfo]) + AC_CHECK_FUNC(getopt_long, [ GETOPT_LO="" @@ -3354,8 +3353,7 @@ fi if test "x$have_good_c_ares" = "xyes" ; then c_ares_message="yes" else - # We should make this an error at some point. - c_ares_message="no. This can cause serious performance issues." + c_ares_message="no (name resolution will be disabled)" fi if test "x$have_good_libcap" = "xyes" ; then -- cgit v1.2.1