configure.py
changeset 59 41feee1fac07
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/configure.py	Sat Apr 16 00:41:25 2011 -0700
     1.3 @@ -0,0 +1,10 @@
     1.4 +# vim: set ts=2 sw=2 tw=99 noet:
     1.5 +import sys
     1.6 +import ambuild.runner as runner
     1.7 +
     1.8 +run = runner.Runner()
     1.9 +run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug',
    1.10 +                       help='Enable debugging symbols')
    1.11 +run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt',
    1.12 +                       help='Enable optimization')
    1.13 +run.Configure(sys.path[0])