Added missing configure script.
This commit is contained in:
parent
debfaebda8
commit
6e264b6eea
10
configure.py
Normal file
10
configure.py
Normal file
@ -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])
|
@ -51,6 +51,8 @@ if ($reconf) {
|
||||
print "$result\n";
|
||||
if ($? == -1) {
|
||||
die('Could not configure!');
|
||||
} elsif ($? >> 8 != 0) {
|
||||
die('Could not configure!');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user