[Bug #3579] RHEL5$B$N(Bautoconf-2.59$B$@$H(Bruby-1.8.7-p299$B$G(Bautoconf$B$,<:GT$9$k(B

Bug #3579:
RHEL5e$B$Ne(Bautoconf-2.59e$B$@$He(Bruby-1.8.7-p299e$B$Ge(Bautoconfe$B$,<:GT$9$ke(B
http://redmine.ruby-lang.org/issues/show/3579

e$B5/I<<Te(B: Motohiro KOSAKI
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Shyouhei U., e$B%+%F%4%je(B: build, Target version:
Ruby 1.8.7
ruby -v: 1.8.7-p299

http://pastebin.com/h4g8vDZb

=================================================================
[smbd@dti-vps-srv19 ruby-1.8.7-p299]$ rpm -q autoconf
autoconf-2.59-12
[smbd@dti-vps-srv19 ruby-1.8.7-p299]$ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[smbd@dti-vps-srv19 ruby-1.8.7-p299]$ autoconf
configure.in:556: error: possibly undefined macro: AS_CASE
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.in:556: error: possibly undefined macro: m4_bmatch
configure.in:556: error: possibly undefined macro: AS_TR_SH
configure.in:557: error: possibly undefined macro: m4_if

e$B860x$Oe(B
e$B!&e(BRHEL5e$B$Ne(Bautoconfe$B$Oe(B2.59
e$B!&e(BAS_CASEe$B$Oe(Bautoconf 2.60e$B0J9_$G%5%]!<%He(B
e$B!&e(B1.8.7-p299e$B$Ne(Bconfigure.ine$B$Oe(B AC_PREREQ(2.58)
e$B$H@k8@$5$l$F$$$ke(B

e$B$H$$$&$"$?$j$+$H!#%H%j%,!<$H$J$C$?%3%_%C%H$O0J2<e(B

=================================================================
commit 98e7a2abca70fd044d5db7e1404c218e74abbd33
Author: shyouhei shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Date: Tue Jun 8 08:42:55 2010 +0000

merge revision(s) 27721:27725,27738:27740:
    * pack.c: backport integer pack/unpack from 1.9 for 

[ruby-core:21937].
* configure.in: backport RUBY_DEFINT and fixed size integer
checks.
* ruby.h: include stdint.h if available.
* bignum.c (rb_big_pack): defined…
(rb_big_unpack): defined.
* intern.h (rb_big_pack): declared.
(rb_big_unpack): declared.
* pack.c (pack_pack): call rb_quad_pack to preserve RangeError.

git-svn-id: 

svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28220
b2dd03c8-39d4-4d8f-98ff-823fe69b080e

diff --git a/ChangeLog b/ChangeLog
index eb81de2…66123e2 100644
— a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+Tue Jun 8 17:32:37 2010 Tanaka A. [email protected]
+

  •   * pack.c (pack_pack): call rb_quad_pack to preserve RangeError.
    

+Tue Jun 8 17:32:37 2010 Tanaka A. [email protected]
+

  •   * pack.c: backport integer pack/unpack from 1.9 for 
    

[ruby-core:21937].
+

  •   * configure.in: backport RUBY_DEFINT and fixed size integer 
    

checks.
+

  •   * ruby.h: include stdint.h if available.
    
  •   * bignum.c (rb_big_pack): defined..
    
  •     (rb_big_unpack): defined.
    
  •   * intern.h (rb_big_pack): declared.
    
  •     (rb_big_unpack): declared.
    

=================================================================

e$BKNIt$5$s!"e(B

e$B#1!%e(BAC_PREREQ(2.60) e$B$KJQ$($ke(B
e$B#2!%LdBj$N%3%_%C%H$re(Brevert
e$B#3!%e(BAS_CASEe$B$NItJ,$re(B1.8.7e$B%a%s%F%J$,%b%j%b%j=q$-D>$9e(B

e$B$N#3Br$+$iA*$V$H$7$?$i$I$l$,$h$$$G$9$+!)e(B
e$B2?$rJ9$$$F$$$k$+$H$$$&$He(BRubye$B$H$+e(BRoRe$B$G$Ne(BRHEL5e$B!J$He(BCentOS5e$B!K$N;HMQN($,J,$+$i$J$$$N$G0lHV4JC1$Je(B
e$B#1$rA*$s$G$7$^$C$F$$$$$N$+3N?.$,;}$F$J$$!#$H$$$&;v$J$s$G$9$,!#e(B

e$B%A%1%C%He(B #3579 e$B$,99?7$5$l$^$7$?!#e(B (by Motohiro KOSAKI)

e$B%*%j%8%J%k$NJs9p$O$3$3e(B

http://twitter.com/smbd/status/18694883260

e$B$J$N$G!"=$@5$9$k$H$-$N<U<-$Oe(B Mitsuru SHIMAMURA
e$B$5$s$G$*4j$$$7$^$9e(B > e$B=$@5$9$k?Me(B
e$B!J<+J,$K$J$j$=$&$J5$$,$9$k$1$I!Ke(B


http://redmine.ruby-lang.org/issues/show/3579

e$B$J$+$@$G$9!#e(B

At Sat, 17 Jul 2010 01:36:32 +0900,
Motohiro KOSAKI wrote in [ruby-dev:41856]:

e$B#1!%e(BAC_PREREQ(2.60) e$B$KJQ$($ke(B
e$B#2!%LdBj$N%3%_%C%H$re(Brevert
e$B#3!%e(BAS_CASEe$B$NItJ,$re(B1.8.7e$B%a%s%F%J$,%b%j%b%j=q$-D>$9e(B

e$B$N#3Br$+$iA*$V$H$7$?$i$I$l$,$h$$$G$9$+!)e(B

e$B$=$l$Oe(B1e$B$G$7$g$&!#e(B

e$B2?$rJ9$$$F$$$k$+$H$$$&$He(BRubye$B$H$+e(BRoRe$B$G$Ne(BRHEL5e$B!J$He(BCentOS5e$B!K$N;HMQN($,J,$+$i$J$$$N$G0lHV4JC1$Je(B
e$B#1$rA*$s$G$7$^$C$F$$$$$N$+3N?.$,;}$F$J$$!#$H$$$&;v$J$s$G$9$,!#e(B

autoconfe$B$r<B9T$9$kI,MW$,$"$k$N$O!"e(Bsvn(e$B$+e(Bgit)e$B$G:G?7$rDI$$$+$1$k?Me(B
e$B$@$1$G$9!#$=$&$$$&?M$OEvA3e(Bautoconfe$B$b:G?7$rMQ0U$G$-$k$3$H$rA0Ds$Ke(B
e$B$7$^$9!#$G$J$1$l$Pe(Bsnapshote$B$Ne(Btarballe$B$r;H$C$F$/$@$5$$!#e(B

2010e$BG/e(B7e$B7ne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ESCf$GMW5ae(Bautoconfe$B$,HG$,JQ$o$k$N$b9g0U$G$-$F$$$k$HM}2r$7$^$7$?!#e(B
e$B$3$A$i$Ge(B ruby_1_8 e$B$He(B ruby_1_8_7 e$B$KF~$l$H$-$^$9!#e(B

ruby_1_8e$B$O0J2<$N%Q%C%A$G$9$G$Ke(B2.60e$B$KJQ99$5$l$F$$$k$3$H$,J,$+$C$?$N$G!"e(Bruby_1_8_7e$B$@$1JQ99$7$F$*$-$^$7$?!#e(B

commit fc086c352e5a46a4ae72aa9857d5a53e180b6db5
Author: shyouhei shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Date: Wed Jul 2 09:04:54 2008 +0000

    * configure.in (AC_USE_SYSTEM_EXTENSIONS): instead of AC_AIX

    * lib/mkmf.rb (create_tmpsrc): we need to include 

COMMON_HEADERS,
namely inclusion of ruby.h, because _GNU_SOURCE is now defined
there (if any) and socket.so requires it on Linux systems.

git-svn-id:

svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17793
b2dd03c8-39d4-4d8f-98ff-823fe69b080e

diff --git a/configure.in b/configure.in
index f56faad…682e5a0 100644
— a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT()

-AC_PREREQ(2.58)
+AC_PREREQ(2.60)