mirror of
https://github.com/samba-team/samba.git
synced 2025-03-25 14:50:24 +03:00
s4-waf: get the sense of the tests for the HAVE_INET_* replacements right
This commit is contained in:
parent
5d84194644
commit
7132248164
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user