config.table
上传用户:llz198808
上传日期:2013-09-22
资源大小:5561k
文件大小:2k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  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[3456]86-ncr-sysv4*) frag=mh-ncr3000 ;;
  10.   *-*-cxux7*) frag=mh-cxux7 ;;
  11.   *-*-cygwin32) frag=mh-cygwin32 ;;
  12.   *-*-dgux*) frag=mh-sysv ;;
  13.   *-*-freebsd2.1.*) frag=mh-fbsd21 ;;
  14.   *-*-freebsd2.2.*) frag=mh-fbsd21 ;;
  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.   *-*-go32) frag=mh-go32 ;;
  25.   i[345]86-*-windows*) frag=mh-windows ;;
  26.   *-*-vxworks5* | *-*-vxworks)
  27.     # VxWorks 5 needs special action, because the usual
  28.     # autoconfiguration scheme does not work.
  29.     frag=mt-vxworks5
  30.     ;;
  31.   i[3456]86-*-mingw32*)
  32.     # Mingw32 does not require strerror.o from REQUIRED_OFILES.
  33.     # Worse: it will not compile it because of an incompatible sys_errlist
  34.     # definition.
  35.     frag=mt-mingw32
  36.     ;;
  37. esac
  38. # Try to handle funky case of solaris 2 -> sun 4.
  39. case "${host}" in
  40.   sparc-sun-sunos4.1.3)
  41. if [ "${with_cross_host}" != "${host}" ] ; then
  42.    frag=mt-sunos4
  43. fi
  44.   ;;
  45. esac
  46. frags=$frag
  47. # If they didn't specify --enable-shared, don't generate shared libs.
  48. case "${enable_shared}" in
  49.   yes) shared=yes ;;
  50.   no) shared=no ;;
  51.   *) shared=yes ;;
  52. esac
  53. if [ "${shared}" = "yes" ]; then
  54.   case "${host}" in
  55.     hppa*-*-*)    frags="${frags} ../../config/mh-papic" ;;
  56.     i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
  57.     *-*-*)    frags="${frags} ../../config/mh-${host_cpu}pic" ;;
  58.   esac
  59. fi
  60. echo "# Warning: this fragment is automatically generated" > temp-frag
  61. for frag in ${frags}; do
  62.   frag=${srcdir}/${xsrcdir}config/$frag
  63.   if [ -f ${frag} ]; then
  64.     echo "Appending ${frag} to xhost-mkfrag"
  65.     echo "# Following fragment copied from ${frag}" >> temp-frag
  66.     cat ${frag} >> temp-frag
  67.   fi
  68. done
  69. frag=xhost-mkfrag
  70. ${config_shell} ${moveifchange} temp-frag xhost-mkfrag