Commit 2c811fd3 by Segher Boessenkool Committed by Segher Boessenkool

Do not silently continue if config.{build,host,gcc} fails

If config.{build,host,gcc} fails, configure currently silently
continues.  This then makes it much harder than necessary to notice
you made a stupid pasto in config.gcc (and where exactly).


	* configure.ac: If any of the config.* scripts fail, exit 1.
	* configure: Regenerate.

From-SVN: r250507
parent ea063871
2017-07-25 Segher Boessenkool <segher@kernel.crashing.org>
* configure.ac: If any of the config.* scripts fail, exit 1.
* configure: Regenerate.
2017-07-25 Richard Biener <rguenther@suse.de>
PR middle-end/81546
......
......@@ -11489,15 +11489,15 @@ fi
# --------------------------------------------------------
# Collect build-machine-specific information.
. ${srcdir}/config.build
. ${srcdir}/config.build || exit 1
# Collect host-machine-specific information.
. ${srcdir}/config.host
. ${srcdir}/config.host || exit 1
target_gtfiles=
# Collect target-machine-specific information.
. ${srcdir}/config.gcc
. ${srcdir}/config.gcc || exit 1
extra_objs="${host_extra_objs} ${extra_objs}"
extra_gcc_objs="${host_extra_gcc_objs} ${extra_gcc_objs}"
......
......@@ -1442,15 +1442,15 @@ fi
# --------------------------------------------------------
# Collect build-machine-specific information.
. ${srcdir}/config.build
. ${srcdir}/config.build || exit 1
# Collect host-machine-specific information.
. ${srcdir}/config.host
. ${srcdir}/config.host || exit 1
target_gtfiles=
# Collect target-machine-specific information.
. ${srcdir}/config.gcc
. ${srcdir}/config.gcc || exit 1
extra_objs="${host_extra_objs} ${extra_objs}"
extra_gcc_objs="${host_extra_gcc_objs} ${extra_gcc_objs}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment