diff options
author | David Robillard <d@drobilla.net> | 2009-02-25 18:59:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-25 18:59:45 +0000 |
commit | b8b6042e35fc10626cd5bd10d5b1c22d7acef76b (patch) | |
tree | ad4c147ad4cc1c8d44763a681efdb926974a3ca9 /autowaf.py | |
parent | 24f5ad743ead86ec2ffd30a256861eee47e7d5d9 (diff) |
Add top level wscript.
git-svn-id: svn://localhost/ardour2/branches/3.0@4657 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'autowaf.py')
-rw-r--r-- | autowaf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autowaf.py b/autowaf.py index 3439db9d78..c821ee8cc2 100644 --- a/autowaf.py +++ b/autowaf.py @@ -91,7 +91,7 @@ def check_tool(conf, name): def check_pkg(conf, name, **args): "Check for a package iff it hasn't been checked for yet" - var_name = 'HAVE_' + args['uselib_store'].replace('/', '_') + var_name = 'HAVE_' + args['uselib_store'].replace('/', '_').replace('++', 'PP') check = not var_name in conf.env if not check and 'atleast_version' in args: # Re-check if version is newer than previous check @@ -198,7 +198,7 @@ def configure(conf): g_step = 2 def set_local_lib(conf, name, has_objects): - conf.define('HAVE_' + name.upper().replace('/', '_'), 1) + conf.define('HAVE_' + name.upper().replace('/', '_').replace('++', 'PP'), 1) if has_objects: if type(conf.env['AUTOWAF_LOCAL_LIBS']) != dict: conf.env['AUTOWAF_LOCAL_LIBS'] = {} |