Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/NEWS b/NEWS
- index fbdcb1f..3108a9c 100644
- --- a/NEWS
- +++ b/NEWS
- @@ -25,6 +25,12 @@ with all sufficient information, see the ChangeLog file.
- * rb_reserved_fd_p() added. If you want to close all file descriptors,
- check using this API. [ruby-core:37759]
- +== Known platform dependent issues
- +=== OS X Lion
- +
- +* You have to configure ruby with '--with-gcc=gcc-4.2' if you're using Xcode 4.1,
- + or, if you're using Xcode 4.2, you have to configure ruby with '--with-gcc=clang'.
- +
- === Library updates (outstanding ones only)
- * builtin classes
- diff --git a/configure.in b/configure.in
- index f763806..6971e1c 100644
- --- a/configure.in
- +++ b/configure.in
- @@ -89,21 +89,12 @@ fi
- dnl checks for alternative programs
- AC_CANONICAL_BUILD
- -AS_CASE(["$build_os"],
- - [darwin11.*], [
- - default_cc=cc-4.2
- - default_gcc=gcc-4.2
- - ], [
- - default_cc=cc
- - default_gcc=gcc
- - ])
- -
- AC_ARG_WITH(gcc,
- AS_HELP_STRING([--without-gcc], [never use gcc]),
- [
- AS_CASE([$withval],
- - [no], [: ${CC=$default_cc}],
- - [yes], [: ${CC=$default_gcc}],
- + [no], [: ${CC=cc],
- + [yes], [: ${CC=gcc],
- [CC=$withval])])
- dnl If the user switches compilers, we can't believe the cache
- if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
Add Comment
Please, Sign In to add comment