summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
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='''