summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-15 16:33:31 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-15 16:33:31 +0000
commite3dbba340e20927a3c3497ba2f786dbd9dfa3f15 (patch)
tree8fda98193269333d2f3e73934ca2b3ca41668473
parent36eb3366780a42736905a66c44fb3f21484591a8 (diff)
merge revision(s) 39814,39815: [Backport #8117]
* configure.in: Fix c++ compiler auto-selection not only for Darwin 11.x, but also the other versions of Darwin. * configure.in: set ac_cv_prog_cxx if CXX is supplied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog9
-rw-r--r--configure.in3
-rw-r--r--version.h2
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 89cb83e5e4..6407a773a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Tue Apr 16 01:30:47 2013 Kenta Murata <mrkn@mrkn.jp>
+
+ * configure.in: set ac_cv_prog_cxx if CXX is supplied.
+
+Tue Apr 16 01:30:47 2013 Kenta Murata <mrkn@mrkn.jp>
+
+ * configure.in: Fix c++ compiler auto-selection not only for
+ Darwin 11.x, but also the other versions of Darwin.
+
Tue Apr 16 00:27:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (iseq_compile_each): fix of defined? with empty
diff --git a/configure.in b/configure.in
index b7682cfa8e..7cdbb1e3e5 100644
--- a/configure.in
+++ b/configure.in
@@ -190,7 +190,7 @@ then
(it is also a good idea to do 'make clean' before compiling))
fi
AS_CASE(["$build_os"],
- [darwin11.*], [
+ [darwin1*.*], [
AS_CASE(["x$CC"],
[xgcc-4.2|x/usr/bin/gcc-4.2], [: ${CXX=g++-4.2}],
[xgcc|x/usr/bin/gcc], [: ${CXX=g++}],
@@ -198,6 +198,7 @@ AS_CASE(["$build_os"],
[xclang|x/usr/bin/clang], [: ${CXX=clang++}])
])
test -z "$CC" || ac_cv_prog_CC="$CC"
+test -z "$CXX" || ac_cv_prog_CXX="$CXX"
if test "$program_prefix" = NONE; then
program_prefix=
diff --git a/version.h b/version.h
index ba212e387d..f5fb7dc75a 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2013-04-16"
-#define RUBY_PATCHLEVEL 139
+#define RUBY_PATCHLEVEL 140
#define RUBY_RELEASE_YEAR 2013
#define RUBY_RELEASE_MONTH 4