aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-04 12:18:37 -0800
committerAnders Broman <a.broman58@gmail.com>2015-02-06 08:07:10 +0000
commit881ff5df92a1c12a3afaeea3f422cb36f6e84b59 (patch)
tree9349e94359edc5f9c7d65112671b05af60898ae5 /configure.ac
parentd6ebb82ed24bb556d18d70bd2eb77947c07b94ff (diff)
Remove gethostbyaddr and gethostbyaddr2.
They've been deprecated for a very long time. Replace them with getaddrinfo. Note that we might not want to do synchronous name resolution at all. Add HAVE_GETADDRINFO to the KfW win-mac.h collision list. Change-Id: If59ce8a038776eadd6cd1794ed0e2dad8bf8a22c Reviewed-on: https://code.wireshark.org/review/6958 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 47dc117c36..dad56e06c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2128,9 +2128,9 @@ AC_SUBST(randpkt_man)
AC_SUBST(wiresharkfilter_man)
-dnl Checks for "gethostbyname()" - and "-lnsl", if we need it to get
-dnl "gethostbyname()".
-AC_WIRESHARK_GETHOSTBY_LIB_CHECK
+dnl Checks for "getaddrinfo()" - and "-lnsl", if we need it to get
+dnl "getaddrinfo()".
+AC_WIRESHARK_GETADDRINFO_LIB_CHECK
dnl Checks for "connect()", used as a proxy for "socket()" - and
dnl "-lsocket", if we need it to get "connect()".