ruby-changes:34226
From: nobu <ko1@a...>
Date: Mon, 2 Jun 2014 09:46:51 +0900 (JST)
Subject: [ruby-changes:34226] nobu:r46284 (trunk): configure.in: remove rb_cv_typeof
nobu 2014-05-31 23:48:11 +0900 (Sat, 31 May 2014) New Revision: 46284 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46284&view=revision Log: configure.in: remove rb_cv_typeof * configure.in (rb_cv_typeof): no longer needed because of AC_C_TYPEOF. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 46283) +++ configure.in (revision 46284) @@ -1509,12 +1509,6 @@ EOH https://github.com/ruby/ruby/blob/trunk/configure.in#L1509 ])dnl ])dnl -AC_CACHE_CHECK(for typeof, rb_cv_typeof, - [AC_TRY_COMPILE([int i; typeof(i) j;], [], [rb_cv_typeof=yes], [rb_cv_typeof=no])]) -if test "$rb_cv_typeof" = yes; then - AC_DEFINE(HAVE_TYPEOF) -fi - dnl RUBY_FUNC_ATTRIBUTE(attrib, macroname, cachevar, condition) AC_DEFUN([RUBY_FUNC_ATTRIBUTE], [dnl m4_ifval([$2], dnl -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/