diff options
author | DJ Delorie <dj@redhat.com> | 2002-07-11 20:14:41 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-07-11 20:14:41 +0000 |
commit | 3191dc1731bef32c3467a2b8cfb9dd62c443a497 (patch) | |
tree | 40346ea9022a623054b250b291839949bc489747 /configure.in | |
parent | 8289ddfef60aaf9427eecb571875e35c9353ac55 (diff) | |
download | newlib-3191dc1731bef32c3467a2b8cfb9dd62c443a497.zip newlib-3191dc1731bef32c3467a2b8cfb9dd62c443a497.tar.gz newlib-3191dc1731bef32c3467a2b8cfb9dd62c443a497.tar.bz2 |
* configure.in: Remove two redundant tests.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/configure.in b/configure.in index adde914..ed4f7a7 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' |