From bb654703036e9c948296d147eafb8191ec64b923 Mon Sep 17 00:00:00 2001 From: Nathanael Nerode Date: Thu, 11 Jul 2002 19:54:04 +0000 Subject: [PATCH] * configure.in: Remove two redundant tests. From-SVN: r55402 --- ChangeLog | 4 ++++ configure.in | 9 ++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 477b1dd9446..b0d77d480c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-07-11 Nathanael Nerode + + * configure.in: Remove two redundant tests. + 2002-07-11 Rainer Orth * configure.in (mips*-*-irix6*o32): Enable stabs. diff --git a/configure.in b/configure.in index adde9145a78..ed4f7a78a12 100644 --- a/configure.in +++ b/configure.in @@ -1419,10 +1419,7 @@ else fi FLAGS_FOR_TARGET= -case " $skipdirs " in -*" target-newlib "*) ;; -*) - case " $target_configdirs " in +case " $target_configdirs " in *" newlib "*) case " $targargs " in *" --with-newlib "*) @@ -1470,8 +1467,6 @@ case " $skipdirs " in ;; esac ;; - esac - ;; esac # On Canadian crosses, we'll be searching the right directories for @@ -1483,7 +1478,7 @@ if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include' fi -if test "x${use_gnu_ld}" = x && test "x${with_gnu_ld}" != xno && +if test "x${use_gnu_ld}" = x && echo " ${configdirs} " | grep " ld " > /dev/null ; then # Arrange for us to find uninstalled linker scripts. FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/ld'