diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-20 16:49:02 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:56 +1000 |
commit | 81d155af96104ce6b84d0e51f0fd052329551dc3 (patch) | |
tree | 01f29ba5bef423d2a9bb68f76995f4a37ea595dd /source4 | |
parent | 8005100b2e06bab32db6aeb0572eac9faac2ab7b (diff) | |
download | samba-81d155af96104ce6b84d0e51f0fd052329551dc3.tar.gz samba-81d155af96104ce6b84d0e51f0fd052329551dc3.tar.bz2 samba-81d155af96104ce6b84d0e51f0fd052329551dc3.zip |
build: check libc first for several libraries
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/wscript_configure | 2 | ||||
-rw-r--r-- | source4/heimdal_build/wscript_configure | 6 |
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) |