Guest User

Untitled

a guest
Jan 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. diff --git a/NEWS b/NEWS
  2. index fbdcb1f..3108a9c 100644
  3. --- a/NEWS
  4. +++ b/NEWS
  5. @@ -25,6 +25,12 @@ with all sufficient information, see the ChangeLog file.
  6. * rb_reserved_fd_p() added. If you want to close all file descriptors,
  7. check using this API. [ruby-core:37759]
  8.  
  9. +== Known platform dependent issues
  10. +=== OS X Lion
  11. +
  12. +* You have to configure ruby with '--with-gcc=gcc-4.2' if you're using Xcode 4.1,
  13. + or, if you're using Xcode 4.2, you have to configure ruby with '--with-gcc=clang'.
  14. +
  15. === Library updates (outstanding ones only)
  16.  
  17. * builtin classes
  18. diff --git a/configure.in b/configure.in
  19. index f763806..6971e1c 100644
  20. --- a/configure.in
  21. +++ b/configure.in
  22. @@ -89,21 +89,12 @@ fi
  23.  
  24. dnl checks for alternative programs
  25. AC_CANONICAL_BUILD
  26. -AS_CASE(["$build_os"],
  27. - [darwin11.*], [
  28. - default_cc=cc-4.2
  29. - default_gcc=gcc-4.2
  30. - ], [
  31. - default_cc=cc
  32. - default_gcc=gcc
  33. - ])
  34. -
  35. AC_ARG_WITH(gcc,
  36. AS_HELP_STRING([--without-gcc], [never use gcc]),
  37. [
  38. AS_CASE([$withval],
  39. - [no], [: ${CC=$default_cc}],
  40. - [yes], [: ${CC=$default_gcc}],
  41. + [no], [: ${CC=cc],
  42. + [yes], [: ${CC=gcc],
  43. [CC=$withval])])
  44. dnl If the user switches compilers, we can't believe the cache
  45. if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
Add Comment
Please, Sign In to add comment