binutils-gdb/configure.in
1992-07-21 08:07:26 +00:00

98 lines
2.4 KiB
Plaintext

# 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.
configdirs="autoconf libgcc mmalloc libiberty texinfo 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"
srctrigger=cfg-paper.texi
srcname="gnu development package"
# per-host:
# XXX - FIXME there needs to be a case for mh_dgux
case "${host_os}" in
aix*) host_makefile_frag=config/mh-aix ;;
m88kbcs) host_makefile_frag=config/mh-delta88;;
sysv4*) host_makefile_frag=config/mh-sysv4 ;;
solaris*) host_makefile_frag=config/mh-solaris ;;
sysv* | irix3) host_makefile_frag=config/mh-sysv ;;
sco*) host_makefile_frag=config/mh-sco ;;
irix4) host_makefile_frag=config/mh-irix4 ;;
linux) host_makefile_frag=config/mh-linux ;;
hpux) host_makefile_frag=config/mh-hpux ;;
ultrix*)
case "${host_cpu}" in
mips) host_makefile_frag=config/mh-decstation ;;
esac
esac
case "${host_vendor}" in
apollo*) case "${host_cpu}" in
m68k*)
case "${host_os}" in
sysv*) host_makefile_frag=config/mh-apollo68 ;;
bsd*) host_makefile_frag=config/mh-a68bsd ;;
esac;;
esac ;;
ncr*) case "${host_os}" in
sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
esac ;;
esac
# per-target:
bfd_target=
case "${target_vendor}" in
amd)
case "${target_os}" in
ebmon) bfd_target="ebmon29k"
;;
udi) bfd_target="udi29k"
;;
*) echo "bad target_os for amd" 1>&2
;;
esac
;;
*)
bfd_target=${target_alias}
;;
esac
#
# remove various programs from consideration, based on the target
# this usually means that a port of the program doesn't exist yet.
if [ x"${host}" = x"${target}" ] ; then
configdirs=`echo ${configdirs} | sed -e 's/newlib//;s/libgcc//'`
else
true
fi
case "${target}" in
mips-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
rs6000-*-*)
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
;;
hppa*-*-*)
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/emacs//'`
;;
*-*-solaris2)
configdirs=`echo ${configdirs} | sed -e 's/gas//'`
;;
esac
target_makefile_frag=config/mt-${bfd_target}
#
# Local Variables:
# fill-column: 131
# End:
#