home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / libiberty / config.table < prev    next >
Encoding:
Text File  |  1995-03-09  |  1.8 KB  |  61 lines

  1. # This file is used by both libiberty/configure.in and xiberty/configure.in.
  2.  
  3. case "${xhost-${host}}" in
  4.   rs6000-ibm-aix3.1 | rs6000-ibm-aix)
  5.                         frag=mh-aix
  6.             files=${xsrcdir}alloca-botch.h ;;
  7.   rs6000-ibm-aix*)      files=${xsrcdir}alloca-botch.h ;;
  8.   arm-*-riscix*)    frag=mh-riscix ;;
  9.   m68k-apollo-bsd*)    frag=mh-a68bsd ;;
  10.   m68k-apollo-sysv*)    frag=mh-apollo68 ;;
  11.   i[34]86-ncr-sysv4*)    frag=mh-ncr3000 ;;
  12.   *-*-cxux7*)        frag=mh-cxux7 ;;
  13.   *-*-lynxos*)        frag=mh-lynxos ;;
  14.   *-*-dgux*)        frag=mh-sysv ;;
  15.   hppa*-hp-bsd*)    frag=mh-hpbsd ;;
  16.   *-*-hpux*)        frag=mh-hpux ;;
  17.   *-*-hiux*)        frag=mh-hpux ;;
  18.   *-*-irix4*)        frag=mh-irix4 ;;
  19.   *-*-irix*)        frag=mh-sysv ;;
  20.   *-*-m88kbcs*)        frag=mh-sysv ;;
  21.   *-*-solaris2*)    frag=mh-sysv4 ;;
  22.   *-*-sysv4*)        frag=mh-sysv4 ;;
  23.   *-*-sysv*)        frag=mh-sysv ;;
  24.   *-*-amigados*)    frag=mh-amigados ;;
  25.   *-*-go32)        frag=mh-go32 ;;
  26. esac
  27.  
  28. # xiberty sets xhost.  Try to handle funky case of solaris 2 -> sun 4.
  29. case "${target}" in
  30.   sparc-sun-sunos4.1.3)
  31.     if [ "${host}" != "${target}" ] ; then
  32.        frag=mt-sunos4
  33.     fi
  34.   ;;
  35. esac
  36.  
  37. frags=$frag
  38.  
  39. # If they didn't specify --enable-shared, don't generate shared libs.
  40. if [ "${enable_shared}" = "yes" ]; then
  41.   case "${xhost-${host}}" in
  42.     hppa*-*-*)      frags="${frags} ../../libio/config/mt-papic" ;;
  43.     i[345]86-*-*) frags="${frags} ../../libio/config/mt-x86pic" ;;
  44.     *-*-*)       frags="${frags} ../../libio/config/mt-${target_cpu}pic" ;;
  45.   esac
  46. fi
  47.  
  48. echo "# Warning: this fragment is automatically generated" > temp-frag
  49.  
  50. for frag in ${frags}; do
  51.   frag=${srcdir}/${xsrcdir}config/$frag
  52.   if [ -f ${frag} ]; then
  53.     echo "Appending ${frag} to xhost-mkfrag"
  54.     echo "# Following fragment copied from ${frag}" >> temp-frag
  55.     cat ${frag} >> temp-frag
  56.   fi
  57. done
  58.  
  59. frag=xhost-mkfrag
  60. ${moveifchange} temp-frag xhost-mkfrag
  61.