diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-17 16:50:40 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-17 23:35:14 -0700 |
commit | 25070b355b8a0394c1fbd9cf82c44752b5a8b8c3 (patch) | |
tree | 5e8edf1e5e3f58a8b11b1fcdd2fa851b2322df35 /configure | |
parent | 3b0b6deecf156916a9fb68dda9ca4b8a47d65aab (diff) | |
download | tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.gz tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.bz2 tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.xz tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.zip |
Add dir annoyances
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -48,8 +48,8 @@ class Configuration(Cxx, Install, ConfigHash, Templates): def general(self): super(Configuration, self).general() home = os.path.expanduser('~') - self.add_alias('--user', ['--prefix=%s' % home], - help='alias for --prefix=$HOME', hidden=False) + self.add_alias('--user', ['--prefix=%s' % home, '--enable-rpath=relative'], + help='alias for --prefix=$HOME --enable-rpath=relative', hidden=False) self.add_alias('--dev', ['--user', '--enable-warnings', '--enable-abi6'], help=None, hidden=False) @@ -78,12 +78,15 @@ class Configuration(Cxx, Install, ConfigHash, Templates): self.add_bool_feature('cygwin-hacks', init='no', check=lambda build, ENABLE_CYGWIN_HACKS: None, help='Work around bugs in certain cygwin versions') - self.add_bool_feature('compat-symlinks', init='yes', + self.add_bool_feature('compat-symlinks', init='no', 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') + self.add_option('--enable-rpath', init='none', + type=enum('none', 'relative', 'absolute'), check=lambda build, ENABLE_RPATH: None, + help='Use rpaths to find libraries', hidden=False) def vars(self): super(Configuration, self).vars() |