From a8aa1e2127e6329e2f632a2296d3f36f1c6de2ac Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 27 Jul 2012 08:58:15 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ configure.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 624a6bca93..7f9eb34561 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 27 17:58:12 2012 Nobuyoshi Nakada + + * 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 * win32/mkexports.rb: should not export DllMain(). diff --git a/configure.in b/configure.in index e2a158e1f5..3bb58b3d39 100644 --- a/configure.in +++ b/configure.in @@ -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'