Make configure fail if create-makefiles or compiler/configure fails.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 30 Apr 2011 15:36:28 +0000 (15:36 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 30 Apr 2011 15:36:28 +0000 (15:36 +0000)
src/configure.ac

index 1509b9aa3934c058f5791d92219a13c7b6fce346..e5191965443870b0bf23e715535958557079bde3 100644 (file)
@@ -109,8 +109,9 @@ AC_PROG_INSTALL
 AC_PROG_LN_S
 
 echo etc/create-makefiles.sh "${MIT_SCHEME_EXE}" "${mit_scheme_native_code}"
-etc/create-makefiles.sh "${MIT_SCHEME_EXE}" "${mit_scheme_native_code}"
-compiler/configure "${mit_scheme_native_code}"
+etc/create-makefiles.sh "${MIT_SCHEME_EXE}" "${mit_scheme_native_code}" \
+  || exit $?
+compiler/configure "${mit_scheme_native_code}" || exit $?
 
 AC_CONFIG_SUBDIRS([microcode])