Fix toplevel 'config.status --recheck' for --enable-lto.

/:
	* configure.ac: Add 'lto' to enable_languages, not
	new_enable_languages, and only if not already present.
	* configure: Regenerate.
This commit is contained in:
Ralf Wildenhues 2009-10-13 03:32:18 +00:00
parent b8a35083c6
commit 6c41e710c9
3 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Add 'lto' to enable_languages, not
new_enable_languages, and only if not already present.
* configure: Regenerate.
2009-10-06 Ian Lance Taylor <iant@google.com> 2009-10-06 Ian Lance Taylor <iant@google.com>
* Makefile.def: check-gold depends upon all-gas. * Makefile.def: check-gold depends upon all-gas.

5
configure vendored
View File

@ -6593,7 +6593,10 @@ if test -d ${srcdir}/gcc; then
# If LTO is enabled, add the LTO front end. # If LTO is enabled, add the LTO front end.
extra_host_libiberty_configure_flags= extra_host_libiberty_configure_flags=
if test "$enable_lto" = "yes" ; then if test "$enable_lto" = "yes" ; then
new_enable_languages="${new_enable_languages}lto," case ,${enable_languages}, in
*,lto,*) ;;
*) enable_languages="${enable_languages},lto" ;;
esac
if test "${ENABLE_GOLD}" = "yes" ; then if test "${ENABLE_GOLD}" = "yes" ; then
configdirs="$configdirs lto-plugin" configdirs="$configdirs lto-plugin"
extra_host_libiberty_configure_flags=--enable-shared extra_host_libiberty_configure_flags=--enable-shared

View File

@ -1811,7 +1811,10 @@ if test -d ${srcdir}/gcc; then
# If LTO is enabled, add the LTO front end. # If LTO is enabled, add the LTO front end.
extra_host_libiberty_configure_flags= extra_host_libiberty_configure_flags=
if test "$enable_lto" = "yes" ; then if test "$enable_lto" = "yes" ; then
new_enable_languages="${new_enable_languages}lto," case ,${enable_languages}, in
*,lto,*) ;;
*) enable_languages="${enable_languages},lto" ;;
esac
if test "${ENABLE_GOLD}" = "yes" ; then if test "${ENABLE_GOLD}" = "yes" ; then
configdirs="$configdirs lto-plugin" configdirs="$configdirs lto-plugin"
extra_host_libiberty_configure_flags=--enable-shared extra_host_libiberty_configure_flags=--enable-shared