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 | 7c1f909cd5369d517b431f176f33dc4aef79f4a7 (patch) | |
tree | 3a82536eec2096c4c790ce7d664371fdd545091b /configure.in | |
parent | d7cf5d30bdcb5ecdb426e5c89f1dbb1eb09aad13 (diff) | |
download | gdb-7c1f909cd5369d517b431f176f33dc4aef79f4a7.zip gdb-7c1f909cd5369d517b431f176f33dc4aef79f4a7.tar.gz gdb-7c1f909cd5369d517b431f176f33dc4aef79f4a7.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' |