build: added gettext/libintl to libreplace
authorAndrew Tridgell <tridge@samba.org>
Tue, 23 Feb 2010 08:22:57 +0000 (19:22 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:37 +0000 (20:26 +1000)
lib/replace/wscript

index 83f50b03a80df2c8e1fd49107b35d72053265858..ee7965f12d24aacc8c8d9b0e1c0c888f6cb65cc9 100644 (file)
@@ -60,7 +60,7 @@ def configure(conf):
     conf.CHECK_HEADERS('netinet/ip.h netinet/tcp.h netinet/in_ip.h sys/sockio.h sys/un.h')
     conf.CHECK_HEADERS('sys/uio.h ifaddrs.h direct.h dirent.h')
     conf.CHECK_HEADERS('windows.h winsock2.h ws2tcpip.h')
-    conf.CHECK_HEADERS('resolv.h')
+    conf.CHECK_HEADERS('resolv.h libintl.h')
 
     if 'HAVE_STDDEF_H' in conf.env and 'HAVE_STDLIB_H' in conf.env:
         conf.DEFUN('STDC_HEADERS', 1)
@@ -108,6 +108,7 @@ def configure(conf):
     conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl')
     conf.CHECK_FUNCS_IN('poptGetContext', 'popt')
     conf.CHECK_FUNCS_IN('res_search', 'resolv')
+    conf.CHECK_FUNCS_IN('gettext', 'intl')
 
     conf.check_cc(fragment='''
     #include <stdarg.h>