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

index 0d1653d5bcd60f9e8c002198d51fcf718393fa27..63b27e542ee3587d68cbf8d3f8ef524db5f43861 100644 (file)
@@ -35,7 +35,7 @@ def configure(conf):
     conf.env.standalone_tevent = conf.IN_LAUNCH_DIR()
 
     if not conf.env.standalone_tevent:
-        if conf.CHECK_BUNDLED_SYSTEM('tevent', minversion=VERSION,
+        if conf.CHECK_BUNDLED_SYSTEM_PKG('tevent', minversion=VERSION,
                                      onlyif='talloc', implied_deps='replace talloc'):
             conf.define('USING_SYSTEM_TEVENT', 1)
             if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):