diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-16 00:41:34 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-16 01:32:05 +0000 |
commit | 7af56875040c0d170d3313bb0e0c126d3f19aed8 (patch) | |
tree | d096335eab6e90c90146877ad77997490d509779 /source4/heimdal_build/wscript_configure | |
parent | 06fc79f1fde5963ef89027e2cd297e866aa8c204 (diff) | |
download | samba-7af56875040c0d170d3313bb0e0c126d3f19aed8.tar.gz samba-7af56875040c0d170d3313bb0e0c126d3f19aed8.tar.bz2 samba-7af56875040c0d170d3313bb0e0c126d3f19aed8.zip |
heimdal_build: Use existing functions for finding system libraries.
Diffstat (limited to 'source4/heimdal_build/wscript_configure')
-rw-r--r-- | source4/heimdal_build/wscript_configure | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure index e0c435dc5e..727344c3b4 100644 --- a/source4/heimdal_build/wscript_configure +++ b/source4/heimdal_build/wscript_configure @@ -72,12 +72,7 @@ def check_bundled_heimdal_lib(name, functions, headers): lib = name setattr(conf.env, "CPPPATH_%s" % name.upper(), ["/usr/include/heimdal"]) setattr(conf.env, "LIBPATH_%s" % name.upper(), ["/usr/lib/heimdal"]) - if not conf.CHECK_HEADERS(headers, lib=lib): - Logs.error('ERROR: Unable to find missing header %s' % headers) - sys.exit(1) - if not conf.CHECK_LIB([lib], mandatory=True, set_target=True): - Logs.error('ERROR: Unable to find missing library %s' % lib) - sys.exit(1) + conf.CHECK_BUNDLED_SYSTEM("wind", checkfunctions=functions, headers=headers) conf.define('USING_SYSTEM_%s' % name.upper(), 1) |