talloc: Only check for pkg-config file when checking for system talloc.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 12 Nov 2011 15:36:07 +0000 (16:36 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 13 Nov 2011 17:06:06 +0000 (18:06 +0100)
lib/talloc/wscript

index 12dcf26d2c8e2c534b94df0ea80410a3146c52a5..72e954ad6505aacdded7bc2cf8e368b45edf3e2e 100644 (file)
@@ -44,10 +44,10 @@ def configure(conf):
     conf.env.disable_python = getattr(Options.options, 'disable_python', False)
 
     if not conf.env.standalone_talloc:
-        if conf.CHECK_BUNDLED_SYSTEM('talloc', minversion=VERSION,
+        if conf.CHECK_BUNDLED_SYSTEM_PKG('talloc', minversion=VERSION,
                                      implied_deps='replace'):
             conf.define('USING_SYSTEM_TALLOC', 1)
-        if conf.CHECK_BUNDLED_SYSTEM('pytalloc-util', minversion=VERSION,
+        if conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
                                      implied_deps='talloc replace'):
             conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1)