Skip to content

Commit a29386a

Browse files
committed
merge revision(s) 54716,54719,54750: [Backport ruby#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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent ed03c4d commit a29386a

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Tue Apr 26 13:22:45 2016 Rei Odaira <Rei.Odaira@gmail.com>
2+
3+
* configure.in: add missing -lm for AIX.
4+
5+
Tue Apr 26 13:22:45 2016 Rei Odaira <Rei.Odaira@gmail.com>
6+
7+
* configure.in: don't use the system-provided round(3) on AIX.
8+
In AIX, round(0.49999999999999994) returns 1.0.
9+
Use round() in numeric.c instead.
10+
111
Tue Apr 26 13:18:59 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
212

313
* ruby.c: cygwin does not use w32_cmdvector, command line can be

configure.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,9 @@ main()
11311131
ac_cv_func_isinf=yes
11321132
ac_cv_func_isnan=yes
11331133
],
1134+
[aix*],[ LIBS="-lm $LIBS"
1135+
ac_cv_func_round=no
1136+
],
11341137
[nacl], [
11351138
LIBS="-lm $LIBS"
11361139
if test "${nacl_cv_build_variant}" = "newlib"; then

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.2.5"
22
#define RUBY_RELEASE_DATE "2016-04-26"
3-
#define RUBY_PATCHLEVEL 316
3+
#define RUBY_PATCHLEVEL 317
44

55
#define RUBY_RELEASE_YEAR 2016
66
#define RUBY_RELEASE_MONTH 4

0 commit comments

Comments
 (0)