1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

talloc: Only check for pkg-config file when checking for system talloc.

This commit is contained in:
Jelmer Vernooij 2011-11-12 16:36:07 +01:00
parent 2c388a40cc
commit 39ba9b93d7

View File

@ -44,10 +44,10 @@ def configure(conf):
conf.env.disable_python = getattr(Options.options, 'disable_python', False) conf.env.disable_python = getattr(Options.options, 'disable_python', False)
if not conf.env.standalone_talloc: 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'): implied_deps='replace'):
conf.define('USING_SYSTEM_TALLOC', 1) 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'): implied_deps='talloc replace'):
conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1) conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1)