ruby-changes:18858
From: kosaki <ko1@a...>
Date: Tue, 15 Feb 2011 19:45:06 +0900 (JST)
Subject: [ruby-changes:18858] Ruby:r30883 (trunk): * configure.in: fix and resubmit r30621.
kosaki 2011-02-15 19:44:58 +0900 (Tue, 15 Feb 2011) New Revision: 30883 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30883 Log: * configure.in: fix and resubmit r30621. [ruby-dev:43203] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 30882) +++ configure.in (revision 30883) @@ -441,6 +441,7 @@ save_LDFLAGS= ]) +rb_cv_warnflags="$warnflags" if test "$GCC:${warnflags+set}:no" = yes::no; then particular_werror_flags=yes for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \ @@ -469,6 +470,8 @@ AS_CASE([" $warnflags "],[*" -Wno-missing-field-initializers "*], [wflag=-Wextra], [wflag=-Wall]) RUBY_TRY_CFLAGS($wflag, [warnflags="$wflag${warnflags+ $warnflags}"]) + # Disable warnflags while conftest. -Werror=* flags might make bad OS capability guess. + warnflags= fi if test "$GCC" = yes; then RUBY_TRY_CFLAGS(-fvisibility=hidden, [RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)]) @@ -2580,6 +2583,7 @@ CXXFLAGS=`echo "$CXXFLAGS" | sed "s|$archflagpat"'|$(ARCH_FLAG)|'` LDFLAGS=`echo "$LDFLAGS" | sed "s|$archflagpat"'|$(ARCH_FLAG)|'` fi +warnflags="$rb_cv_warnflags" AC_SUBST(cppflags, [])dnl AC_SUBST(cflags, ["$orig_cflags "'${optflags} ${debugflags} ${warnflags}'])dnl AC_SUBST(cxxflags, ["$orig_cxxflags "'${optflags} ${debugflags} ${warnflags}'])dnl Index: ChangeLog =================================================================== --- ChangeLog (revision 30882) +++ ChangeLog (revision 30883) @@ -1,3 +1,7 @@ +Tue Feb 15 19:43:23 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * configure.in: fix and resubmit r30621. [ruby-dev:43203] + Tue Feb 15 15:41:30 2011 NARUSE, Yui <naruse@r...> * array.c (array_join): copy the encoding of the first element as -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/