From f86e35b82d53c9aaa17f4a9e054920b6b25e771d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Jan 2007 14:09:57 +0000 Subject: * Makefile.tpl (all-target): Correct @if conditional for target modules. * configure.in: Omit libiberty if building only target libgcc. * configure, Makefile.in: Regenerated. --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e4589cb..fc40507 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 -- cgit v1.1