s4-waf: add getaddrinfo.c replacement if needed
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Mar 2010 05:40:34 +0000 (16:40 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:18 +0000 (20:27 +1000)
lib/replace/wscript

index 7c060a92e647a7349ee9ca131f71ea6194fcdf98..bdfea8712f80202c0a87827ed19cdde66e46b127 100644 (file)
@@ -314,6 +314,7 @@ def build(bld):
     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')
+    if not bld.CONFIG_SET('HAVE_GETADDRINFO'):NET_SOURCES.append('getaddrinfo.c')
 
     bld.SAMBA_SUBSYSTEM('LIBREPLACE_NETWORK', NET_SOURCES, deps='replace')