diff options
author | David Robillard <d@drobilla.net> | 2011-01-10 04:15:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-10 04:15:29 +0000 |
commit | ce460962700be73fc538165d8dccd91f59c9e209 (patch) | |
tree | da5f647b231e67502076e84e30fb8320b1a59c5b /autowaf.py | |
parent | b528a65256dce069a3320e97a17d545181862d32 (diff) | |
download | autowaf-ce460962700be73fc538165d8dccd91f59c9e209.tar.gz autowaf-ce460962700be73fc538165d8dccd91f59c9e209.tar.bz2 autowaf-ce460962700be73fc538165d8dccd91f59c9e209.zip |
Don't cumulatively add all checked headers to every subsequent test.
git-svn-id: http://svn.drobilla.net/autowaf@20 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa
Diffstat (limited to 'autowaf.py')
-rw-r--r-- | autowaf.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,9 +82,9 @@ def check_header(conf, name, define='', mandatory=False): if sys.platform == "darwin": includes = '/opt/local/include' if define != '': - conf.check_cxx(header_name=name, includes=includes, define_name=define, mandatory=mandatory, auto_add_header_name=True) + conf.check_cxx(header_name=name, includes=includes, define_name=define, mandatory=mandatory) else: - conf.check_cxx(header_name=name, includes=includes, mandatory=mandatory, auto_add_header_name=True) + conf.check_cxx(header_name=name, includes=includes, mandatory=mandatory) def nameify(name): return name.replace('/', '_').replace('++', 'PP').replace('-', '_').replace('.', '_') |