summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-23 19:22:57 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:37 +1000
commit2998ea91ec0ac30545d3e7027b638d167ca32ea6 (patch)
tree0908094d90ad08c83b6a2f7f6a6cee0d0f837551 /lib/replace
parent15d523bb000fcf3b558dc3ecc28ebca0f4e86579 (diff)
downloadsamba-2998ea91ec0ac30545d3e7027b638d167ca32ea6.tar.gz
samba-2998ea91ec0ac30545d3e7027b638d167ca32ea6.tar.bz2
samba-2998ea91ec0ac30545d3e7027b638d167ca32ea6.zip
build: added gettext/libintl to libreplace
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 83f50b03a8..ee7965f12d 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -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>