Bootstrap failure detection.

This commit is contained in:
David Anderson 2009-08-29 19:46:15 -07:00
parent 8a633363a2
commit debfaebda8

View File

@ -44,11 +44,14 @@ if ($reconf) {
my ($result); my ($result);
print "Attempting to reconfigure...\n"; print "Attempting to reconfigure...\n";
if ($^O eq "linux") { if ($^O eq "linux") {
$result = system('python3.1 ../configure.py --enable-optimize'); $result = `python3.1 ../configure.py --enable-optimize`;
} else { } else {
$result = system('C:\\Python31\\Python.exe ..\\configure.py --enable-optimize') $result = `C:\\Python31\\Python.exe ..\\configure.py --enable-optimize`;
} }
print "$result\n"; print "$result\n";
if ($? == -1) {
die('Could not configure!');
}
} }
open(FILE, '>OUTPUT/sentinel'); open(FILE, '>OUTPUT/sentinel');