1991-04-05 03:01:18 +08:00
|
|
|
# This file is a shell script fragment that supplies the information
|
|
|
|
# necessary to tailor a template configure script into the configure
|
|
|
|
# script appropriate for this directory. For more information, check
|
|
|
|
# any existing configure script.
|
|
|
|
|
1992-09-01 07:19:34 +08:00
|
|
|
configdirs="autoconf libgcc mmalloc libiberty texinfo opcodes bfd binutils byacc bison flex gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas "
|
1991-12-28 11:15:17 +08:00
|
|
|
srctrigger=cfg-paper.texi
|
1991-04-05 03:01:18 +08:00
|
|
|
srcname="gnu development package"
|
1991-04-16 08:46:50 +09:00
|
|
|
|
|
|
|
# per-host:
|
|
|
|
|
1991-10-25 06:10:04 +08:00
|
|
|
# XXX - FIXME there needs to be a case for mh_dgux
|
1991-09-17 07:17:02 +08:00
|
|
|
|
|
|
|
case "${host_os}" in
|
1992-03-25 15:51:05 +08:00
|
|
|
aix*) host_makefile_frag=config/mh-aix ;;
|
1991-10-29 16:47:32 +08:00
|
|
|
m88kbcs) host_makefile_frag=config/mh-delta88;;
|
1991-12-21 03:35:15 +08:00
|
|
|
sysv4*) host_makefile_frag=config/mh-sysv4 ;;
|
1992-06-01 08:29:44 +08:00
|
|
|
solaris*) host_makefile_frag=config/mh-solaris ;;
|
1992-03-06 04:20:27 +08:00
|
|
|
sysv* | irix3) host_makefile_frag=config/mh-sysv ;;
|
1992-09-11 02:04:50 +08:00
|
|
|
scout) ;;
|
1992-04-07 13:57:36 +08:00
|
|
|
sco*) host_makefile_frag=config/mh-sco ;;
|
1992-03-06 04:20:27 +08:00
|
|
|
irix4) host_makefile_frag=config/mh-irix4 ;;
|
1992-06-23 14:50:30 +08:00
|
|
|
linux) host_makefile_frag=config/mh-linux ;;
|
1992-07-21 16:07:26 +08:00
|
|
|
hpux) host_makefile_frag=config/mh-hpux ;;
|
1992-02-07 23:55:35 +08:00
|
|
|
ultrix*)
|
|
|
|
case "${host_cpu}" in
|
|
|
|
mips) host_makefile_frag=config/mh-decstation ;;
|
|
|
|
esac
|
1991-09-17 07:17:02 +08:00
|
|
|
esac
|
|
|
|
|
1991-11-14 06:16:12 +08:00
|
|
|
case "${host_vendor}" in
|
1992-02-11 07:43:56 +08:00
|
|
|
apollo*) case "${host_cpu}" in
|
|
|
|
m68k*)
|
1992-04-08 06:11:30 +08:00
|
|
|
case "${host_os}" in
|
|
|
|
sysv*) host_makefile_frag=config/mh-apollo68 ;;
|
|
|
|
bsd*) host_makefile_frag=config/mh-a68bsd ;;
|
|
|
|
esac;;
|
1992-02-11 07:43:56 +08:00
|
|
|
esac ;;
|
1992-04-11 14:13:43 +08:00
|
|
|
ncr*) case "${host_os}" in
|
|
|
|
sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
|
|
|
|
esac ;;
|
|
|
|
|
1991-11-14 06:16:12 +08:00
|
|
|
esac
|
|
|
|
|
1991-04-16 08:46:50 +09:00
|
|
|
# per-target:
|
1991-08-26 05:18:21 +09:00
|
|
|
|
1991-10-23 13:32:55 +08:00
|
|
|
bfd_target=
|
|
|
|
|
1991-10-22 01:06:59 +08:00
|
|
|
case "${target_vendor}" in
|
|
|
|
amd)
|
|
|
|
case "${target_os}" in
|
1992-07-20 08:56:37 +08:00
|
|
|
ebmon) bfd_target="ebmon29k"
|
|
|
|
;;
|
|
|
|
udi) bfd_target="udi29k"
|
|
|
|
;;
|
|
|
|
*) echo "bad target_os for amd" 1>&2
|
|
|
|
;;
|
1991-10-22 01:06:59 +08:00
|
|
|
esac
|
|
|
|
;;
|
1992-08-25 06:32:46 +08:00
|
|
|
ericsson)
|
|
|
|
case "${target_alias}" in
|
|
|
|
OSE68000 | ose68000)
|
|
|
|
bfd_target="ose68000"
|
|
|
|
;;
|
|
|
|
OSE68k | ose68k)
|
|
|
|
bfd_target="ose68k"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
bfd_target=${target-alias}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
1991-10-22 01:06:59 +08:00
|
|
|
*)
|
1991-10-23 13:32:55 +08:00
|
|
|
bfd_target=${target_alias}
|
1991-10-22 01:06:59 +08:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1992-08-04 06:44:29 +08:00
|
|
|
# remove various programs from consideration, if this is a cross-compiler
|
|
|
|
# (host != target) build, AND if the host is one that has a
|
|
|
|
# "native" environment that we support
|
1992-07-20 08:56:37 +08:00
|
|
|
|
|
|
|
if [ x"${host}" = x"${target}" ] ; then
|
1992-08-04 06:44:29 +08:00
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
|
1992-07-20 08:56:37 +08:00
|
|
|
else
|
|
|
|
true
|
|
|
|
fi
|
|
|
|
|
1992-08-04 06:44:29 +08:00
|
|
|
# remove various programs from consideration, based on the host or
|
|
|
|
# target this usually means that a port of the program doesn't
|
|
|
|
# exist yet.
|
|
|
|
|
|
|
|
case "${host}" in
|
|
|
|
hppa*-*-*)
|
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
|
|
|
|
;;
|
|
|
|
*-*-solaris2)
|
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1992-07-20 08:56:37 +08:00
|
|
|
case "${target}" in
|
|
|
|
mips-*-*)
|
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
|
|
|
|
;;
|
|
|
|
rs6000-*-*)
|
1992-08-04 06:44:29 +08:00
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
|
1992-07-20 08:56:37 +08:00
|
|
|
;;
|
|
|
|
hppa*-*-*)
|
1992-08-04 06:44:29 +08:00
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
|
1992-07-20 08:56:37 +08:00
|
|
|
;;
|
|
|
|
*-*-solaris2)
|
|
|
|
configdirs=`echo ${configdirs} | sed -e 's/gas//'`
|
1992-02-02 12:53:15 +08:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1992-07-20 08:56:37 +08:00
|
|
|
|
1992-02-08 16:57:08 +08:00
|
|
|
target_makefile_frag=config/mt-${bfd_target}
|
1991-09-17 07:17:02 +08:00
|
|
|
|
1991-08-26 05:18:21 +09:00
|
|
|
#
|
|
|
|
# Local Variables:
|
|
|
|
# fill-column: 131
|
|
|
|
# End:
|
|
|
|
#
|
1992-04-21 12:06:33 +08:00
|
|
|
|