knu
6bc480e059
* configure.in (--with-ruby-version): Add a new option to specify
...
the ruby version string for version specific directories.
[ruby-dev:35490]
* mkconfig.rb: Definition of ruby_version is now determined by the
configure script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 12:33:28 +00:00
nobu
f94f8f351e
* configure.in (sizeof ptrdiff_t): check for size of ptrdiff_t.
...
* include/ruby/ruby.h (PRI?PTRDIFF, PRI?SIZE): printf conversion
specifiers for ptrdiff_t and size_t/ssize_t.
* insns.def (leave), marshal.c (long_toobig), transcode.c
(str_transcode), vm_dump.c (control_frame_dump, stack_dump_each),
(debug_print_register, debug_print_pre): t and z length modifiers
are C99.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-12 13:17:29 +00:00
nobu
a2ec2f8b59
* configure.in (rb_cv_va_args_macro): check for __VA_ARGS__.
...
* thread.c (thread_debug): show source name and line if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-09 11:18:52 +00:00
akr
da1263d2ac
describe glibc version bit more accurate.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 13:16:43 +00:00
akr
53329fb622
refine configure message of broken erfc of glibc-2.3 on IA64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 08:50:23 +00:00
akr
f8348e1124
* configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch
...
on IA64 is broken. erfc(10000.0) aborts.
use missing/erf.c instead.
http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 07:22:06 +00:00
ko1
285066dd0b
* configure.in: need a ",".
...
* process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 21:53:40 +00:00
nobu
ac531a8aa8
* configure.in (rb_cv_fork_with_pthread): check after check for
...
pthread library, and define the macro when checked only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 08:20:42 +00:00
nobu
3d9c550bf9
* configure.in: check if fork works with pthread.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 06:54:58 +00:00
nobu
b5490da26b
* configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as
...
SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in
[ruby-core:17129].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07 13:15:04 +00:00
nobu
126abc5c47
* configure.in (CFLAGS, CXXFLAGS): append default flags.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07 07:06:19 +00:00
nobu
a76288cfc7
* configure.in (CFLAGS, CXXFLAGS): include additional flags to
...
CFLAGS and CXXFLAGS while configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04 04:07:01 +00:00
nobu
ccaed588cc
* Makefile.in, configure.in (warnflags): defaulted to -Wall
...
-Wno-parentheses with gcc. [ruby-dev:34810]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-31 06:58:11 +00:00
nobu
121ae83741
* configure.in (MINIRUBY): should not include extension library path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-11 08:57:40 +00:00
nobu
f3ad9bf9b3
* configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb.
...
[ruby-core:16642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-08 07:41:23 +00:00
shyouhei
31049a6fd6
* configure.in: use AC_USE_SYSTEM_EXTENSIONS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-22 07:03:32 +00:00
nobu
df5b0f317b
* configure.in (struct timespec): needs time.h according to POSIX.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-22 06:25:05 +00:00
nobu
b0c77fe85b
* Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.sub
...
(MINIOBJS, ARCHMINIOBJS): separated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-03 03:56:07 +00:00
nobu
4820648521
* configure.in (cflags): expand at compile time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-02 21:18:59 +00:00
nobu
05da1ec22d
* configure.in: get rid of empty expansion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01 05:43:40 +00:00
nobu
6b808e66af
* configure.in: quoted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01 04:07:25 +00:00
nobu
54e792ee6f
* configure.in: _setjmp is available but _longjmp is not on mingw.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01 02:36:21 +00:00
nobu
dc8359969e
* configure.in: __builtin_setjmp cannot handle a variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31 18:20:42 +00:00
nobu
b39676f6a9
* configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers
...
__builtin_setjmp, _setjmp over setjmp and sigsetjmp.
[ruby-core:16023], [ruby-core:16086]
* configure.in (--with-setjmp-type): new option to override the
default rule in the above.
* eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp),
vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and
RUBY_JMP_BUF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31 17:58:41 +00:00
nobu
9a421e5b7e
* configure.in: check for ssize_t. [ruby-dev:34184]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31 09:42:44 +00:00
akr
0ef84dcefc
* io.c: IO.copy_stream implemented. [ruby-dev:33843]
...
* thread.c (rb_fd_select): new function.
* configure.in (sys/sendfile.h): check the header file.
(sendfile): check the function.
(pread): check the function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-30 06:38:05 +00:00
nobu
1b6572295a
* configure.in: sitearch should use target_cpu. [ruby-core:15986]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-24 01:25:56 +00:00
nobu
a4394e3f49
* configure.in: unset GREP_OPTIONS. [ruby-core:15918]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 07:41:12 +00:00
tadf
6125552c27
both complex and rational are now builtin classes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-16 00:23:43 +00:00
nobu
7476940582
* configure.in (RUBY_LIB_PREFIX): fix for prefix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 07:59:25 +00:00
nobu
e5fb40c4fa
* configure.in (RUBY_LIB_PREFIX): use libdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 06:49:08 +00:00
naruse
668af7e99d
* configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,
...
uint32_t int64_t, uint64_t, int128_t, uint128_t,
intptr_t, uintptr_t): check if defined.
* win32/Makefile.sub: follow configure.in.
* ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 01:47:02 +00:00
nobu
4b31c84dae
* configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
...
directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 01:12:32 +00:00
nobu
fab87736fd
* trunk/configure.in (AC_CHECK_HEADERS): stdint.h is not needed to check.
...
* trunk/configure.in (rb_cv_type_uint32_t): unqouted. [ruby-dev:34030]
* trunk/string.c (hash): use inttypes.h instead of stdint.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-13 05:14:21 +00:00
nobu
db49143cda
* configure.in (stdint.h): check if presence.
...
* configure.in (uint32_t): check if defined.
* string.c (hash): fix for portability. [ruby-dev:34020]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-12 16:45:28 +00:00
nobu
e16fddf1a9
* configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime
...
load path. [ruby-list:44600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-20 15:01:36 +00:00
nobu
4804658649
* configure.in (ftruncate): check if available.
...
* file.c (rb_file_truncate): check if ftruncate instead of truncate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14 17:42:27 +00:00
nobu
82f631ac57
* configure.in (sigsetmask): check when signal semantics is not POSIX.
...
* signal.c (USE_TRAP_MASK): set true if sigprocmask or sigsetmask is
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14 17:40:56 +00:00
akr
b160d23c68
* math.c (math_cbrt): new method Math.cbrt.
...
* configure.in (cbrt): check for replacement functions.
* missing/cbrt.c: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-09 09:36:03 +00:00
akr
14373fc4db
* math.c (math_gamma): new method Math.gamma.
...
(math_lgamma): new method Math.lgamma.
* include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA.
(lgamma_r): declared unless HAVE_LGAMMA_R.
* configure.in (tgamma): check for replacement funtions.
(lgamma_r): ditto.
* missing/tgamma.c: new file. based on gamma.c from
"C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook
in C language) (Gijyutsu hyouron sha, Tokyo, 1991)
by Haruhiko Okumura.
* missing/lgamma_r.c: ditto.
* LEGAL (missing/tgamma.c): describe as public domain.
(missing/lgamma_r.c): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-07 01:43:43 +00:00
nobu
b00bc5f2a8
* configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L.
...
[ruby-dev:33584]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-04 07:44:26 +00:00
nobu
3940857f2b
* configure.in (darwin): disabled fat-binary support which confuses
...
configure much, since ``universal'' implies hidden cross-compiling.
TODO: ruby and libruby.bundle might be possible to bound with `lipo'
after builds for each archs. Anyway, config.h and rbconfig.rb must
be separated definitely at least.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-02 00:53:41 +00:00
nobu
cb355eebf0
* configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-01 12:42:40 +00:00
nobu
3fb0815d8c
* configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_t
...
consistent with the library implementation of MacOS X 10.5.
[ruby-dev:33461]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-01 03:43:48 +00:00
naruse
1a65f34057
* configure.in, common.mk: fix rule for dmytranscode.o.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-29 10:40:34 +00:00
matz
65a8185eb2
* configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) from
...
MINIRUBY since miniruby might not be able to load DLL.
* test/ruby/test_m17n.rb: move tests from bootstrap test.
* encoding.c (enc_find): should check name if ASCII compatible.
* string.c (rb_str_end_with): should check character boundary.
* encoding.c (rb_enc_compatible): encoding must be ASCII
compatible before checking ENC_CODERANGE_7BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-22 03:59:53 +00:00
nobu
df28713ee3
* configure.in (sigsetjmp): check if available.
...
* eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 02:21:55 +00:00
nobu
4239bc0501
* configure.in: Remove wrong assumptions about Cygwin. a patch from
...
Corinna Vinschen in [ruby-Bugs-17018].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 02:10:14 +00:00
nobu
2e8965863d
* common.mk (OBJS): moved encoding.o from COMMONOBJS.
...
* common.mk (dmyencoding.o): added. [ruby-dev:33099]
* configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added
dmyencoding.o.
* dmyencoding.c (rb_locale_charmap): returns nil for miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 16:19:02 +00:00
matz
7d8c42297e
* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
...
* bootstraptest/runner.rb (main): expand -I directory path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 14:32:46 +00:00