diff options
author | Nick Clifton <nickc@redhat.com> | 2007-01-09 17:09:57 +0300 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-01-09 17:09:57 +0300 |
commit | a1c408a120c98c87f4d87d7105f9e0e4a709ac3a (patch) | |
tree | 0a4bd9d9b4dfb2032bd594cba9d36f52a6d3f201 /configure.in | |
parent | ca9029913a90b5c5fb8b05a292685f5b6dde50bc (diff) |
* Makefile.tpl (all-target): Correct @if conditional for target modules.
* configure.in: Omit libiberty if building only target libgcc.
* configure, Makefile.in: Regenerated.
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 e4589cb52..fc40507b6 100644 --- a/configure.in +++ b/configure.in @@ -1448,10 +1448,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; @@ -1459,7 +1463,7 @@ if test -n "${target_configdirs}" ; then fi done if test -z "${others}" ; then - target_configdirs= + target_configdirs=$libgcc fi fi |