diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 7 insertions, 7 deletions
@@ -1,3 +1,10 @@ +Thu Feb 11 05:33:24 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * configure.in (int128_t): don't check HAVE_XXX (for example + HAVE___INT128) because RUBY_CHECK_SIZEOF() don't define it for + config.h and use of $ac_cv_sizeof___int128 alternates the check. + (and don't need to define because users shouldn't know that) + Wed Feb 10 12:03:41 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (ARFLAGS): check if deterministic mode flag is diff --git a/configure.in b/configure.in index 06b631bb43..4f371e51f3 100644 --- a/configure.in +++ b/configure.in @@ -2038,10 +2038,6 @@ if test "${rb_cv_type_$1}" != no; then t=AS_TR_SH($t) ]) cond= - AS_CASE([$t], [__int*], [ - cond="defined HAVE_"AS_TR_CPP($t) - echo "@%:@if $cond" >> confdefs.h - ]) 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, [AC_INCLUDES_DEFAULT([$4])])], @@ -2050,9 +2046,6 @@ if test "${rb_cv_type_$1}" != no; then AC_DEFINE_UNQUOTED($1, [$rb_cv_type_$1]) AC_DEFINE_UNQUOTED([SIZEOF_]AS_TR_CPP($1), [SIZEOF_]AS_TR_CPP([$rb_cv_type_$1])) fi - AS_IF([test -n "$cond"], [ - echo "@%:@endif /* $cond */" >> confdefs.h - ]) fi AS_VAR_POPDEF([cond])dnl AS_VAR_POPDEF([t])dnl |