[前][次][番号順一覧][スレッド一覧]

ruby-changes:27976

From: ayumin <ko1@a...>
Date: Mon, 1 Apr 2013 08:16:28 +0900 (JST)
Subject: [ruby-changes:27976] ayumin:r40028 (trunk): * configure.in: use 'test' instead quadrigraph.

ayumin	2013-04-01 08:16:19 +0900 (Mon, 01 Apr 2013)

  New Revision: 40028

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40028

  Log:
    * configure.in: use 'test' instead quadrigraph.

  Modified files:
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 40027)
+++ configure.in	(revision 40028)
@@ -396,7 +396,7 @@ AS_CASE(["$host_os:$build_os"], https://github.com/ruby/ruby/blob/trunk/configure.in#L396
     # 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 test "$CC" = "clang" && $CC --version | grep 'clang version @<:@12 @:>@\.' ; then
         AC_MSG_ERROR([clang version 3.0 or later is required])
     fi
 ])

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]