home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / libiberty / config.table < prev    next >
Text File  |  1996-09-28  |  2KB  |  71 lines

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