mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/mnemoc/mono-xsp/no-net20-objects.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./configure.in (revision 40359)
  20. +++ ./configure.in (working copy)
  21. @@ -19,6 +19,25 @@
  22. MCS=$CSC
  23. fi
  24. +if test "x$GMCS" != "xno" ; then
  25. + AC_MSG_CHECKING([whether gmcs is actually able to compile])
  26. +
  27. + tmpin=`mktemp /tmp/xsp.XXXXXX`
  28. + tmpout=`mktemp /tmp/xsp.XXXXXX`
  29. +
  30. + echo "class Foo { public static void Main() {} }" > $tmpin
  31. +
  32. + if [ gmcs -r:System.Web.dll -out:$tmpout $tmpin > /dev/null 2>&1 ]
  33. + then
  34. + AC_MSG_RESULT(yes)
  35. + else
  36. + GMCS=no
  37. + AC_MSG_RESULT(no)
  38. + fi
  39. +
  40. + rm -f $tmpin $tmpout
  41. +fi
  42. +
  43. case "$host" in
  44. *-*-mingw*|*-*-cygwin*)
  45. platform_win32=yes
  46. --- ./configure.orig 2005-03-31 18:20:41.000000000 +0200
  47. +++ ./configure 2005-03-31 18:20:47.000000000 +0200
  48. @@ -1974,6 +1974,28 @@
  49. MCS=$CSC
  50. fi
  51. +if test "x$GMCS" != "xno" ; then
  52. + echo "$as_me:$LINENO: checking whether gmcs is actually able to compile" >&5
  53. +echo $ECHO_N "checking whether gmcs is actually able to compile... $ECHO_C" >&6
  54. +
  55. + tmpin=`mktemp /tmp/xsp.XXXXXX`
  56. + tmpout=`mktemp /tmp/xsp.XXXXXX`
  57. +
  58. + echo "class Foo { public static void Main() {} }" > $tmpin
  59. +
  60. + if gmcs -r:System.Web.dll -out:$tmpout $tmpin > /dev/null 2>&1
  61. + then
  62. + echo "$as_me:$LINENO: result: yes" >&5
  63. +echo "${ECHO_T}yes" >&6
  64. + else
  65. + GMCS=no
  66. + echo "$as_me:$LINENO: result: no" >&5
  67. +echo "${ECHO_T}no" >&6
  68. + fi
  69. +
  70. + rm -f $tmpin $tmpout
  71. +fi
  72. +
  73. case "$host" in
  74. *-*-mingw*|*-*-cygwin*)
  75. platform_win32=yes