You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by pq...@apache.org on 2009/03/24 01:13:55 UTC
svn commit: r757612 - /apr/apr/trunk/build/aprenv.py
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