diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-06 17:47:33 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-06 17:47:33 +0000 |
| commit | 8730b5a3ba495abea90eb0253a1c4571b1474380 (patch) | |
| tree | 095dbcb9c6b1a0585e40f8f330a903650aef2e6e | |
| parent | 144a87d8c9ffda5639d45cbced652002ed9d93ba (diff) | |
| download | ruby-8730b5a3ba495abea90eb0253a1c4571b1474380.tar.gz ruby-8730b5a3ba495abea90eb0253a1c4571b1474380.tar.xz ruby-8730b5a3ba495abea90eb0253a1c4571b1474380.zip | |
* configure.in (RUBY_DEFINT): use AC_INCLUDES_DEFAULT.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7a7b4f618..9c93bd9ae 100644 --- a/configure.in +++ b/configure.in @@ -981,8 +981,8 @@ typedef $1 t; int s = sizeof(t) == 42;])], 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])) |
