ruby-changes:42680
From: nagachika <ko1@a...>
Date: Mon, 25 Apr 2016 01:48:05 +0900 (JST)
Subject: [ruby-changes:42680] nagachika:r54754 (ruby_2_3): merge revision(s) 54716, 54719, 54750: [Backport #12314]
nagachika 2016-04-25 02:44:40 +0900 (Mon, 25 Apr 2016) New Revision: 54754 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54754 Log: merge revision(s) 54716,54719,54750: [Backport #12314] * configure.in: don't use the system-provided round(3) on AIX. In AIX, round(0.49999999999999994) returns 1.0. Use round() in numeric.c instead. * configure.in: add missing -lm for AIX. Modified directories: branches/ruby_2_3/ Modified files: branches/ruby_2_3/ChangeLog branches/ruby_2_3/configure.in branches/ruby_2_3/version.h Index: ruby_2_3/configure.in =================================================================== --- ruby_2_3/configure.in (revision 54753) +++ ruby_2_3/configure.in (revision 54754) @@ -1214,6 +1214,9 @@ main() https://github.com/ruby/ruby/blob/trunk/ruby_2_3/configure.in#L1214 ac_cv_func_isinf=yes ac_cv_func_isnan=yes ], +[aix*],[ LIBS="-lm $LIBS" + ac_cv_func_round=no + ], [nacl], [ LIBS="-lm $LIBS" if test "${nacl_cv_build_variant}" = "newlib"; then Index: ruby_2_3/version.h =================================================================== --- ruby_2_3/version.h (revision 54753) +++ ruby_2_3/version.h (revision 54754) @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1 #define RUBY_VERSION "2.3.0" -#define RUBY_RELEASE_DATE "2016-04-24" -#define RUBY_PATCHLEVEL 107 +#define RUBY_RELEASE_DATE "2016-04-25" +#define RUBY_PATCHLEVEL 108 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 4 -#define RUBY_RELEASE_DAY 24 +#define RUBY_RELEASE_DAY 25 #include "ruby/version.h" Index: ruby_2_3/ChangeLog =================================================================== --- ruby_2_3/ChangeLog (revision 54753) +++ ruby_2_3/ChangeLog (revision 54754) @@ -1,3 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1 +Mon Apr 25 02:29:07 2016 Rei Odaira <Rei.Odaira@g...> + + * configure.in: add missing -lm for AIX. + +Mon Apr 25 02:29:07 2016 Rei Odaira <Rei.Odaira@g...> + + * configure.in: don't use the system-provided round(3) on AIX. + In AIX, round(0.49999999999999994) returns 1.0. + Use round() in numeric.c instead. + Sun Apr 24 03:05:47 2016 Nobuyoshi Nakada <nobu@r...> * ruby.c: cygwin does not use w32_cmdvector, command line can be Property changes on: ruby_2_3 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r54716,54719,54750 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/