From 54fdc4745216cc4575b48f2db9d4b17741286648 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 5 Jan 2007 19:29:29 +0000 Subject: 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 --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure.in') 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 -- cgit v1.1