source: trunk/src/gcc/libiberty/config.table@ 1036

Last change on this file since 1036 was 67, checked in by bird, 22 years ago

We don't want -fPIC on OS/2.

  • Property cvs2svn:cvs-rev set to 1.3
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.8 KB
Line 
1case "${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.[012]) frag=mh-fbsd21 ;;
7 i370-*-opened*) frag=mh-openedition ;;
8 i[345]86-*-windows*) frag=mh-windows ;;
9 *-*-*emx) frag=mh-emx ;;
10esac
11
12frags=$frag
13
14# If they didn't specify --enable-shared, don't generate shared libs.
15case "${enable_shared}" in
16 yes) shared=yes ;;
17 no) shared=no ;;
18 "") shared=no ;;
19 *) shared=yes ;;
20esac
21if [ "${shared}" = "yes" ]; then
22 case "${host}" in
23 *-*-cygwin*) ;;
24 *-*-*emx) ;;
25 alpha*-*-linux*) frags="${frags} ../../config/mh-elfalphapic" ;;
26 arm*-*-*) frags="${frags} ../../config/mh-armpic" ;;
27 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;;
28 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
29 powerpc*-*-aix*) ;;
30 powerpc*-*-*) frags="${frags} ../../config/mh-ppcpic" ;;
31 sparc*-*-*) frags="${frags} ../../config/mh-sparcpic" ;;
32 *-*-*) frags="${frags} ../../config/mh-${host_cpu}pic" ;;
33 esac
34fi
35
36echo "# Warning: this fragment is automatically generated" > temp-frag
37
38for frag in ${frags}; do
39 case ${frag} in
40 ../* )
41 if [ ${srcdir} = . ]; then
42 [ -n "${with_target_subdir}" ] && frag=../${frag}
43 [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag}
44 fi
45 ;;
46 esac
47 frag=${srcdir}/${xsrcdir}config/$frag
48 if [ -f ${frag} ]; then
49 echo "Appending ${frag} to xhost-mkfrag"
50 echo "# Following fragment copied from ${frag}" >> temp-frag
51 cat ${frag} >> temp-frag
52 fi
53done
54
55# record if we want to build shared libs.
56if [ "${shared}" = "yes" ]; then
57 echo enable_shared = yes >> temp-frag
58else
59 echo enable_shared = no >> temp-frag
60fi
61
62frag=xhost-mkfrag
63${CONFIG_SHELL-/bin/sh} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag
Note: See TracBrowser for help on using the repository browser.