configure.py
changeset 704 6055e296b807
child 821 b589eb17e403
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/configure.py	Fri May 14 00:34:36 2010 -0500
     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])