]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/config.table
2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
[thirdparty/binutils-gdb.git] / libiberty / config.table
CommitLineData
cfed0715
DD
1# Don't build the shared library for build.
2if [ -n "${with_build_subdir}" ]; then
3 enable_shared=no
4fi
5
6frag=
252b5132
RH
7case "${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 ;;
e2eaf477 13 i370-*-opened*) frag=mh-openedition ;;
916f5d13 14 i[34567]86-*-windows*) frag=mh-windows ;;
252b5132
RH
15esac
16
cfed0715
DD
17if [ -n "${frag}" ]; then
18 frags=${libiberty_topdir}/libiberty/config/$frag
19else
20 frags=
21fi
252b5132 22
252b5132
RH
23echo "# Warning: this fragment is automatically generated" > temp-frag
24
25for frag in ${frags}; do
252b5132
RH
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
31done
32
33# record if we want to build shared libs.
34if [ "${shared}" = "yes" ]; then
35 echo enable_shared = yes >> temp-frag
36else
37 echo enable_shared = no >> temp-frag
38fi
39
40frag=xhost-mkfrag
e2eaf477 41${CONFIG_SHELL-/bin/sh} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag