From 2998ea91ec0ac30545d3e7027b638d167ca32ea6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Feb 2010 19:22:57 +1100 Subject: build: added gettext/libintl to libreplace --- lib/replace/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit