ruby-changes:27973
From: naruse <ko1@a...>
Date: Mon, 1 Apr 2013 04:19:00 +0900 (JST)
Subject: [ruby-changes:27973] naruse:r40025 (trunk): * configure.in: kick old clang. [Bug #8192]
naruse 2013-04-01 04:18:41 +0900 (Mon, 01 Apr 2013) New Revision: 40025 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40025 Log: * configure.in: kick old clang. [ruby-dev:47204] [Bug #8192] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 40024) +++ configure.in (revision 40025) @@ -392,6 +392,13 @@ RUBY_NACL https://github.com/ruby/ruby/blob/trunk/configure.in#L392 AS_CASE(["$host_os:$build_os"], [darwin*:darwin*], [ AC_CHECK_TOOLS(CC, [gcc-4.2 clang gcc cc]) + # Following Apple deployed clang are broken + # clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 exported) + # Apple clang version 2.0 (tags/Apple/clang-137) (based on LLVM 2.9svn) + # Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) + if [ $CC = "clang" ] && $CC --version | grep 'clang version [12 ]\.' ; then + AC_MSG_ERROR(clang version 3.0 or later is required)]) + fi ]) if test x"${build}" != x"${host}"; then AC_CHECK_TOOL(CC, gcc) Index: ChangeLog =================================================================== --- ChangeLog (revision 40024) +++ ChangeLog (revision 40025) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Apr 1 04:16:41 2013 NARUSE, Yui <naruse@r...> + + * configure.in: kick old clang. [ruby-dev:47204] [Bug #8192] + Mon Apr 1 01:12:46 2013 Tanaka Akira <akr@f...> * include/ruby/ruby.h (FIX2ULONG): Make it consistent with NUM2ULONG. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/