Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted

This commit is contained in:
Mike Hommey 2012-06-20 09:45:45 +02:00
parent 4a42c68f66
commit 52dc0077b1
7 changed files with 10 additions and 12 deletions

View File

@ -117,7 +117,6 @@ if [ "$ENABLE_MARIONETTE" ]; then
add_makefiles "
testing/marionette/Makefile
testing/marionette/components/Makefile
testing/marionette/tests/Makefile
"
fi

View File

@ -139,7 +139,7 @@ foreach $ac_file (@makefiles) {
}
open (INFILE, "<$ac_file_in")
or ( warn "can't read $ac_file_in: No such file or directory\n" and next);
or ( die "can't read $ac_file_in: No such file or directory\n");
open (OUTFILE, ">$ac_file")
or ( warn "Unable to create $ac_file\n" and next);

View File

@ -8852,6 +8852,10 @@ dnl
dnl This does not change the $MAKEFILES variable.
dnl
echo $MAKEFILES | ${PERL} $srcdir/build/autoconf/acoutput-fast.pl > conftest.sh
res="$?"
if test "$res" != 0; then
exit $res
fi
. ./conftest.sh
rm conftest.sh

View File

@ -139,7 +139,7 @@ foreach $ac_file (@makefiles) {
}
open (INFILE, "<$ac_file_in")
or ( warn "can't read $ac_file_in: No such file or directory\n" and next);
or ( die "can't read $ac_file_in: No such file or directory\n");
open (OUTFILE, ">$ac_file")
or ( warn "Unable to create $ac_file\n" and next);

View File

@ -4664,6 +4664,10 @@ dnl
dnl This does not change the $MAKEFILES variable.
dnl
echo $MAKEFILES | ${PERL} $srcdir/build/autoconf/acoutput-fast.pl > conftest.sh
res="$?"
if test "$res" != 0; then
exit $res
fi
. ./conftest.sh
rm conftest.sh

View File

@ -576,7 +576,6 @@ elif [ "$MOZ_WIDGET_TOOLKIT" = "cocoa" ]; then
add_makefiles "
content/xbl/builtin/mac/Makefile
dom/plugins/ipc/interpose/Makefile
dom/system/cocoa/Makefile
image/decoders/icon/mac/Makefile
intl/locale/src/mac/Makefile
netwerk/system/mac/Makefile
@ -1127,7 +1126,6 @@ fi
if [ "$MOZ_B2G_RIL" ]; then
add_makefiles "
dom/system/b2g/Makefile
dom/telephony/Makefile
dom/wifi/Makefile
ipc/ril/Makefile

View File

@ -8,7 +8,6 @@ xulrunner/Makefile
xulrunner/app/Makefile
xulrunner/app/profile/Makefile
xulrunner/app/profile/chrome/Makefile
xulrunner/app/profile/extensions/Makefile
xulrunner/examples/Makefile
xulrunner/examples/simple/Makefile
xulrunner/examples/simple/components/Makefile
@ -25,12 +24,6 @@ if [ "$MAKENSISU" ]; then
"
fi
if [ "$OS_ARCH" = "Darwin" ]; then
add_makefiles "
xulrunner/installer/mac/Makefile
"
fi
if [ "$OS_ARCH" = "WINNT" ]; then
add_makefiles "
xulrunner/tools/redit/Makefile