nobu
767d70841a
* Makefile.in (ASFLAGS): needs INCFLAGS.
...
* configure.in (rb_cv_dynamic_alloca): check if extra source for
dynamic size alloca.
* missing/x86_64-chkstk.s (___chkstk): necessary for alloca of
amd64-mingw32msvc-gcc on Ubutu.
* thread_win32.c (ruby_alloca_chkstk): check stack overflow
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 09:09:45 +00:00
nobu
7b410abfb8
* configure.in (rb_cv_gcc_atomic_builtins): check for atomic
...
builtins, all are not available in Apple derivative gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 00:13:37 +00:00
nobu
4d9a6ab181
* Makefile.in (pkgconfig-data): create pkg-config metadata file.
...
* tool/rbinstall.rb: install pkg-config metadata file.
* template/ruby.pc.in: template of pkg-config metadata file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25 15:29:32 +00:00
nobu
a45936d454
* configure.in (dev_t): use RUBY_REPLACE_TYPE.
...
* file.c (rb_stat_inspect): use PRI_DEVT_PREFIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 11:30:33 +00:00
naruse
51427700cc
* file.c (DEVT2NUM): added. Size of dev_t is depend on the
...
environment even if POSIX defines dev_t as unsigned integer.
For example, OpenVMS, 64bit Solaris 9, and NetBSD 6 defines
dev_t as 64bit unsigned integer.
* file.c (rb_stat_dev): use DEVT2NUM.
* file.c (rb_stat_dev_major): dev_t is not long. major(3)'s return
value is int.
* file.c (rb_stat_dev_minor): dev_t is not long. minor(3)'s return
value is int.
* configure.in: check size of dev_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 23:09:56 +00:00
nobu
cea3919ae6
* configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format
...
specifier if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 15:03:51 +00:00
nobu
83906099d0
* configure.in (RUBY_MINGW32): canonicalize only on mingw.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 01:39:11 +00:00
nobu
3ec721b9c2
* configure.in (RUBY_MINGW32): canonicalize as like mswin version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 01:20:11 +00:00
nobu
0ac2f9513f
* configure.in (RSHIFT): quote to get rid of argument expansion
...
for autoconf 2.68.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-09 07:54:42 +00:00
nobu
fc8c4690d5
* configure.in (Makefile): get rid of duplicated ruby target when
...
already there it was.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 10:44:30 +00:00
nobu
d3a8adc0de
* configure.in (LIBRUBY_DLDFLAGS): fix quoting.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-25 13:48:42 +00:00
nobu
bab83d2628
* configure.in (LIBRUBY_DLDFLAGS): use -unexported_symbol only
...
when available. http://trac.macports.org/ticket/26341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-25 01:30:52 +00:00
kosaki
4fd8930898
configure.in: Always add -mieee for Renesas SH4
...
SH4 is CPU for embedded which developed by Renesas Electronics.
Renesas SH4 has FPU. When FPU is used on sh4, -mieee of option is necessary.
This supports sh4(basic), sh4el(sh4 little endian) and sh4eb(sh4 big endian).
These do not have FPU though there are other sh4al, sh4al-dsp and etc.
[Feature #3874 ] [ruby-core:32548]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-25 00:52:20 +00:00
nobu
feacd3c2e0
* Makefile.in (install-cross): target to install cross-compiling
...
stuff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 16:34:56 +00:00
yugui
32e00d382f
* configure.in (--disable-install-doc): disables capi too, in addition
...
to rdoc.
(--disable-install-rdoc): a new option for disabling only rdoc.
(--disable-install-capi): a new option for disabling only capi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:27 +00:00
nobu
e8291588c9
* configure.in (LIBRUBY_SO): fix an oversight of replace
...
RUBY_INSTALL_NAME with RUBY_SO_NAME. a patch from Jeremy Evans
at [ruby-core:32474].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 04:44:31 +00:00
nobu
f2ff3eb6ec
* configure.in: read API version from include/ruby/version.h.
...
* {bcc,win}32/setup.mak (-version-): ditto.
* version.h (RUBY_LIB_VERSION): use API version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-24 01:11:14 +00:00
nobu
6eb922763f
* configure.in: fix typo. a patch from Eric Wong at
...
[ruby-core:31810].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-21 20:55:09 +00:00
nobu
dccf9e0c45
* configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
...
to declare exported function.
* array.c (rb_ary_memsize), string.c (rb_str_memsize),
variable.c (rb_objspace_data_type_memsize): used in
objspace. [ruby-dev:42022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 06:33:06 +00:00
nobu
45992b4b25
* ext/purelib.rb: no longer used since the default load path of
...
miniruby is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-02 22:52:25 +00:00
naruse
de06330e8b
* configure.in: not [freebsd] but [freebsd*] for AS_CASE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-28 17:38:56 +00:00
nobu
195a7da4ec
* configure.in (config.h): add include guard.
...
* win32/Makefile.sub, bcc32/Makefile.sub (config.h): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 09:18:21 +00:00
nobu
8e9a9cf0ec
* configure.in (XCFLAGS): missing.h needs config.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 05:38:23 +00:00
naruse
c6cda4e336
* configure.in: define BROKEN_CLOSE only on FreeBSD.
...
This needs to merge to 1.9.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 04:53:06 +00:00
naruse
201d99cc5f
* configure.in: define BROKEN_CLOSE on FreeBSD.
...
This fixes build failure on MSVC. [ruby-core:31481]
* include/ruby/ruby.h, include/ruby/missing.h:
use BROKEN_CLOSE for replacing close(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 03:05:25 +00:00
nobu
38c4242cf6
* configure.in (RUBY_MINGW32): ignore msvc suffix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-23 06:09:22 +00:00
nobu
b4080cf9ea
* configure.in (RUBY_TRY_CFLAGS): try with werror turned on.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-23 06:05:43 +00:00
nobu
85bf9bede4
* configure.in (XCFLAGS): reverted mistakenly removed option.
...
[ruby-dev:41872]
* include/ruby/missing.h: needs ruby/config.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-23 00:00:12 +00:00
nobu
1b1041f847
* configure.in (RUBY_EXTERN): unnecessary after all.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-22 11:59:03 +00:00
nobu
d5a1efdc61
* configure.in (RUBY_EXTERN): ignore invalid attribute.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-22 03:58:18 +00:00
nobu
cc703f2d56
* configure.in: fix for older autoconf.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-22 03:30:59 +00:00
nobu
0bd71ff354
* configure.in (XCFLAGS): use -fvisibility=hidden if possible.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-21 21:38:25 +00:00
nobu
6abe539cfc
* configure.in (RMDIR): use --ignore-fail-on-non-empty if possible.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-21 21:26:56 +00:00
nobu
3afa01255d
* configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-21 18:23:09 +00:00
nobu
9a8440e5d4
* configure.in: fix for universal binary.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-13 12:26:16 +00:00
nobu
7035fd6008
* configure.in (RUBY_DEFAULT_ARCH): adjust for target
...
cpu. [ruby-core:31243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-13 11:58:58 +00:00
naruse
8ff0574198
* missing/close.c: ignore ECONNRESET.
...
FreeBSD wrongly sets ECONNRESET on close(2) and
it causes false-negative exceptions. [ruby-dev:41778]
* configure.in: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-07 01:29:22 +00:00
kanemoto
78d48a330d
* thread_pthread.c (get_stack): use pthread_getthrds_np() for AIX.
...
* configure.in: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29 17:29:27 +00:00
nobu
967e3a3598
* configure.in (enable-debug-env): option for RUBY_DEBUG env.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-26 04:07:20 +00:00
nobu
419d8cd6a2
* configure.in (fchown): need to check. [ruby-core:30818]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22 21:44:37 +00:00
nobu
259c3a1c4c
* configure.in (rb_cv_large_fd_select): needed on mingw, even
...
though fd_mask is not available. [ruby-core:30401]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 01:35:38 +00:00
nobu
d6fe62e943
* configure.in (warnflags): removed -pedantic after all.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 09:12:14 +00:00
nobu
c6b6293bc1
* configure.in: fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 08:39:07 +00:00
nobu
c09c6ee579
* configure.in (warnflags): add -pedantic if gcc.
...
* include/ruby/ruby.h (rb_intern): C90 needs nonempty macro
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 08:35:18 +00:00
nobu
2b8fb39dcb
* configure.in (LIBRUBYARG_SHARED): shared library will not be
...
created unless enable-shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 04:55:48 +00:00
nobu
73997d38f4
* ruby.c (ruby_init_loadpath_safe): use real path for non-shared
...
build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 04:35:58 +00:00
nobu
6c05f91b3b
* dln.c (rb_w32_check_imported): check if extension library to be
...
loaded imports from different ruby dll.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 06:09:40 +00:00
kanemoto
fa0bec050f
* configure.in: can not load libruby.so if gcc is used with
...
--enable-shared on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-15 17:25:17 +00:00
akr
a00247f57a
* time.c (rb_big_abs_find_minbit): use ffs().
...
* configure.in: check ffs().
* missing/ffs.c: new file.
* include/ruby/missing.h (ffs): declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 13:23:20 +00:00
naruse
580677a984
* configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
...
On Solaris it can compile with signbit but can't link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-17 14:27:54 +00:00