aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-04-01 18:34:14 +0000
committerIan Lance Taylor <ian@airs.com>1993-04-01 18:34:14 +0000
commit3dcd81b9263f13f3537d18c570ec53977ea4b08a (patch)
tree4f6e2fe1c40572dfc985ca7aaf744a9027f83263 /configure.in
parenta6cead71cd9539e468b3114142319e6a4f6c4a22 (diff)
downloadgdb-3dcd81b9263f13f3537d18c570ec53977ea4b08a.zip
gdb-3dcd81b9263f13f3537d18c570ec53977ea4b08a.tar.gz
gdb-3dcd81b9263f13f3537d18c570ec53977ea4b08a.tar.bz2
* configure.in: Build gas for mips-*-*. If configuring gas and/or
ld, and the source directories exist, assume -with-gnu-as and/or -with-gnu-ld.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 92ffae3..e74dd27 100644
--- a/configure.in
+++ b/configure.in
@@ -166,13 +166,6 @@ case "${host}" in
esac
case "${target}" in
- mips-dec-bsd*)
-# We do want to build gas in this case. So don't use the mips-*-* case
-# for this target.
- ;;
- mips-*-*)
- configdirs=`echo ${configdirs} | sed -e 's/gas//'`
- ;;
rs6000-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
@@ -199,6 +192,15 @@ case "${target}" in
;;
esac
+# Set with_gnu_as and with_gnu_ld as appropriate.
+if [ x${with_gnu_as} != xyes ] && echo ${configdirs} | grep gas > /dev/null && [ -d ${srcdir}/gas ]; then
+ with_gnu_as=yes
+ withoptions="$withoptions -with-gnu-as"
+fi
+if [ x${with_gnu_ld} != xyes ] && echo ${configdirs} | grep ld > /dev/null && [ -d ${srcdir}/ld ]; then
+ with_gnu_ld=yes
+ withoptions="$withoptions -with-gnu-ld"
+fi
target_makefile_frag=config/mt-${bfd_target}
@@ -207,4 +209,3 @@ target_makefile_frag=config/mt-${bfd_target}
# fill-column: 131
# End:
#
-