From 285cb99ba493a113098b78c9989cba5a870f2435 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 22 Mar 2001 08:59:26 +0000 Subject: * ruby.h: better inline function support. * configure.in (NO_C_INLINE): check if inline is available for the C compiler. * marshal.c (r_object): len calculation patch was wrong for machines SIZEOF_BDIGITS == SIZEOF_SHORT. * gc.c: alloca prototype reorganized for C_ALLOCA machine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 5e01de1500..5d299d88f6 100644 --- a/configure.in +++ b/configure.in @@ -374,10 +374,13 @@ main() ], rb_cv_func_strtod=yes, rb_cv_func_strtod=no, rb_cv_func_strtod=no)]) test $rb_cv_func_strtod = no && LIBOBJS="$LIBOBJS strtod.o" -AC_C_INLINE AC_C_BIGENDIAN AC_C_CONST AC_C_CHAR_UNSIGNED +AC_C_INLINE +if test "$ac_cv_c_inline" = no; then + AC_DEFINE(NO_C_INLINE) +fi AC_CACHE_CHECK(whether right shift preserve sign bit, rb_cv_rshift_sign, [AC_TRY_RUN([ -- cgit v1.2.3