summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/wscript_configure2
-rw-r--r--source4/heimdal_build/wscript_configure6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/auth/wscript_configure b/source4/auth/wscript_configure
index 7a932697c6..c0ca7676c3 100644
--- a/source4/auth/wscript_configure
+++ b/source4/auth/wscript_configure
@@ -1,5 +1,5 @@
conf.CHECK_HEADERS('security/pam_appl.h')
-conf.CHECK_FUNCS_IN('pam_start', 'pam')
+conf.CHECK_FUNCS_IN('pam_start', 'pam', checklibc=True)
if (conf.CHECK_HEADERS('sasl/sasl.h') and
conf.CHECK_FUNCS_IN('sasl_client_init', 'sasl2')):
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index 3991808391..be38fabc7b 100644
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -34,11 +34,11 @@ conf.CHECK_DECLS('h_errno')
conf.CHECK_DECLS('_res')
conf.CHECK_HEADERS('arpa/nameser.h dns.h')
-conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy dns_search dn_expand', 'resolv')
+conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy dns_search dn_expand', 'resolv', checklibc=True)
conf.CHECK_VARIABLE('_res')
conf.CHECK_HEADERS('pty.h util.h libutil.h')
-conf.CHECK_FUNCS_IN('openpty', 'util')
-conf.CHECK_FUNCS_IN('gettext', 'intl')
+conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True)
+conf.CHECK_FUNCS_IN('gettext', 'intl', checklibc=True)
conf.DEFINE('HAVE_KRB5',1)