* configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ayumin 2013-03-31 22:19:55 +00:00
parent 45334da911
commit ec61b0794a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Apr 1 07:15:03 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]
Mon Apr 1 04:16:41 2013 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]

View File

@ -396,7 +396,7 @@ AS_CASE(["$host_os:$build_os"],
# 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
if @<:@ $CC = "clang" @:>@ && $CC --version | grep 'clang version @<:@12 @:>@\.' ; then
AC_MSG_ERROR([clang version 3.0 or later is required])
fi
])