ruby-changes:37713
From: nobu <ko1@a...>
Date: Sun, 1 Mar 2015 20:21:29 +0900 (JST)
Subject: [ruby-changes:37713] nobu:r49794 (trunk): configure.in: restore convertible type
nobu 2015-03-01 20:21:18 +0900 (Sun, 01 Mar 2015) New Revision: 49794 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49794 Log: configure.in: restore convertible type * configure.in (RUBY_REPLACE_TYPE): restore convertible type from cached variable, so that configured results will be stable. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 49793) +++ configure.in (revision 49794) @@ -1475,7 +1475,10 @@ AC_DEFUN([RUBY_REPLACE_TYPE], [dnl https://github.com/ruby/ruby/blob/trunk/configure.in#L1475 [ t=INT]) rb_cv_[$1]_convertible=${u}${t}]) - test "${AS_TR_SH(ac_cv_type_[$1])}" = "yes" && n="$1" + AS_CASE(["${rb_cv_[$1]_convertible}"], + [*LL], [n="long long"], + [*LONG], [n="long"], + [n="int"]) AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1], [u=-1]) AC_DEFINE_UNQUOTED(rb_[$1], $n) AC_DEFINE_UNQUOTED([SIGNEDNESS_OF_]AS_TR_CPP($1), $u) Index: ChangeLog =================================================================== --- ChangeLog (revision 49793) +++ ChangeLog (revision 49794) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Mar 1 20:21:16 2015 Nobuyoshi Nakada <nobu@r...> + + * configure.in (RUBY_REPLACE_TYPE): restore convertible type from + cached variable, so that configured results will be stable. + Sun Mar 1 18:10:34 2015 Nobuyoshi Nakada <nobu@r...> * configure.in (rb_cv_broken_memmem): check before adding the -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/