]> Git Repo - binutils.git/blobdiff - gas/configure.in
Enable alpha-*-osf* configuration.
[binutils.git] / gas / configure.in
index fa722c3a9df8a0c7f5cd29ea4962095ac3292d35..e0ad71d6d5c06b94d34faa122259895d4e47e6eb 100644 (file)
@@ -1,6 +1,6 @@
 # This file is configure.in
 #
-#   Copyright (C) 1987-1992 Free Software Foundation, Inc.
+#   Copyright (C) 1987-1992,1993,1994 Free Software Foundation, Inc.
 #
 #  This file is part of GAS, the GNU Assembler.
 #
@@ -45,6 +45,7 @@ case "${host}" in
   hppa*-hp-hpux*)              gas_host=hpux           ;;
   hppa*-hp-bsd*)               gas_host=hppabsd        ;;
   hppa*-hp-osf*)               gas_host=hppaosf        ;;
+  hppa*-*-hiux*)               gas_host=hpux           ;;
 
   i[34]86-ibm-aix*)            gas_host=i386aix        ;;
   i[34]86-*-isc*)              gas_host=sysv           ;;
@@ -64,10 +65,11 @@ case "${host}" in
 
   vax-*-vms*)                  gas_host=vms            ;;
   vax-*-bsd*)                  gas_host=vax            ;;
+  vax-*-ultrix*)               gas_host=vax            ;;
 
   *-*-sysv4* | *-*-unixware)   gas_host=sysv           ;;
 
-  *-*-ansi | *-*-ultrix | *-*-hpux | *-*-sysv*)
+  *-*-ansi | *-*-hpux | *-*-sysv)
                                gas_host=${host_os}     ;;
 
 esac
@@ -111,15 +113,14 @@ case ${target_cpu} in
   m8*)         cpu_type=m88k ;;
   mips*el)     cpu_type=mips endian=little;;
   mips*)       cpu_type=mips ;;
+  rs6000*)     cpu_type=ppc ;;
   sparc64)     cpu_type=sparc64 obj_format=elf ;; # v9
   sparclite*)   cpu_type=sparc ;;
   *)           cpu_type=${target_cpu} ;;
 esac
 
 gas_target=${cpu_type}
-
 generic_target=${cpu_type}-${target_vendor}-${target_os}
-
 dev=no
 
 # assign object format
@@ -128,15 +129,20 @@ case ${generic_target} in
   a29k-amd-ebmon)      obj_format=coffbfd gas_target=ebmon29k ;;
   a29k-amd-ebmonold)   obj_format=coff gas_target=ebmon29k ;;
 
-  hppa-*-osf)          obj_format=elf emulation=hppa dev=yes ;;
+  alpha-*-osf*)                obj_format=ecoff ;;
+
+  hppa-*-osf)          obj_format=elf emulation=hppa ;;
   hppa-*-hpux*)                obj_format=som emulation=hppa ;;
   hppa-*-bsd*)         obj_format=som emulation=hppa ;;
+  hppa-*-hiux*)                obj_format=som emulation=hppa ;;
 
   h8300-*-coff)                obj_format=coffbfd ;;
 
   i386-ibm-aix*)       obj_format=coffbfd gas_target=i386coff
                         emulation=i386aix ;;
   i386-*-bsd*)         obj_format=aout emulation=386bsd ;;
+  i386-*-netbsd0.8)    obj_format=aout emulation=netbsd ;;
+  i386-*-netbsd*)      obj_format=aout emulation=netbsd ;;
   i386-*-linux*elf*)   obj_format=elf  emulation=linux ;;
   i386-*-linux*coff*)  obj_format=coffbfd emulation=linux
                         gas_target=i386coff ;;
@@ -147,6 +153,7 @@ case ${generic_target} in
                        obj_format=elf ;;
   i386-*-coff | i386-*-sysv* | i386-*-sco* | i386-*-isc*)
                        obj_format=coffbfd gas_target=i386coff ;;
+  i386-*-vsta)         obj_format=aout ;;
   i386-*-go32)         obj_format=aout ;;
 
   i960-wrs-vxworks | i960-*-nindy*)
@@ -186,15 +193,22 @@ case ${generic_target} in
                        fi
                        ;;
 
+  ppc-*-aix*)          obj_format=coff bfd_gas=yes ;;
+
+  sh-*-coff)           obj_format=coffbfd ;;
+
   sparc*-*-sunos4*)    obj_format=aout emulation=sun3 bfd_gas=yes ;;
   sparc*-*-aout | sparc*-*-vxworks)
                        obj_format=aout bfd_gas=yes ;;
   sparc*-*-coff)       obj_format=coff bfd_gas=yes ;;
+  sparc*-*-lynxos)     obj_format=coff bfd_gas=yes ;;
   sparc*-fujitsu-none) obj_format=aout bfd_gas=yes ;;
   sparc*-*-elf | sparc*-*-solaris*)
                        obj_format=elf ;;
   sparc64-*-aout*)     obj_format=aout bfd_gas=yes ;; # v9
 
+  vax-*-bsd* | vax-*-ultrix*)
+                       obj_format=aout ;;
   vax-*-vms)           obj_format=vms ;;
 
   z8k-*-coff | z8k-*-sim)
@@ -300,8 +314,8 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta
 # post-target:
 
 case ${bfd_gas} in
-  yes) bfddef="BFDDEF=-DBFD_ASSEMBLER" need_bfd=yes    ;;
-  *)    bfddef=""                                      ;;
+  yes) bfddef="BFDDEF=define" need_bfd=yes             ;;
+  *)    bfddef="BFDDEF=undef"                          ;;
 esac
 
 case ${need_bfd} in
This page took 0.02508 seconds and 4 git commands to generate.