2 rs6000-ibm-aix3.1 | rs6000-ibm-aix)
4 *-*-cxux7*) frag=mh-cxux7 ;;
5 *-*-freebsd2.1.*) frag=mh-fbsd21 ;;
6 *-*-freebsd2.2.[012]) frag=mh-fbsd21 ;;
7 i370-*-opened*) frag=mh-openedition ;;
8 i[345]86-*-windows*) frag=mh-windows ;;
9 *-*-beos*) frag=mh-beos ;;
14 # If they didn't specify --enable-shared, don't generate shared libs.
15 case "${enable_shared}" in
21 if [ "${shared}" = "yes" ]; then
24 alpha*-*-linux*) frags="${frags} ../../config/mh-elfalphapic" ;;
25 arm*-*-*) frags="${frags} ../../config/mh-armpic" ;;
26 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;;
27 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
29 powerpc*-*-*) frags="${frags} ../../config/mh-ppcpic" ;;
30 *-*-*) frags="${frags} ../../config/mh-${host_cpu}pic" ;;
34 echo "# Warning: this fragment is automatically generated" > temp-frag
36 for frag in ${frags}; do
39 if [ ${srcdir} = . ]; then
40 [ -n "${with_target_subdir}" ] && frag=../${frag}
41 [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag}
45 frag=${srcdir}/${xsrcdir}config/$frag
46 if [ -f ${frag} ]; then
47 echo "Appending ${frag} to xhost-mkfrag"
48 echo "# Following fragment copied from ${frag}" >> temp-frag
49 cat ${frag} >> temp-frag
53 # record if we want to build shared libs.
54 if [ "${shared}" = "yes" ]; then
55 echo enable_shared = yes >> temp-frag
57 echo enable_shared = no >> temp-frag
61 ${CONFIG_SHELL-/bin/sh} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag