Update from Cygnus libiberty.
[gcc.git] / libiberty / config.table
1 case "${host}" in
2 rs6000-ibm-aix3.1 | rs6000-ibm-aix)
3 frag=mh-aix ;;
4 *-*-cxux7*) frag=mh-cxux7 ;;
5 *-*-freebsd2.1.*) frag=mh-fbsd21 ;;
6 *-*-freebsd2.2.*) frag=mh-fbsd21 ;;
7 i[345]86-*-windows*) frag=mh-windows ;;
8 esac
9
10 frags=$frag
11
12 # If they didn't specify --enable-shared, don't generate shared libs.
13 case "${enable_shared}" in
14 yes) shared=yes ;;
15 no) shared=no ;;
16 *) shared=yes ;;
17 esac
18 if [ "${shared}" = "yes" ]; then
19 case "${host}" in
20 *-*-cygwin32*) ;;
21 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;;
22 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
23 *-*-*) frags="${frags} ../../config/mh-${host_cpu}pic" ;;
24 esac
25 fi
26
27 echo "# Warning: this fragment is automatically generated" > temp-frag
28
29 for frag in ${frags}; do
30 case ${frag} in
31 ../* )
32 if [ ${srcdir} = . ]; then
33 [ -n "${with_target_subdir}" ] && frag=../${frag}
34 [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag}
35 fi
36 ;;
37 esac
38 frag=${srcdir}/${xsrcdir}config/$frag
39 if [ -f ${frag} ]; then
40 echo "Appending ${frag} to xhost-mkfrag"
41 echo "# Following fragment copied from ${frag}" >> temp-frag
42 cat ${frag} >> temp-frag
43 fi
44 done
45
46 frag=xhost-mkfrag
47 ${CONFIG_SHELL} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag