gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 210/222: configure: only say ipv6 enabled when the variable is s


From: gnunet
Subject: [gnurl] 210/222: configure: only say ipv6 enabled when the variable is set
Date: Thu, 07 Nov 2019 00:11:46 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 07f8986051b5ad8f6f34b82036f615c70f7fbb3e
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Nov 4 13:59:35 2019 +0100

    configure: only say ipv6 enabled when the variable is set
    
    Previously it could say "IPv6: enabled" at the end of the configure run
    but the define wasn't set because of a missing getaddrinfo().
    
    Reported-by: Marcel Raad
    Fixes #4555
    Closes #4560
---
 configure.ac | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index f6cf2ed0b..cb8f4943e 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1227,10 +1227,6 @@ main()
   ipv6=yes
 ))
 
-if test "$ipv6" = "yes"; then
-  curl_ipv6_msg="enabled"
-fi
-
 # Check if struct sockaddr_in6 have sin6_scope_id member
 if test "$ipv6" = yes; then
   AC_MSG_CHECKING([if struct sockaddr_in6 has sin6_scope_id member])
@@ -3969,6 +3965,7 @@ if test "$ipv6" = "yes"; then
     AC_DEFINE(ENABLE_IPV6, 1, [Define if you want to enable IPv6 support])
     IPV6_ENABLED=1
     AC_SUBST(IPV6_ENABLED)
+    curl_ipv6_msg="enabled"
   fi
 fi
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]