1 # This file is a shell script that supplies the information necessary
2 # to tailor a template configure script into the configure script
3 # appropriate for this directory. For more information, check any
4 # existing configure script.
11 if [ "${host_os}" = "posix" ] ; then
15 rs6000) bfd_host=aix ;;
17 case "${host_vendor}" in
18 dec) bfd_host=dec3100 ;;
22 case "${host_vendor}" in
25 dgux) bfd_host=dgux ;;
32 case "${host_vendor}" in
35 hpux) bfd_host=hp9000 ;;
36 bsd) bfd_host=hp300bsd ;;
39 sony) bfd_host=news ;;
45 case "${host_vendor}" in
48 sysv) bfd_host=i386v ;;
55 case "${host_vendor}" in
72 if [ ! -f config/h-${bfd_host} ] ; then
73 echo '***' BFD does not support host ${host}: no file config/h-${bfd_host}
77 host_makefile_frag=config/h-${bfd_host}
81 case "${target_vendor}" in
82 aout | coff | bout) bfd_target=${target_cpu}-${target_vendor} ;;
83 sony) bfd_target=news ;;
84 intel) bfd_target=${target_cpu}-coff ;;
86 case "${target_cpu}" in
87 i960) bfd_target=i960-bout ;;
88 m68k) bfd_target=m68k-aout ;;
92 case "${target_cpu}" in
93 m68k) bfd_target=m68k-aout ;;
94 sparc) bfd_target=sparc-aout ;;
98 case "${target_cpu}" in
99 mips) bfd_target=dec3100 ;;
103 case "${target_cpu}" in
105 case "${target_os}" in
106 hpux) bfd_target=hp9000 ;;
107 bsd) bfd_target=hp300bsd ;;
113 case "${target_cpu}" in
114 i386) bfd_target=i386-coff ;;
115 a29k) case "${target_os}" in
116 aout) bfd_target=a29k-aout ;;
117 coff) bfd_target=a29k-coff ;;
118 sym1) bfd_target=a29k-coff ;;
124 case "${target_cpu}" in
125 tahoe | vax) bfd_target=${target_cpu} ;;
130 if [ ! -f config/t-${bfd_target} ] ; then
131 echo '***' BFD does not support target ${target}: no file config/t-${bfd_target}
135 target_makefile_frag=config/t-${bfd_target}