diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-14 15:00:12 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-15 21:50:46 -0700 |
commit | 3fa6f4b4c400c7354e05ac7bae128d4d9ee30e5c (patch) | |
tree | c6b3f39e51aeaf6ff04061bb264211086e7e3fcc /configure | |
parent | 60d9e17f3719eca2eb4531f9f01976b1e26c411b (diff) | |
download | tmwa-3fa6f4b4c400c7354e05ac7bae128d4d9ee30e5c.tar.gz tmwa-3fa6f4b4c400c7354e05ac7bae128d4d9ee30e5c.tar.bz2 tmwa-3fa6f4b4c400c7354e05ac7bae128d4d9ee30e5c.tar.xz tmwa-3fa6f4b4c400c7354e05ac7bae128d4d9ee30e5c.zip |
Add infrastructure for debug pretty printers
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -55,6 +55,14 @@ class Configuration(Cxx, Flex, Bison, Install, ConfigHash, Templates): self.add_alias('--dev', ['--user', '--enable-warnings', '--enable-abi6'], help=None, hidden=False) + def paths(self): + super(Configuration, self).paths() + + self.add_option('--debugdir', init='/', + type=filepath, check=lambda build, DIR: None, + help='root for split debug files (often /usr/lib/debug)', hidden=False, + help_var='DIR') + def features(self): super(Configuration, self).features() # TODO: check VERSION_CONTROL environment variable? @@ -75,6 +83,9 @@ class Configuration(Cxx, Flex, Bison, Install, ConfigHash, Templates): self.add_bool_feature('compat-symlinks', init='yes', check=lambda build, ENABLE_COMPAT_SYMLINKS: None, help='Install symlinks to avoid breaking old scripts') + self.add_bool_feature('debug', init='yes', + check=lambda build, ENABLE_DEBUG: None, + help='Install extra files useful for debugging') def vars(self): super(Configuration, self).vars() |