diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-07 14:28:33 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:42 +1000 |
commit | 8112b4007dd27a003648e425e666fbdc384b5abc (patch) | |
tree | 77f28eade5987e4ea8df3a65f748eaa2fb9788bd | |
parent | bf17c9a56eb148a9a1cc9f8eb79b3461eba1e4e1 (diff) | |
download | samba-8112b4007dd27a003648e425e666fbdc384b5abc.tar.gz samba-8112b4007dd27a003648e425e666fbdc384b5abc.tar.bz2 samba-8112b4007dd27a003648e425e666fbdc384b5abc.zip |
build: backtrace and crypt tests
-rw-r--r-- | lib/replace/wscript | 4 | ||||
-rw-r--r-- | lib/util/wscript_configure | 3 |
2 files changed, 4 insertions, 3 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=''' diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure index c5744c5520..e7cb05e8c0 100644 --- a/lib/util/wscript_configure +++ b/lib/util/wscript_configure @@ -2,5 +2,4 @@ conf.CHECK_HEADERS('execinfo.h') # backtrace could be in libexecinfo or in libc -conf.CHECK_FUNCS_IN('backtrace', 'execinfo') -conf.CHECK_FUNCS('backtrace') +conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True) |