Don't bother checking for getaddrinfo(): we don't use it.
authorJeff Morriss <jeff.morriss.ws@gmail.com>
Fri, 29 Apr 2016 15:34:17 +0000 (11:34 -0400)
committerAnders Broman <a.broman58@gmail.com>
Sat, 30 Apr 2016 07:21:34 +0000 (07:21 +0000)
Since Ie5e670b769eb0674950f3679ef511047641c2873 we no longer support
synchronous name resolution.

Change-Id: Icc65bd665bd610d89f894549e77608cfb5ef4c53
Reviewed-on: https://code.wireshark.org/review/15165
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ConfigureChecks.cmake
cmakeconfig.h.in
config.h.win32
configure.ac

index 5eaf77f16346fe4497e87411d8e3238a9ed3c9e6..c4c2b47d544476d5b7d731551af69627799bb96c 100644 (file)
@@ -104,8 +104,6 @@ check_symbol_exists("floorl" "math.h"    HAVE_FLOORL)
 check_symbol_exists("lrint"  "math.h"    HAVE_LRINT)
 cmake_pop_check_state()
 
-check_function_exists("getaddrinfo"      HAVE_GETADDRINFO)
-
 check_function_exists("getopt_long"      HAVE_GETOPT_LONG)
 if(HAVE_GETOPT_LONG)
        if(HAVE_GETOPT_H)
index ea674a7e5f805583b2d8b3b446f13c5aa9c6c441..a965c1c54d45493aaa5c11761c97c0ef9985a5dd 100644 (file)
@@ -85,9 +85,6 @@
 /* Define if you have the 'lrint' function. */
 #cmakedefine HAVE_LRINT 1
 
-/* Define to 1 if you have the `getaddrinfo' function. */
-#cmakedefine HAVE_GETADDRINFO 1
-
 /* Define to 1 if you have the getopt_long function. */
 #cmakedefine HAVE_GETOPT_LONG 1
 
index 9e66c4563caa802976c38540e34e680ffe7985c1..d6a11e8fdf4ad80357e8d0fba90598af004370e6 100644 (file)
@@ -82,9 +82,6 @@
 /* Define if you have the floorl function. */
 #define HAVE_FLOORL 1
 
-/* Define if you have the getaddrinfo function.  */
-#define HAVE_GETADDRINFO 1
-
 /* Define if you have the getprotobynumber function.  */
 /* #undef HAVE_GETPROTOBYNUMBER */
 
index 2780d9d2339a491869c3bedf9c6c3a998722610a..2b16f059d02efee20d8ac779b6d1316ffa6839b1 100644 (file)
@@ -2677,7 +2677,6 @@ AC_REPLACE_FUNCS(inet_ntop)
 AC_REPLACE_FUNCS(strptime)
 AC_REPLACE_FUNCS(popcount)
 
-AC_CHECK_FUNCS(getaddrinfo)
 AC_CHECK_FUNCS(mkstemp mkdtemp)
 AC_CHECK_FUNCS(getprotobynumber)
 AC_CHECK_FUNCS(issetugid)