aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in34
1 files changed, 25 insertions, 9 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 2eceb21..8d488bf 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -18,7 +18,12 @@ rs6000) my_host=rs6000
mips)
case "${host_vendor}" in
dec) my_host=decstation ;;
- sgi) my_host=irix3 ;;
+ sgi)
+ case "${host_os}" in
+ irix3) my_host=irix3 ;;
+ irix4) my_host=irix4 ;;
+ esac
+ ;;
esac
;;
@@ -54,7 +59,7 @@ m68k)
sun) my_host=sun3 ;;
apollo*)
case "${host_os}" in
- sysv*) my_host=apollo68v ;;
+ sysv*) my_host=apollov68 ;;
esac
;;
esac
@@ -65,6 +70,11 @@ i860) my_host=stratus
i386)
case "${host_vendor}" in
+ ncr*)
+ case "${host_os}" in
+ sysv4*) my_host=ncr3000 ;;
+ esac
+ ;;
*)
case "${host_os}" in
sysv4*) my_host=i386v4 ;;
@@ -79,6 +89,8 @@ i386)
sparc)
case "${host_os}" in
sunos64) my_host=sparc-ll ;;
+ sysv4) my_host=sysv4 ;;
+ sysv64) my_host=sysv4-ll ;;
*) my_host=sparc ;;
esac
;;
@@ -102,7 +114,7 @@ vax)
esac
# Set up to make a link between the host's include file and "sysdep.h".
-files="hosts/h-${my_host}.h"
+files="hosts/${my_host}.h"
links="sysdep.h"
if [ ! -f ${srcdir}/${files} ] ; then
@@ -114,8 +126,8 @@ if [ ! -f ${srcdir}/${files} ] ; then
fi
host_makefile_frag=
-if [ -f ${srcdir}/config/mh-${my_host} ] ; then
- host_makefile_frag=config/mh-${my_host}
+if [ -f ${srcdir}/config/${my_host}.mh ] ; then
+ host_makefile_frag=config/${my_host}.mh
fi
# per-target:
@@ -167,7 +179,11 @@ wrs)
sun)
case "${target_cpu}" in
m68k) bfd_target=m68k-aout ;;
- sparc) bfd_target=sparc-aout ;;
+ sparc) case "${target_os}" in
+ sysv4) bfd_target=sparc-elf ;;
+ *) bfd_target=sparc-aout ;;
+ esac
+ ;;
esac
;;
dec)
@@ -236,15 +252,15 @@ motorola)
;;
esac
-if [ ! -f ${srcdir}/config/mt-${bfd_target} ] ; then
+if [ ! -f ${srcdir}/config/${bfd_target}.mt ] ; then
if [ -n "${bfd_target}" ] ; then
- echo '***' No file ${srcdir}/config/mt-${bfd_target}
+ echo '***' No file ${srcdir}/config/${bfd_target}.mt
fi
echo '***' BFD does not support target ${target}
echo '***' Look in bfd/configure.in for supported targets
exit 1
fi
-target_makefile_frag=config/mt-${bfd_target}
+target_makefile_frag=config/${bfd_target}.mt
# We don't do any links based on the target system, just very minor makefile
# config.