diff options
author | Daniel Jacobowitz <dan@codesourcery.com> | 2007-01-05 19:29:29 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@gcc.gnu.org> | 2007-01-05 19:29:29 +0000 |
commit | 54fdc4745216cc4575b48f2db9d4b17741286648 (patch) | |
tree | 724d051a34214e4639ce4814ee0d33d1a05e31a1 /configure.in | |
parent | b3c6d2ea006d4c688964c044a081ddea7884148a (diff) | |
download | gcc-54fdc4745216cc4575b48f2db9d4b17741286648.zip gcc-54fdc4745216cc4575b48f2db9d4b17741286648.tar.gz gcc-54fdc4745216cc4575b48f2db9d4b17741286648.tar.bz2 |
Makefile.tpl (all-target): Correct @if conditional for target modules.
* Makefile.tpl (all-target): Correct @if conditional for target
modules.
* configure.in: Omit libiberty if building only target libgcc.
* configure, Makefile.in: Regenerated.
From-SVN: r120494
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in index a808467..4da1a18 100644 --- a/configure.in +++ b/configure.in @@ -1439,10 +1439,14 @@ done # Sometimes the tools are distributed with libiberty but with no other # libraries. In that case, we don't want to build target-libiberty. +# Don't let libgcc imply libiberty either. if test -n "${target_configdirs}" ; then + libgcc= others= for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do - if test "$i" != "libiberty" ; then + if test "$i" = "libgcc"; then + libgcc=target-libgcc + elif test "$i" != "libiberty" ; then if test -r $srcdir/$i/configure ; then others=yes; break; @@ -1450,7 +1454,7 @@ if test -n "${target_configdirs}" ; then fi done if test -z "${others}" ; then - target_configdirs= + target_configdirs=$libgcc fi fi |