Initial revision
[gcc.git] / libiberty / config.table
1 case "${host}" in
2 rs6000-ibm-aix3.1 | rs6000-ibm-aix)
3 frag=mh-aix
4 files=${xsrcdir}alloca-botch.h ;;
5 *-ibm-aix*) files=${xsrcdir}alloca-botch.h ;;
6 arm-*-riscix*) frag=mh-riscix ;;
7 m68k-apollo-bsd*) frag=mh-a68bsd ;;
8 m68k-apollo-sysv*) frag=mh-apollo68 ;;
9 i[3456]86-ncr-sysv4*) frag=mh-ncr3000 ;;
10 *-*-cxux7*) frag=mh-cxux7 ;;
11 *-*-cygwin32) frag=mh-cygwin32 ;;
12 *-*-dgux*) frag=mh-sysv ;;
13 hppa*-hp-bsd*) frag=mh-hpbsd ;;
14 *-*-hpux*) frag=mh-hpux ;;
15 *-*-hiux*) frag=mh-hpux ;;
16 *-*-irix4*) frag=mh-irix4 ;;
17 *-*-irix*) frag=mh-sysv ;;
18 *-*-m88kbcs*) frag=mh-sysv ;;
19 *-*-solaris2*) frag=mh-sysv4 ;;
20 *-*-sysv4*) frag=mh-sysv4 ;;
21 *-*-sysv*) frag=mh-sysv ;;
22 *-*-go32) frag=mh-go32 ;;
23 i[345]86-*-windows*) frag=mh-windows ;;
24
25 *-*-vxworks5*)
26 # VxWorks 5 needs special action, because the usual
27 # autoconfiguration scheme does not work.
28 frag=mt-vxworks5
29 ;;
30 esac
31
32 # Try to handle funky case of solaris 2 -> sun 4.
33 case "${host}" in
34 sparc-sun-sunos4.1.3)
35 if [ "${with_cross_host}" != "${host}" ] ; then
36 frag=mt-sunos4
37 fi
38 ;;
39 esac
40
41 frags=$frag
42
43 # If they didn't specify --enable-shared, don't generate shared libs.
44 case "${enable_shared}" in
45 yes) shared=yes ;;
46 no) shared=no ;;
47 *) shared=yes ;;
48 esac
49 if [ "${shared}" = "yes" ]; then
50 case "${host}" in
51 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;;
52 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
53 *-*-*) frags="${frags} ../../config/mh-${host_cpu}pic" ;;
54 esac
55 fi
56
57 echo "# Warning: this fragment is automatically generated" > temp-frag
58
59 for frag in ${frags}; do
60 frag=${srcdir}/${xsrcdir}config/$frag
61 if [ -f ${frag} ]; then
62 echo "Appending ${frag} to xhost-mkfrag"
63 echo "# Following fragment copied from ${frag}" >> temp-frag
64 cat ${frag} >> temp-frag
65 fi
66 done
67
68 frag=xhost-mkfrag
69 ${config_shell} ${moveifchange} temp-frag xhost-mkfrag