ruby-changes:21558
From: nobu <ko1@a...>
Date: Tue, 1 Nov 2011 22:08:41 +0900 (JST)
Subject: [ruby-changes:21558] nobu:r33607 (trunk): * configure.in: reject llvm-gcc.
nobu 2011-11-01 22:08:30 +0900 (Tue, 01 Nov 2011) New Revision: 33607 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33607 Log: * configure.in: reject llvm-gcc. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 33606) +++ configure.in (revision 33607) @@ -289,6 +289,11 @@ AC_PROG_GCC_TRADITIONAL AC_SUBST(GCC) if test "$GCC" = yes; then + AC_TRY_LINK([ + @%:@if defined __llvm__ && !defined __clang__ + @%:@error llvm-gcc has ended + @%:@endif + ], [], [], [AC_MSG_ERROR(llvm-gcc has ended)]) linker_flag=-Wl, : ${optflags=-O3} AS_CASE(["$target_os"], [linux*|darwin*], [: ${debugflags=-ggdb}]) Index: ChangeLog =================================================================== --- ChangeLog (revision 33606) +++ ChangeLog (revision 33607) @@ -1,3 +1,7 @@ +Tue Nov 1 22:08:27 2011 Nobuyoshi Nakada <nobu@r...> + + * configure.in: reject llvm-gcc. + Tue Nov 1 21:39:00 2011 NARUSE, Yui <naruse@r...> * io.c (rb_cloexec_pipe): remove workaround of r33587. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/