From f1c6f09f988c64c1f4f91c793d42ecebaf7513bf Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 30 Aug 2009 01:38:28 -0700 Subject: [PATCH] Added missing configure script. --- configure.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 configure.py 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])