/[gnats]/gnats/libiberty/config.table
ViewVC logotype

Diff of /gnats/libiberty/config.table

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pdm, Mon Dec 10 23:03:27 2001 UTC revision 1.4 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 1  Line 1 
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  case "${host}" in
8    rs6000-ibm-aix3.1 | rs6000-ibm-aix)    rs6000-ibm-aix3.1 | rs6000-ibm-aix)
9                          frag=mh-aix ;;                          frag=mh-aix ;;
# Line 5  case "${host}" in Line 11  case "${host}" in
11    *-*-freebsd2.1.*)     frag=mh-fbsd21 ;;    *-*-freebsd2.1.*)     frag=mh-fbsd21 ;;
12    *-*-freebsd2.2.[012]) frag=mh-fbsd21 ;;    *-*-freebsd2.2.[012]) frag=mh-fbsd21 ;;
13    i370-*-opened*)       frag=mh-openedition ;;    i370-*-opened*)       frag=mh-openedition ;;
14    i[345]86-*-windows*)  frag=mh-windows ;;    i[34567]86-*-windows*)        frag=mh-windows ;;
   *-*-beos*)            frag=mh-beos ;;  
15  esac  esac
16    
17  frags=$frag  if [ -n "${frag}" ]; then
18      frags=${libiberty_topdir}/libiberty/config/$frag
19    else
20      frags=
21    fi
22    
23  # If they didn't specify --enable-shared, don't generate shared libs.  # If they didn't specify --enable-shared, don't generate shared libs.
24  case "${enable_shared}" in  case "${enable_shared}" in
# Line 19  case "${enable_shared}" in Line 28  case "${enable_shared}" in
28    *) shared=yes ;;    *) shared=yes ;;
29  esac  esac
30  if [ "${shared}" = "yes" ]; then  if [ "${shared}" = "yes" ]; then
31      frag=
32    case "${host}" in    case "${host}" in
33      *-*-cygwin*)        ;;      *-*-cygwin*)        ;;
34      alpha*-*-linux*)    frags="${frags} ../../config/mh-elfalphapic" ;;      alpha*-*-linux*)    frag=mh-elfalphapic ;;
35      arm*-*-*)           frags="${frags} ../../config/mh-armpic" ;;      arm*-*-*)           frag=mh-armpic ;;
36      hppa*-*-*)          frags="${frags} ../../config/mh-papic" ;;      hppa*-*-*)          frag=mh-papic ;;
37      i[3456]86-*-*)      frags="${frags} ../../config/mh-x86pic" ;;      i[34567]86-*-* | x86_64-*-*)
38                            frag=mh-x86pic ;;
39      powerpc*-*-aix*)    ;;      powerpc*-*-aix*)    ;;
40      powerpc*-*-*)       frags="${frags} ../../config/mh-ppcpic" ;;      powerpc*-*-*)       frag=mh-ppcpic ;;
41      sparc*-*-*)         frags="${frags} ../../config/mh-sparcpic" ;;      sparc*-*-*)         frag=mh-sparcpic ;;
42      *-*-*)              frags="${frags} ../../config/mh-${host_cpu}pic" ;;      s390*-*-*)          frag=mh-s390pic ;;
43        *)                  frag=mh-${host_cpu}pic ;;
44    esac    esac
45      if [ -n "${frag}" ]; then
46        frags="${frags} ${libiberty_topdir}/config/${frag}"
47      fi
48  fi  fi
49    
50  echo "# Warning: this fragment is automatically generated" > temp-frag  echo "# Warning: this fragment is automatically generated" > temp-frag
51    
52  for frag in ${frags}; do  for frag in ${frags}; do
   case ${frag} in  
     ../* )  
       if [ ${srcdir} = . ]; then  
         [ -n "${with_target_subdir}" ] && frag=../${frag}  
         [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag}  
       fi  
       ;;  
   esac  
   frag=${srcdir}/${xsrcdir}config/$frag  
53    if [ -f ${frag} ]; then    if [ -f ${frag} ]; then
54      echo "Appending ${frag} to xhost-mkfrag"      echo "Appending ${frag} to xhost-mkfrag"
55      echo "# Following fragment copied from ${frag}" >> temp-frag      echo "# Following fragment copied from ${frag}" >> temp-frag

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26