apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r757612 - /apr/apr/trunk/build/aprenv.py
Date Tue, 24 Mar 2009 00:13:55 GMT
Author: pquerna
Date: Tue Mar 24 00:13:55 2009
New Revision: 757612

URL: http://svn.apache.org/viewvc?rev=757612&view=rev
Log:
SCons: When ipv6 is available, but not configured, still subst the have_ipv6 variable.

Modified:
    apr/apr/trunk/build/aprenv.py

Modified: apr/apr/trunk/build/aprenv.py
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/aprenv.py?rev=757612&r1=757611&r2=757612&view=diff
==============================================================================
--- apr/apr/trunk/build/aprenv.py (original)
+++ apr/apr/trunk/build/aprenv.py Tue Mar 24 00:13:55 2009
@@ -540,14 +540,13 @@
 
     # check for IPv6 (the user is allowed to disable this via commandline
     # options
+    subst['@have_ipv6@'] = 0
     if self['ipv6']:
         if conf.CheckType('struct sockaddr_in6', 
                           includes='#include <netinet/in.h>') and \
            conf.CheckFunc('getaddrinfo') and \
            conf.CheckFunc('getnameinfo'):
             subst['@have_ipv6@'] = 1
-    else:
-        subst['@have_ipv6@'] = 0
 
     if conf.CheckDeclaration('SO_ACCEPTFILTER', '#include <sys/socket.h>'):
         subst['@acceptfilter@'] = 1



Mime
View raw message