summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-28 23:02:16 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:14 +1000
commit71322481643878151553dee80fa2ab3de3f9e34f (patch)
tree8cde9a5061ca230da83a3e362784de38ce9c0a9d /lib/replace
parent5d84194644c25055bd2535e336995492f6b68228 (diff)
downloadsamba-71322481643878151553dee80fa2ab3de3f9e34f.tar.gz
samba-71322481643878151553dee80fa2ab3de3f9e34f.tar.bz2
samba-71322481643878151553dee80fa2ab3de3f9e34f.zip
s4-waf: get the sense of the tests for the HAVE_INET_* replacements right
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index afb0a01903..12ccd395a2 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -306,11 +306,11 @@ def build(bld):
install=False)
NET_SOURCES = []
- if bld.CONFIG_SET('HAVE_INET_NTOA'): NET_SOURCES.append('inet_ntoa.c')
- if bld.CONFIG_SET('HAVE_INET_ATON'): NET_SOURCES.append('inet_aton.c')
- if bld.CONFIG_SET('HAVE_INET_NTOP'): NET_SOURCES.append('inet_ntop.c')
- if bld.CONFIG_SET('HAVE_INET_PTON'): NET_SOURCES.append('inet_pton.c')
- if bld.CONFIG_SET('HAVE_SOCKETPAIR'): NET_SOURCES.append('socketpair.c')
+ if not bld.CONFIG_SET('HAVE_INET_NTOA'): NET_SOURCES.append('inet_ntoa.c')
+ if not bld.CONFIG_SET('HAVE_INET_ATON'): NET_SOURCES.append('inet_aton.c')
+ if not bld.CONFIG_SET('HAVE_INET_NTOP'): NET_SOURCES.append('inet_ntop.c')
+ if not bld.CONFIG_SET('HAVE_INET_PTON'): NET_SOURCES.append('inet_pton.c')
+ if not bld.CONFIG_SET('HAVE_SOCKETPAIR'): NET_SOURCES.append('socketpair.c')
bld.SAMBA_SUBSYSTEM('LIBREPLACE_NETWORK', NET_SOURCES, deps='replace')