[gnome-applets/wip/muktupavels/cleanup: 13/17] build: remove unused ENABLE_IPV6
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/muktupavels/cleanup: 13/17] build: remove unused ENABLE_IPV6
- Date: Tue, 24 Mar 2020 15:22:13 +0000 (UTC)
commit 0b9bde1782c689f19603ae0a0e5eed925b4d2843
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Mar 24 17:07:58 2020 +0200
build: remove unused ENABLE_IPV6
configure.ac | 23 -----------------------
1 file changed, 23 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cdf9b94d6..154815039 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,28 +385,6 @@ fi
AM_CONDITIONAL(HAVE_TRACKER_SEARCH_BAR, test "$have_tracker_search_bar" = "yes")
-dnl ***************************************************************************
-dnl *** Check if IPv6 is available ***
-dnl ***************************************************************************
-AC_MSG_CHECKING([whether to enable ipv6])
-AC_ARG_ENABLE(ipv6, [ --enable-ipv6 enable IPv6 extensions], ,enable_ipv6=yes)
-if test $enable_ipv6 = yes; then
-
- dnl Code for checking presence of AF_INET6 on the system.
- AC_TRY_COMPILE([
- #include <sys/types.h>
- #include <sys/socket.h>], [
- socket(AF_INET6, SOCK_STREAM, 0)
- ],
- have_ipv6=yes,
- have_ipv6=no
- )
- AC_MSG_RESULT($have_ipv6)
- if test $have_ipv6 = yes; then
- AC_DEFINE(ENABLE_IPV6, 1, [Define if system is IPv6 enabled])
- fi
-fi
-
dnl ***************************************************************************
dnl *** Check for getaddrinfo ***
dnl ***************************************************************************
@@ -627,5 +605,4 @@ echo " cpufreq"
echo " building selector .............: $enable_selector"
echo ""
echo " Using UPOWER ....................: $HAVE_UPOWER"
-echo " Enabling IPv6 ...................: $have_ipv6"
echo ""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]