summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 13:48:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:41 +1000
commit73db96b5fa052ca165e3d034329f62b235643eff (patch)
tree9c2f8f14daf29f509427ff0bd3fb3895a917b0b8 /lib/replace
parente01a71942cdc5cc02008838136dc0f0e52cbb401 (diff)
downloadsamba-73db96b5fa052ca165e3d034329f62b235643eff.tar.gz
samba-73db96b5fa052ca165e3d034329f62b235643eff.tar.bz2
samba-73db96b5fa052ca165e3d034329f62b235643eff.zip
build: more headers and variables in configure
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 482873b2cc..405e80136b 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -71,7 +71,10 @@ 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 libintl.h')
+ conf.CHECK_HEADERS('resolv.h libintl.h errno.h')
+ conf.CHECK_HEADERS('execinfo.h gcrypt.h getopt.h iconv.h')
+ conf.CHECK_HEADERS('sys/inotify.h memory.h nss.h popt.h sasl/sasl.h')
+ conf.CHECK_HEADERS('security/pam_appl.h sys/inotify.h zlib.h asm/unistd.h')
if 'HAVE_STDDEF_H' in conf.env and 'HAVE_STDLIB_H' in conf.env:
conf.DEFINE('STDC_HEADERS', 1)
@@ -122,6 +125,8 @@ def configure(conf):
conf.CHECK_FUNCS_IN('res_search', 'resolv')
conf.CHECK_FUNCS_IN('gettext', 'intl')
+ conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True)
+
conf.check_cc(fragment='''
#include <stdarg.h>
va_list ap1,ap2;