diff --git a/configure.py b/configure.py new file mode 100644 index 00000000..f0f2aa07 --- /dev/null +++ b/configure.py @@ -0,0 +1,10 @@ +# vim: set ts=2 sw=2 tw=99 noet: +import sys +import ambuild.runner as runner + +run = runner.Runner() +run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug', + help='Enable debugging symbols') +run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt', + help='Enable optimization') +run.Configure(sys.path[0])