aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-04-02 16:57:17 +0000
committerIan Lance Taylor <ian@airs.com>1993-04-02 16:57:17 +0000
commited364bb694bc69d0e9789d08fa74ce6df865f6eb (patch)
treeaa18478088ddd41d2039bad0ac34dae6a68c977a /gas/configure.in
parente9aff87e192419f31758b95c2ee9b5d6e2ad4f4e (diff)
downloadgdb-ed364bb694bc69d0e9789d08fa74ce6df865f6eb.zip
gdb-ed364bb694bc69d0e9789d08fa74ce6df865f6eb.tar.gz
gdb-ed364bb694bc69d0e9789d08fa74ce6df865f6eb.tar.bz2
* config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
* configure.in (mips-sgi-irix*): Set gas_host to irix.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 3ce9d81..9fbf0f8 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -50,6 +50,9 @@ case "${host}" in
mips-*-bsd*)
gas_host=mipsbsd
;;
+ mips-sgi-irix*)
+ gas_host=irix
+ ;;
i[34]86-ibm-aix*)
gas_host=i386aix
;;
@@ -258,7 +261,11 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta
case ${bfd_gas} in
yes)
- echo BFDDEF=-DBFD_ASSEMBLER >> Makefile
+ rm -f Makefile.tem
+ mv Makefile Makefile.tem
+ echo BFDDEF=-DBFD_ASSEMBLER > Makefile
+ cat Makefile.tem >> Makefile
+ rm -f Makefile.tem
need_bfd=yes
;;
*)
@@ -267,7 +274,11 @@ esac
case ${need_bfd} in
yes)
- echo BFDLIB=../bfd/libbfd.a >> Makefile
+ rm -f Makefile.tem
+ mv Makefile Makefile.tem
+ echo BFDLIB=../bfd/libbfd.a > Makefile
+ cat Makefile.tem >> Makefile
+ rm -f Makefile.tem
;;
*)
;;