summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_configure
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-16 00:41:34 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-16 01:32:05 +0000
commit7af56875040c0d170d3313bb0e0c126d3f19aed8 (patch)
treed096335eab6e90c90146877ad77997490d509779 /source4/heimdal_build/wscript_configure
parent06fc79f1fde5963ef89027e2cd297e866aa8c204 (diff)
downloadsamba-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_configure7
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)