[gnome-applets/wip/muktupavels/cleanup: 14/17] build: remove unused HAVE_GETADDRINFO
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/muktupavels/cleanup: 14/17] build: remove unused HAVE_GETADDRINFO
- Date: Tue, 24 Mar 2020 15:22:19 +0000 (UTC)
commit d883d3ea909bab765ac4c582ca65cc4017e89b9a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Mar 24 17:09:07 2020 +0200
build: remove unused HAVE_GETADDRINFO
configure.ac | 15 ---------------
1 file changed, 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 154815039..dd8526fe4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,21 +385,6 @@ fi
AM_CONDITIONAL(HAVE_TRACKER_SEARCH_BAR, test "$have_tracker_search_bar" = "yes")
-dnl ***************************************************************************
-dnl *** Check for getaddrinfo ***
-dnl ***************************************************************************
-have_getaddrinfo=no
-AC_CHECK_FUNC(getaddrinfo, have_getaddrinfo=yes)
-if test $have_getaddrinfo != yes; then
- # getaddrinfo is not in the default libraries. See if it's in some other.
- for lib in bsd socket inet; do
- AC_CHECK_LIB($lib, getaddrinfo, [LIBS="$LIBS -l$lib";have_getaddrinfo=yes; break])
- done
-fi
-if test $have_getaddrinfo = yes; then
- AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if getaddrinfo() exists on the system])
-fi
-
dnl ***************************************************************************
dnl *** Check for presence of tm.tm_gmtoff on the system ***
dnl ***************************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]