diff --git a/ChangeLog b/ChangeLog index bc9fa6ab5..9f3934945 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 adde9145a..ed4f7a78a 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'