aboutsummaryrefslogtreecommitdiff
path: root/configure.in
blob: 39cf945baa7d6c4a73d55bc593aff62ef5441031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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="mmalloc libiberty texinfo bfd binutils byacc bison gcc readline glob ld gas gdb emacs ispell make grep diff rcs gdbm cvs patch send_pr libg++ newlib"
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
m88kbcs)	host_makefile_frag=config/mh-delta88;;
sysv4*)		host_makefile_frag=config/mh-sysv4 ;;
sysv* | irix3)	host_makefile_frag=config/mh-sysv ;;
irix4)		host_makefile_frag=config/mh-irix4 ;;
ultrix*)
	case "${host_cpu}" in
	mips)	host_makefile_frag=config/mh-decstation ;;
	esac
esac

case "${host_vendor}" in
sco*)		host_makefile_frag=config/mh-sco ;;
apollo*)	case "${host_cpu}" in
		m68k*)
			host_makefile_frag=config/mh-apollo68 ;;
		esac ;;
esac

# per-target:

bfd_target=

case "${target_vendor}" in
amd)
	case "${target_os}" in
		ebmon) 	bfd_target="ebmon29k" 
			;;
		*) echo "bad target_os for amd"	;;
	esac
	;;
*)
	bfd_target=${target_alias}
	;;
esac

case "${target_cpu}" in
	mips)  configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
	;;
esac

target_makefile_frag=config/mt-${bfd_target}

#
# Local Variables:
# fill-column: 131
# End:
#