diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-10-13 03:32:18 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-10-13 03:32:18 +0000 |
commit | 6811fb560a24f73e45cd6312e092ac1b63914f69 (patch) | |
tree | 1614b615210988c35586abaddcae9439664de92f | |
parent | f8076f98aa05ef1882adf4c9efb77a4a7a539e25 (diff) | |
download | gdb-6811fb560a24f73e45cd6312e092ac1b63914f69.zip gdb-6811fb560a24f73e45cd6312e092ac1b63914f69.tar.gz gdb-6811fb560a24f73e45cd6312e092ac1b63914f69.tar.bz2 |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | configure.ac | 5 |
3 files changed, 14 insertions, 2 deletions
@@ -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> * Makefile.def: check-gold depends upon all-gas. @@ -6593,7 +6593,10 @@ if test -d ${srcdir}/gcc; then # If LTO is enabled, add the LTO front end. extra_host_libiberty_configure_flags= 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 configdirs="$configdirs lto-plugin" extra_host_libiberty_configure_flags=--enable-shared diff --git a/configure.ac b/configure.ac index c961fe8..407ab59 100644 --- a/configure.ac +++ b/configure.ac @@ -1811,7 +1811,10 @@ if test -d ${srcdir}/gcc; then # If LTO is enabled, add the LTO front end. extra_host_libiberty_configure_flags= 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 configdirs="$configdirs lto-plugin" extra_host_libiberty_configure_flags=--enable-shared |