summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 14:28:33 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:42 +1000
commit8112b4007dd27a003648e425e666fbdc384b5abc (patch)
tree77f28eade5987e4ea8df3a65f748eaa2fb9788bd /lib/replace/wscript
parentbf17c9a56eb148a9a1cc9f8eb79b3461eba1e4e1 (diff)
downloadsamba-8112b4007dd27a003648e425e666fbdc384b5abc.tar.gz
samba-8112b4007dd27a003648e425e666fbdc384b5abc.tar.bz2
samba-8112b4007dd27a003648e425e666fbdc384b5abc.zip
build: backtrace and crypt tests
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 368791cf5b..c0bbadf695 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -118,13 +118,15 @@ def configure(conf):
conf.CHECK_FUNCS('connect gethostbyname if_nametoindex socketpair')
conf.CHECK_FUNCS('inet_ntoa inet_aton inet_ntop inet_pton')
conf.CHECK_FUNCS('dirfd getdirentries getdents syslog')
- conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs crypt')
+ conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs')
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_FUNCS_IN('crypt', 'crypt', checklibc=True)
+
conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True)
conf.check_cc(fragment='''