From b898d40a81167113b7c235b9458636b29f90fd86 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 May 2012 16:30:32 -0500 Subject: More configuration fixes --- acprep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'acprep') diff --git a/acprep b/acprep index b4e0b979..ea3583c4 100755 --- a/acprep +++ b/acprep @@ -539,6 +539,9 @@ class PrepareBuild(CommandLineApp): op.add_option('', '--cpp11', action='store_true', dest='use_cpp11', default=False, help='Use C++11 extensions (requires Clang or gcc 4.6/7/8)') + op.add_option('', '--plain', action='store_true', + dest='use_plain', default=False, + help="Don't customize for my private environment") op.add_option('', '--output', metavar='DIR', action="callback", callback=self.option_output, help='Build in the specified directory') @@ -1080,7 +1083,8 @@ class PrepareBuild(CommandLineApp): if self.options.no_python: self.configure_args.remove('--enable-python') - if exists('/Users/johnw/Projects/ledger/plan/TODO'): + if not self.options.use_plain and \ + exists('/Users/johnw/Projects/ledger/plan/TODO'): self.setup_for_johnw() self.setup_system_directories() -- cgit v1.2.3