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

configure.in: get rid of duplication in CPPFLAGS

* configure.in (RUBY_CPPOUTFILE): get rid of variable conflict so
  CPPFLAGS is not duplicated.  [ruby-core:43097] [Bug #6119]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-07-27 08:58:15 +00:00
parent 044aa29b7d
commit a8aa1e2127
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Jul 27 17:58:12 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_CPPOUTFILE): get rid of variable conflict so
CPPFLAGS is not duplicated. [ruby-core:43097] [Bug #6119]
Fri Jul 27 12:12:36 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/mkexports.rb: should not export DllMain().

View file

@ -136,12 +136,12 @@ AC_DEFUN([RUBY_NACL_CHECK_PEPPER_TYPES],
AC_DEFUN([RUBY_CPPOUTFILE],
[AC_CACHE_CHECK(whether ${CPP} accepts -o, rb_cv_cppoutfile,
[cppflags=$CPPFLAGS
[save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS='-o conftest-1.i'
rb_cv_cppoutfile=no
AC_TRY_CPP([test-for-cppout],
[grep test-for-cppout conftest-1.i > /dev/null && rb_cv_cppoutfile=yes])
CPPFLAGS=$cppflags
CPPFLAGS="$save_CPPFLAGS"
rm -f conftest*])
if test "$rb_cv_cppoutfile" = yes; then
CPPOUTFILE='-o conftest.i'