mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e7bd7d936
commit
a6b625c538
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Apr 1 04:16:41 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]
|
||||
|
||||
Mon Apr 1 01:12:46 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* include/ruby/ruby.h (FIX2ULONG): Make it consistent with NUM2ULONG.
|
||||
|
|
|
@ -392,6 +392,13 @@ RUBY_NACL
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue