diff options
Diffstat (limited to 'lib')
-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) |