2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / libiberty / config.table
1 # Don't build the shared library for build.
2 if [ -n "${with_build_subdir}" ]; then
3 enable_shared=no
4 fi
5
6 frag=
7 case "${host}" in
8 rs6000-ibm-aix3.1 | rs6000-ibm-aix)
9 frag=mh-aix ;;
10 *-*-cxux7*) frag=mh-cxux7 ;;
11 *-*-freebsd2.1.*) frag=mh-fbsd21 ;;
12 *-*-freebsd2.2.[012]) frag=mh-fbsd21 ;;
13 i370-*-opened*) frag=mh-openedition ;;
14 i[34567]86-*-windows*) frag=mh-windows ;;
15 esac
16
17 if [ -n "${frag}" ]; then
18 frags=${libiberty_topdir}/libiberty/config/$frag
19 else
20 frags=
21 fi
22
23 echo "# Warning: this fragment is automatically generated" > temp-frag
24
25 for frag in ${frags}; do
26 if [ -f ${frag} ]; then
27 echo "Appending ${frag} to xhost-mkfrag"
28 echo "# Following fragment copied from ${frag}" >> temp-frag
29 cat ${frag} >> temp-frag
30 fi
31 done
32
33 # record if we want to build shared libs.
34 if [ "${shared}" = "yes" ]; then
35 echo enable_shared = yes >> temp-frag
36 else
37 echo enable_shared = no >> temp-frag
38 fi
39
40 frag=xhost-mkfrag
41 ${CONFIG_SHELL-/bin/sh} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag
This page took 0.032654 seconds and 5 git commands to generate.