diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:39:05 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:39:05 -0400 |
commit | 3c30f74931bbe94484da82481eb9d3b788347907 (patch) | |
tree | 997cd00167f58eb443cd047c7f886f726fe6411f | |
parent | 027c255a4fa8dd8ab9cf433e6f9491ce7e5658aa (diff) | |
download | fork-ledger-3c30f74931bbe94484da82481eb9d3b788347907.tar.gz fork-ledger-3c30f74931bbe94484da82481eb9d3b788347907.tar.bz2 fork-ledger-3c30f74931bbe94484da82481eb9d3b788347907.zip |
Look for Boost in custom places for standard build
-rwxr-xr-x | acprep | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -926,7 +926,22 @@ class PrepareBuild(CommandLineApp): ######################################################################### def setup_flavor_default(self): - pass + if exists('/usr/local/lib/libboost_regex-xgcc44-s-1_40.a'): + self.envvars['BOOST_HOME'] = '/usr/local' + self.envvars['BOOST_SUFFIX'] = '-xgcc44-s-1_40' + self.log.debug('Setting BOOST_SUFFIX => %s' % + self.envvars['BOOST_SUFFIX']) + + self.sys_include_dirs.append('/usr/local/include/boost-1_40') + + elif exists('/opt/local/lib/libboost_regex.a'): + self.envvars['BOOST_HOME'] = '/opt/local' + self.envvars['BOOST_SUFFIX'] = '' + + self.log.debug('Setting BOOST_SUFFIX => %s' % + self.envvars['BOOST_SUFFIX']) + + self.sys_include_dirs.append('/opt/local/include/boost') def setup_flavor_debug(self): self.configure_args.append('--enable-debug') |