summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-30 21:48:54 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-30 21:48:54 +0000
commit59c3230ff667ea65b2ed27dabb3c874943301a63 (patch)
tree87a3b4c9931a3a9d8d08bc39dd97921b14084fb2
parent458ef71dbf91ad2eb6c102a18bbc010c9038829f (diff)
* configure.in: fix r32835. $withval can't be used outer AC_ARG_WITH().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c52a728da..b8fcf41b79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Aug 31 06:45:32 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * configure.in: fix r32835. $withval can't be used outer AC_ARG_WITH().
+
Wed Aug 31 05:29:03 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
diff --git a/configure.in b/configure.in
index 66f7a9c4db..f763806b41 100644
--- a/configure.in
+++ b/configure.in
@@ -113,7 +113,7 @@ then
fi
AS_CASE(["$build_os"],
[darwin11.*], [
- test -z "$withval" && : ${CC=gcc-4.2}
+ : ${CC:=gcc-4.2}
AS_CASE(["x$CC"],
[xgcc-4.2|x/usr/bin/gcc-4.2], [: ${CXX=g++-4.2}],
[xgcc|x/usr/bin/gcc], [: ${CXX=g++}],