ruby-changes:11519
From: nobu <ko1@a...>
Date: Tue, 7 Apr 2009 02:47:41 +0900 (JST)
Subject: [ruby-changes:11519] Ruby:r23147 (trunk): * configure.in (RUBY_DEFINT): use AC_INCLUDES_DEFAULT.
nobu 2009-04-07 02:47:33 +0900 (Tue, 07 Apr 2009) New Revision: 23147 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23147 Log: * configure.in (RUBY_DEFINT): use AC_INCLUDES_DEFAULT. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 23146) +++ configure.in (revision 23147) @@ -981,8 +981,8 @@ if test "${rb_cv_type_$1}" != no; then AC_DEFINE([HAVE_]AS_TR_CPP($1), 1) if test "${rb_cv_type_$1}" = yes; then - m4_bmatch([$2], [^[1-9][0-9]*$], [AC_CHECK_SIZEOF([$1], 0, [$4])], - [RUBY_CHECK_SIZEOF([$1], [$2], [], [$4])]) + m4_bmatch([$2], [^[1-9][0-9]*$], [AC_CHECK_SIZEOF([$1], 0, [AC_INCLUDES_DEFAULT([$4])])], + [RUBY_CHECK_SIZEOF([$1], [$2], [], [AC_INCLUDES_DEFAULT([$4])])]) else AC_DEFINE_UNQUOTED($1, [$rb_cv_type_$1]) AC_DEFINE_UNQUOTED([SIZEOF_]AS_TR_CPP($1), [SIZEOF_]AS_TR_CPP([$rb_cv_type_$1])) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/