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

* configure.in: move RUBY_MINGW32 after AC_PROG_CC.

RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]

* configure.in: don't use AC_PROG_CC in AS_CASE.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-08-03 08:27:04 +00:00
parent 7ed6c4eec8
commit a713b37640
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Fri Aug 3 17:25:49 2012 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: move RUBY_MINGW32 after AC_PROG_CC.
RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]
* configure.in: don't use AC_PROG_CC in AS_CASE.
Fri Aug 3 17:21:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/runner.rb: get rid of loading previously installed gems.

View file

@ -372,11 +372,12 @@ RUBY_NACL
if test x"${build}" != x"${host}"; then
AC_CHECK_TOOL(CC, gcc)
fi
RUBY_MINGW32
AS_CASE(["$build_os"],
[darwin*], [ AC_PROG_CC(clang gcc cc) ],
[ AC_PROG_CC ])
[darwin*], [ cc_list="clang gcc cc" ],
[ cc_list="gcc cc" ])
AC_PROG_CC([$cc_list])
AC_PROG_CXX
RUBY_MINGW32
AC_PROG_GCC_TRADITIONAL
AC_SUBST(GCC)
AC_CHECK_TOOL([LD], [ld], [ld])