1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (AC_PROG_CC): AC_PROG_CC tries clang at first on

darwin. [Bug #6816]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-08-02 04:24:13 +00:00
parent b79bf14ff2
commit 14bf66f252
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 2 13:23:08 2012 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in (AC_PROG_CC): AC_PROG_CC tries clang at first on
darwin. [Bug #6816]
Thu Aug 2 11:39:25 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c: return true or false. Patch by Dirkjan Bussink. [Bug #6821]

View file

@ -373,7 +373,9 @@ if test x"${build}" != x"${host}"; then
AC_CHECK_TOOL(CC, gcc)
fi
RUBY_MINGW32
AC_PROG_CC
AS_CASE(["$build_os"],
[darwin*], [ AC_PROG_CC(clang gcc cc) ],
[ AC_PROG_CC ])
AC_PROG_CXX
AC_PROG_GCC_TRADITIONAL
AC_SUBST(GCC)