use relative paths for configure and srcdir when possible
[deliverable/binutils-gdb.git] / configure.in
1 # This file is a shell script fragment that supplies the information
2 # necessary to tailor a template configure script into the configure
3 # script appropriate for this directory. For more information, check
4 # any existing configure script.
5
6 configdirs="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"
7 srctrigger=cfg-paper.texi
8 srcname="gnu development package"
9
10 # per-host:
11
12 # XXX - FIXME there needs to be a case for mh_dgux
13
14 case "${host_os}" in
15 m88kbcs) host_makefile_frag=config/mh-delta88;;
16 sysv4*) host_makefile_frag=config/mh-sysv4 ;;
17 sysv* | irix3) host_makefile_frag=config/mh-sysv ;;
18 irix4) host_makefile_frag=config/mh-irix4 ;;
19 ultrix*)
20 case "${host_cpu}" in
21 mips) host_makefile_frag=config/mh-decstation ;;
22 esac
23 esac
24
25 case "${host_vendor}" in
26 sco*) host_makefile_frag=config/mh-sco ;;
27 apollo*) case "${host_cpu}" in
28 m68k*)
29 host_makefile_frag=config/mh-apollo68 ;;
30 esac ;;
31 esac
32
33 # per-target:
34
35 bfd_target=
36
37 case "${target_vendor}" in
38 amd)
39 case "${target_os}" in
40 ebmon) bfd_target="ebmon29k"
41 ;;
42 *) echo "bad target_os for amd" ;;
43 esac
44 ;;
45 *)
46 bfd_target=${target_alias}
47 ;;
48 esac
49
50 case "${target_cpu}" in
51 mips) configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
52 ;;
53 esac
54
55 target_makefile_frag=config/mt-${bfd_target}
56
57 #
58 # Local Variables:
59 # fill-column: 131
60 # End:
61 #
This page took 0.039819 seconds and 4 git commands to generate.