OSDN Git Service

Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
[pf3gnuchains/gcc-fork.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   *-*-freebsd2.1.*)     frag=mh-fbsd21 ;;
14   *-*-freebsd2.2.*)     frag=mh-fbsd21 ;;
15   hppa*-hp-bsd*)        frag=mh-hpbsd ;;
16   *-*-hpux*)            frag=mh-hpux ;;
17   *-*-hiux*)            frag=mh-hpux ;;
18   *-*-irix4*)           frag=mh-irix4 ;;
19   *-*-irix*)            frag=mh-sysv ;;
20   *-*-m88kbcs*)         frag=mh-sysv ;;
21   *-*-solaris2*)        frag=mh-sysv4 ;;
22   *-*-sysv4*)           frag=mh-sysv4 ;;
23   *-*-sysv*)            frag=mh-sysv ;;
24   *-*-go32)             frag=mh-go32 ;;
25   i[345]86-*-windows*)  frag=mh-windows ;;
26
27   *-*-vxworks5*)
28     # VxWorks 5 needs special action, because the usual
29     # autoconfiguration scheme does not work.
30     frag=mt-vxworks5
31     ;;
32 esac
33
34 # Try to handle funky case of solaris 2 -> sun 4.
35 case "${host}" in
36   sparc-sun-sunos4.1.3)
37         if [ "${with_cross_host}" != "${host}" ] ; then
38            frag=mt-sunos4
39         fi
40   ;;
41 esac
42
43 frags=$frag
44
45 # If they didn't specify --enable-shared, don't generate shared libs.
46 case "${enable_shared}" in
47   yes) shared=yes ;;
48   no) shared=no ;;
49   *) shared=yes ;;
50 esac
51 if [ "${shared}" = "yes" ]; then
52   case "${host}" in
53     hppa*-*-*)     frags="${frags} ../../config/mh-papic" ;;
54     i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
55     *-*-*)         frags="${frags} ../../config/mh-${host_cpu}pic" ;;
56   esac
57 fi
58
59 echo "# Warning: this fragment is automatically generated" > temp-frag
60
61 for frag in ${frags}; do
62   frag=${srcdir}/${xsrcdir}config/$frag
63   if [ -f ${frag} ]; then
64     echo "Appending ${frag} to xhost-mkfrag"
65     echo "# Following fragment copied from ${frag}" >> temp-frag
66     cat ${frag} >> temp-frag
67   fi
68 done
69
70 frag=xhost-mkfrag
71 ${config_shell} ${moveifchange} temp-frag xhost-mkfrag