nobu
e9af789d35
* configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnable
...
ruby without current libraries.
* common.mk (rdoc): use XRUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-22 22:32:39 +00:00
nobu
2e5e8fd895
* configure.in (warnflags): use -Wextra instead of -Wall.
...
* gc.c (mark_current_machine_context): get rid of warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-22 22:28:52 +00:00
nobu
7c669071c4
* configure.in (cflags, cxxflags): remove duplicating options.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-10 09:59:19 +00:00
nobu
66150a89a6
* configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),
...
win32/mkexports.rb (each_export): exclude _threadptr_ functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-10 09:19:05 +00:00
nobu
8a99a39592
* configure.in: workaround for regexp metacharacters of expr in
...
prefix path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02 16:01:05 +00:00
nobu
e8f007e6b8
* configure.in (THREAD_MODEL): modified message when no thread
...
model is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 15:00:32 +00:00
nobu
42f0ea8c61
* configure.in (--enable-pthread): deprecated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 12:21:16 +00:00
nobu
5935818516
* configure.in (optflags): add -fomit-frame-pointer by default.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 02:58:24 +00:00
nobu
810775bb20
* configure.in (warnflags): check all flags if each are available.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 01:21:18 +00:00
nobu
99b41f3858
* configure.in (CAPITARGET): enable iff doxygen is available.
...
* configure.in (INSTALLDOC): enable if rdoc or doxygen are enabled.
* common.mk (docs): target to make documents.
* Makefile.in, win32/Makefile.sub (install-{all,nodoc}): trigger
by $(INSTALLDOC) from install.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 07:20:19 +00:00
akr
2c7d6b50e4
* configure.in (--enable-frame-address): removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 12:48:54 +00:00
nobu
4d3dac97ad
* common.mk (install-rdoc), configure.in (RDOCTARGET): removed
...
circular dependency. [ruby-dev:39339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 06:16:16 +00:00
nobu
c59abe419d
* configure.in (RUBY_USE_BUILTIN_FRAME_ADDRESS): check after real
...
target CPU is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 03:12:28 +00:00
nobu
f9b71b888c
* configure.in (RUBY_UNIVERSAL_ARCH): check real target CPU after
...
AC_PROG_CC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 03:01:28 +00:00
nobu
6b34fa44aa
* configure.in (RDOCTARGET): use install-all. [ruby-dev:39334]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 19:25:05 +00:00
nobu
3ab03a234d
* configure.in, common.mk, */configure.bat (rdoc): make before
...
install if rdoc is enabled. [ruby-dev:39325]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 02:23:47 +00:00
nobu
231fdd86ae
* configure.in (XLDFLAGS): link startup code with ObjC support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 09:48:45 +00:00
nobu
a4fbd748e2
* configure.in (GCC): subst for GCC depending extension libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 08:31:44 +00:00
nobu
1ce66c6203
* tool/config.{guess,sub}: better guess on darwin 10 .
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 12:38:15 +00:00
nobu
d328ffff91
* configure.in (debugflags): use gdb by default on linux and
...
darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 05:22:46 +00:00
nobu
c1dff9b357
* configure.in (XLDFLAGS): keep ARCHFILE macro on AIX.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 05:19:28 +00:00
nobu
8e295d4c17
* configure.in (RUBY_REPLACE_TYPE): define typename to default
...
type if the latter is found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 05:17:34 +00:00
naruse
649f648ec1
Fix for Linux compatibility
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 14:33:11 +00:00
naruse
0fd1688bf5
Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P.
...
* configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P
when AC_PROG_MKDIR_P doesn't set MKDIR_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25 13:36:32 +00:00
nobu
24dc34e3f4
* configure.in (DLDFLAGS): use linker_flag and changed undefined
...
and multiply_defined behaviors. cf [ruby-core:25086].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 17:16:40 +00:00
nobu
4f867dddc4
* configure.in (RUBY_CHECK_SIZEOF): set cross_compiling only when
...
universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 04:14:12 +00:00
nobu
7439c06ab7
* configure.in (RUBY_PROGRAM_VERSION, RUBY_RELEASE_DATE): extracts
...
from version.h for cross-compiling.
* template/fake.rb.in (RUBY_VERSION, RUBY_DESCRIPTION): use above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 22:14:58 +00:00
matz
529f149bfe
* dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient
...
memory space for Solaris. a patch from Naohisa GOTO
<ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132].
[ruby-dev:39062]
* configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent
check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19 16:10:06 +00:00
nobu
0ff3bf4f44
* configure.in (rubyhdrdir): fixed typo. [ruby-dev:39079]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-14 05:31:39 +00:00
nobu
c29206461f
* configure.in (RUBY_CHECK_SIZEOF): set cross_compiling to yes
...
only when AC_COMPUTE_INT, and inverted the arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13 09:40:12 +00:00
nobu
c9e7e6617b
* configure.in (RUBY_CHECK_SIZEOF): use AC_COMPUTE_INT instead of
...
_AC_COMPUTE_INT_COMPILE with cross compiling, since its arguments
have been changed at autoconf 2.64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13 09:22:12 +00:00
nobu
24c783e95e
* configure.in, Makefile.in (MAKEDIRS): used MKDIR_P instead of
...
as_mkdir_p. [ruby-dev:39063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13 07:20:16 +00:00
nobu
df9f513387
* configure.in (rb_cv_broken_crypt): needs more checks.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-12 02:52:00 +00:00
nobu
ce34147cf4
* configure.in, Makefile.in (TEST_RUNNABLE): tests are not
...
runnable if cross-compiling.
* common.mk (btest*, test*): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 02:13:00 +00:00
nobu
b0c869c983
* configure.in (MANGLED_PATH): disabled on cygwin and mingw.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16 09:33:51 +00:00
yugui
d154bc4c7d
* Doxyfile.in: removed. merged into template/Doxyfile.template
...
* configure.in: new checking for dot and doxygen.
* template/Doxyfile.template: merged with Doxyfile.in.
configured some options.
* common.mk (capi): use $(DOXYGEN) instead of "doxygen".
(Doxyfile): removed a duplicate entry in the dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-29 15:34:05 +00:00
nobu
b15fd851c6
* configure.in (ruby_version): defaults revision to 0 when no
...
revision.h exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-23 07:16:17 +00:00
nobu
12811c5932
* configure.in: remove PACKAGE_* macros generated by autotools.
...
[ruby-core:20938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-23 03:44:01 +00:00
nobu
a7dedc272e
* io.c (rb_io_fdatasync): new method IO#fdatasync.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-22 04:50:29 +00:00
nobu
4d3c75e2b0
* configure.in (ridir, RI_BASE_NAME): fixed for path expansion.
...
[ruby-core:23876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-17 16:09:30 +00:00
nobu
f0371f2f28
* configure.in (THREAD_MODEL): reject unknown value and checks
...
pthread.h only when pthread. [ruby-core:23577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-27 22:39:24 +00:00
yugui
8875ffc412
* configure.in ($ridir): new configuration. [ruby-core:23520].
...
c.f. [ruby-core:23519].
(--with-ridir): new configure option.
* tool/instruby.rb (:doc, :rdoc): uses $ridir instead of
a fixed path.
* lib/rdoc/ri/paths.rb: follows $ridir.
* Makefile.in: removes RIDATADIR which is no longer used.
* bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig.
removes RIDATADIR which is no longer used.
* win32/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23 16:07:46 +00:00
yugui
8d1e0c0a5a
* config.guess: moved into tool/.
...
* config.sub: ditto.
* install-sh: ditto
* configure.in: follows the moves.
* LEGAL: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 11:48:52 +00:00
yugui
a654e0b57b
* instruby.rb: moved into tool/.
...
* mkconfig.rb: ditto.
* rubytest.rb: ditto.
* runruby.rb: ditto.
* common.mk: follows the moves.
* configure.in: ditto.
* win32/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 11:48:42 +00:00
nobu
60a5a54e17
* configure.in (ruby_version): now version.h includes
...
include/ruby/version.h, so need to tell to cpp to see
$(srcdir)/include. [ruby-core:23468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16 00:03:31 +00:00
nobu
15fabcb2db
* Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):
...
program base name. [ruby-dev:38241]
* configure.in (--with-soname): base name of shared library.
[ruby-dev:38290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-08 01:14:14 +00:00
nobu
e6c0a7836c
* configure.in (CFLAGS, CXXFLAGS): strips extra spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 20:34:05 +00:00
nobu
fbcde451c5
* configure.in (ruby_version): uses sed instead of grep if the
...
result is need, to get rid of GREP_OPTIONS. [ruby-dev:38336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-27 07:47:14 +00:00
nobu
9bb7a8ccdd
* configure.in (ac_cv_func_daemon): use daemon(3) only on *BSD.
...
* process.c (proc_daemon): double fork to ensure not having ctty.
[ruby-core:23311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:21:49 +00:00
nobu
143846ad36
* dir.c (dir_path, dir_each, glob_helper): use readdir_r() if
...
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 00:25:43 +00:00
nobu
6e785b17b6
* configure.in (Makefile): phoeny ruby target needs empty command.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-10 23:45:59 +00:00
nobu
5c53294189
* configure.in (Makefile): info-program needs common.mk.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-09 19:54:10 +00:00
nobu
3a60f6efdc
* configure.in (RUBY_INSTALL_NAME): use --program-transform-name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-09 18:46:59 +00:00
akr
07aede586f
* configure.in: don't override the rule for ruby.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-09 14:59:51 +00:00
nobu
34f01201f9
* configure.in (LIBRUBY_SO): removed redundant additional version
...
numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-08 00:46:00 +00:00
nobu
d9921b1de6
* common.mk (info): shows configured names.
...
* configure.in (Makefile): works even if RUBY_INSTALL_NAME
contains macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:35:24 +00:00
nobu
99b38e10f7
* configure.in (LIBRUBY_DLDFLAGS): compatibility version is
...
ruby_version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:14:34 +00:00
nobu
4b4dc16feb
* configure.in (RUBY_REPLACE_TYPE): defines type modifier prefix
...
for printf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:10:21 +00:00
nobu
04d1fc84b4
* configure.in (RUBY_DEFINT): use AC_INCLUDES_DEFAULT.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 17:47:33 +00:00
nobu
c30f5e82a7
* configure.in (RUBY_DEFINT): should pass includes to
...
AC_CHECK_SIZEOF and RUBY_CHECK_SIZEOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 17:27:50 +00:00
nobu
254446f555
* configure.in (CFLAGS, CXXFLAGS): need ARCH_FLAG for universal
...
binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 17:25:28 +00:00
nobu
aa75b002de
* configure.in (CFLAGS, CXXFLAGS): override with $cflags and
...
$cxxflags if not given. [ruby-core:23130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 14:16:10 +00:00
nobu
d456f0aabe
* configure.in (CFLAGS, CXXFLAGS): use orignal values if given.
...
[ruby-core:23130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-06 11:16:15 +00:00
akr
3158c0f651
* configure.in (rb_cv_fork_with_pthread): fail if the child process
...
fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 11:40:38 +00:00
nobu
48d18d3783
* configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.
...
a patch from Wataru Kimura at [ruby-dev:38225].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 10:39:27 +00:00
nobu
0d3bf82f80
* configure.in: fixed the help strings for the header and library
...
dir switches, and updated to use AS_HELP_STRING. patches from
Richard Brown, c.f. [ruby-core:23067].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-31 06:17:38 +00:00
nobu
cc11923a9d
* configure.in (target_alias): replaces cpu with universal too.
...
* configure.in (target): replaces cpu with arch by --with-arch.
* mkconfig.rb (TOPDIR): chops arch in config instead of
RUBY_PLATFORM which varies on universal_binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-24 22:45:13 +00:00
nobu
22a3520dee
* configure.in (RUBY_CHECK_SIZEOF): need to include $4.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-24 10:23:45 +00:00
nobu
9bd7249fa5
* configure.in (libprefix): must not append "lib" after $(libdir),
...
when load_relative is not used on darwin. [ruby-dev:38182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20 00:23:01 +00:00
nobu
b7800329d3
* configure.in (RUBY_CHECK_SIZEOF): allows qualified name.
...
* configure.in (RUBY_REPLACE_TYPE): checks more strictly.
* configure.in (struct stat.st_size, struct stat.st_blocks),
(struct stat.st_ino): check for size.
* lib/mkmf.rb (check_sizeof): allows qualified name.
* file.c (rb_stat_ino, rb_stat_blocks): check by size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19 09:49:51 +00:00
akr
6156cc47f6
* configure.in (RUBY_CHECK_SIZEOF): pass [include] to AC_CHECK_SIZEOF.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-13 14:01:13 +00:00
nobu
d202fd4f97
* configure.in (CFLAGS, CXXFLAGS): moved after warnflags.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-13 09:58:05 +00:00
nobu
e9b98f413e
* configure.in (AC_HEADER_DIRENT): added.
...
* include/ruby/ruby.h (NUM2INT, rb_special_const_p): returns true
and false instead of Qtrue and Qfalse for platforms where VALUE
is bigger than int.
* gc.c (gc_stress_set), ext/openssl/ossl_asn1.c (decode_bool): got
rid of variables named `bool'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-13 01:42:21 +00:00
nobu
11e89eb719
* configure.in (struct stat.st_size): may be huge.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-13 01:16:38 +00:00
nobu
dd41485efb
* configure.in (RUBY_CHECK_SIZEOF): if same size type is found, no
...
more calculation is needed.
* configure.in (RUBY_DEFINT): falls back to RUBY_CHECK_SIZEOF if
size is not immediate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-12 00:30:55 +00:00
nobu
ab46076e38
* configure.in (warnflags): added some default flags,
...
pointer-arith, write-strings and shorten-64-to-32, but suppress
unused-parameter and missing-field-initializers, if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 20:49:07 +00:00
nobu
2b9df35cd0
* configure.in (RUBY_CHECK_HUGE): checks whether a value range is
...
larger than long.
* file.c (rb_stat_blocks): struct stat.st_blocks may be larger
than long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 20:27:07 +00:00
akr
de292258b9
* configure.in: strip spaces from ruby_version.
...
Sun C 5.9 SunOS_i386 Build47_dlight 2007/05/22 generates
`ruby_version= 1 "." 9 "." 1'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 17:12:35 +00:00
nobu
ee4fbaa37e
* configure.in (MANGLED_PATH): defines for RUBYLIB_PREFIX.
...
* ruby.c (ruby_init_loadpath_safe): uses string as buffer.
* symbian/setup (config_h): defines MANGLED_PATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 19:56:46 +00:00
nobu
d9d4df418b
* configure.in (MINIRUBY): keep macro into Makefile.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 19:53:18 +00:00
nobu
99bb6a3f76
* configure.in (RUBY_CHECK_SIZEOF): fix for fallback.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 19:43:24 +00:00
nobu
31d1d0a829
* configure.in (load_relative): new option to enable load path
...
relative to libruby_so.
* ruby.c (ruby_init_loadpath_safe): added the case using dladdr().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 15:06:22 +00:00
nobu
d6ffa4b918
* configure.in (RUBY_CHECK_SIZEOF): dirty hack to compute multiple
...
sizeof, for apple's universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 02:40:00 +00:00
nobu
f51f35a32f
* configure.in (universal_binary): checks if sizes are same on all
...
architectures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 13:06:05 +00:00
nobu
31c2bfe881
* configure.in: checks if cd really succeeded.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 09:47:05 +00:00
akr
f9690e0f9a
* configure.in: don't use CONFIG_SHELL for testing shell feature in
...
Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 05:26:00 +00:00
akr
94dc341e4b
* configure.in: fix the location of cdcmd.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 05:08:58 +00:00
akr
4210e54d26
* configure.in: the shell which runs configure may be different from
...
the shell for make. configure likes bash but Makefile specifies
SHELL=/bin/sh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 04:55:48 +00:00
nobu
e2421845df
* configure.in (RUBY_LIB_VERSION_STYLE): sets full or minor style
...
not to show RUBY_VERSION_MAJOR and so on.
* version.h (RUBY_LIB_VERSION): makes from RUBY_LIB_VERSION_STYLE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 10:25:41 +00:00
nobu
2a413f97a4
* configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
...
phisical directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 09:37:31 +00:00
nobu
9c14f3beee
* configure.in (MINIRUBY): use $(arch)-fake.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 09:31:53 +00:00
nobu
d34f9699fc
* configure.in, win32/configure.bat (--enable-win95): new option
...
to enable/disable win95 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 14:29:58 +00:00
nobu
43ba7d0058
* configure.in (mingw): checks if unicows.lib is available.
...
* win32/Makefile.sub (LIBS): links unicows.lib if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 11:27:12 +00:00
nobu
7c76900458
* template/fake.rb.in: extracted from Makefile.in.
...
* configure.in (fake.rb): prefixed with $(arch)-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 06:47:13 +00:00
nobu
6d3ceb6ce3
* configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:48:14 +00:00
nobu
e2f6281302
* configure.in (darwin): uses -unexported_symbol option of ld instead
...
of objcopy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:39:55 +00:00
nobu
c59107a9fa
* configure.in (darwin): makes dylib instead of so.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:24:43 +00:00
nobu
288e892a10
* configure.in (OBJCOPY): set ac_cv_prog_ac_ct_OBJCOPY to do nothing
...
on cygwin and mingw because symbols are exported by def file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 11:27:17 +00:00
nobu
03ee5fa027
* configure.in (ac_cv_func_flock): using flock defined in
...
win32/win32.c on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-13 00:43:31 +00:00
nobu
9565e98b6e
* configure.in: a patch to build on GNU/kOpenSolaris from Robert
...
Millan at [ruby-core:21888].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-12 07:50:28 +00:00
nobu
395abae93d
configure.in (when): use all parameters.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10 03:54:12 +00:00
nobu
d1ec929188
* configure.in: needs to quote commas.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-09 20:07:00 +00:00
nobu
4165800cae
* configure.in (when): makes parentheses balanced.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-09 19:34:43 +00:00
nobu
6dd9865ff2
* configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS),
...
(RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): add option(s)
without duplication.
* configure.in (RUBY_DEFINE_IF): changed parameter order, now
condition comes first.
* configure.in (universal_binary): checks architecture macros, and
improved thin load paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-08 04:09:34 +00:00
nobu
5610e5dc70
* configure.in (--with-arch): added new option to support
...
universal binary. replaced --enable-fat-binary option which
didn't work actually.
* configure.in (RUBY_FUNC_ATTRIBUTE): added conditional test.
* configure.in (ac_cv_type_getgroups): decalared because getgroups()
fills rest of the buffer with garbages on Rosetta.
* configure.in (alloca): defines only for powerpc, but always
create empty object to suppress ld warning.
* configure.in (LIBRUBY_DLDFLAGS): set compatibility version with
TEENY.
* configure.in (CFLAGS, LDFLAGS): separates ARCH_FLAG.
* configure.in (arch): renamed to "universal" from "fat".
* Makefile.in (ARCH_FLAG): added.
* include/ruby/defines.h (WORDS_BIGENDIAN): uses
AC_APPLE_UNIVERSAL_BUILD.
* missing/alloca.c (alloca): defines only if C_ALLOCA is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-07 09:02:50 +00:00
nobu
b3e665760e
* configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix for
...
NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 07:18:15 +00:00
nobu
1fbd605da8
* configure.in (MAJOR, MINOR, TEENY): uses RUBY_VERSION_*.
...
* mkconfig.rb (prefix): uses ruby_version in config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 05:26:22 +00:00
nobu
f4e9d9a2c5
* configure.in (RUBY_LIB_VERSION): added for library version, to
...
split from core version. [ruby-dev:37748]
* configure.in (RUBY_LIB_PATH, etc): moved actual version
dependent stuff to version.c.
* ruby.c (ruby_init_loadpath_safe): ditto.
* version.c (ruby_initial_load_paths): moved initial load path
version depending on version from ruby.c.
* version.h (RUBY_VERSION_{MAJOR,MINOR,TEENY}): now mean library
and API version, and reverted to 1.9.1. [ruby-dev:37889]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 02:21:37 +00:00
nobu
42e0d76c25
* common.mk (Doxyfile): moved from Makefile.in.
...
* template/Doxyfile.tmpl: split from Doxyfile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:10:28 +00:00
akr
678b9240ca
strip trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 09:34:36 +00:00
nobu
62e7e47bdb
* configure.in (optflags): defaulted to -O3 to get rid of slug of
...
gcc 4.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-31 09:09:01 +00:00
nobu
094a247a04
* configure.in (BASERUBY): erases RUBYOPT at the test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 05:12:17 +00:00
nobu
958874ba0a
* configure.in (OBJCOPY): not used on Windows.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 05:09:01 +00:00
nobu
97de7d1081
* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
...
parents.
* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
temprary rdoc.
* Makefile.in, win32/Makefile.sub (distclean): removes extout
directory.
* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
directories.
* common.mk (clean, distclean): cleans rdoc.
* configure.in (RMDIRS, RMALL): added to clean extout.
* lib/fileutils.rb (FileUtils#rmdir): added :parents option.
* lib/mkmf.rb (create_makefile): cleans installed files at clean
instead of distclean.
* lib/mkmf.rb (create_makefile): added clean-so and clean-rb.
* lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS.
* lib/un.rb (rmdir): added -p option.
* tool/rmdirs, win32/rmdirs.bat: removes directory and the parents.
* win32/rm.bat: added -r option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:06:29 +00:00
nobu
2d03f7274f
* Makefile.in (miniruby): renames and then removes, to get rid of
...
EPERM on cygwin and mingw.
* Makefile.in ($(LIBRUBY_SO)): use wildcard option of objcopy.
* configure.in (DLDFLAGS): do not export all symbols.
* cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixex with
Init_.
* win32/mkexports.rb (Exports::Mingw): includes all symbols except for
prefixed with Init_ as well as mswin32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-20 06:32:36 +00:00
nobu
4e6ad7d910
* include/ruby/defines.h (RUBY_ALIAS_FUNCTION_TYPE): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-19 08:28:28 +00:00
nobu
49e685a0af
* include/ruby/defines.h (RUBY_ALIAS_FUNCTION2): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-19 08:24:10 +00:00
yugui
fe011304e7
* configure.in (VCSUP): fixed the cases for git-svn or git.
...
* win32/Makefile.sub (VCSUP): ditto.
* Makefile.in (up): `cd' is necessary for git and git-svn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17 10:40:51 +00:00
nobu
67da4aebc5
* configure.in (darwin): get rid of strange settings issue of
...
apple gcc port, which searches /usr/local/include always but
/usr/local/lib not.
* ext/readline/readline.c (Init_readline): suppress warnings with
libedit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17 10:20:07 +00:00
nobu
72aa4a8c46
* configure.in (Makefile): set VCS and VCSUP.
...
* Makefile.in, win32/Makefile.sub (up): split from common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 08:33:02 +00:00
nobu
5b6a192755
* configure.in (RUBY_REPLACE_TYPE): does not define rb_ prefixed
...
name if no default type is given.
* configure.in (RUBY_DEFINT): checks size.
* include/ruby/ruby.h (VALUE): use uintptr_t if available.
* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX):
assumes usable if PRIdPTR is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 02:41:26 +00:00
nobu
ece0628ebe
* configure.in, win32/Makefile.sub (MISSING): added langinfo on mingw
...
and mswin.
* encoding.c (rb_locale_charmap): use environments on mingw and mswin.
* missing/langinfo.c (nl_langinfo_codeset): MS-Windows Japanese
environment uses Windows-31J derived from Shift_JIS, not EUC-JP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-15 04:10:16 +00:00
nobu
c6827f709c
* configure.in (cygwin): needs properly implemented nl_langinfo().
...
[ruby-core:21110]
* missing/langinfo.c: added as suggested at [ruby-core:21015], from
http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05 08:51:44 +00:00
nobu
ef7057fe2f
* encoding.c (rb_filesystem_encoding, rb_locale_charmap): uses
...
codepage on cygwin. [ruby-core:20994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04 06:41:43 +00:00
nobu
b8e79f34a2
* configure.in (Makefile): removes GNU make specific files on
...
distclean.
* Makefile.in (distclean-ext): removes extension directories.
* lib/mkmf.rb (try_do): removes conftest.dSYM
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-24 04:45:34 +00:00
nobu
d1af8511af
* configure.in (HAVE_LONG_LONG, HAVE_OFF_T): revised for autoconf
...
2.62 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-24 04:33:39 +00:00
nobu
39711b631f
* configure.in (OBJDUMP, OBJCOPY): autoconf list is not comma
...
separated.
* configure.in (AC_HEADER_STDC, AC_CHECK_HEADERS AC_CHECK_FUNCS):
removed duplicated checks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23 21:29:34 +00:00
yugui
c09e5abeee
* Doxyfile.in: new file. Template of a configuration file for
...
Doxygen.
Intorduces C-level API reference generation with Doxygen.
* tool/file2lastrev.rb: wrapper script that abstracts subversion
and git-svn.
* tool/strip-rdoc.rb: filter for preventing doxygen from processing
rdoc comments.
* configure.in: (Doxyfile): Doxyfile is generated together with
Makefile.
(PACKAGE): configuration $(PACKAGE) is necessary for $(docdir).
* instruby.rb: adds a new install target 'capi'
* common.mk (capi): new target that generates C API documents with
Doxygen.
(install-capi): new target.
(pre-install-capi): ditto.
(do-install-capi): ditto.
(post-install-capi): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 13:19:08 +00:00
nobu
9f3b77e435
* configure.in (mingw): no longer uses snprintf and vsnprintf of
...
msvcrt.
* win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed.
* win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later.
* win32/mkexports.rb (Exports#initialize): aliases
rb_w32_vsnprintf and rb_w32_snprintf for binary compatibility.
* sprintf.c (rb_str_format): uses snprintf instead of sprintf.
* numeric.c (flo_to_s, rb_num2long, rb_num2ll): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 03:05:20 +00:00
yugui
5c0b21b7b9
* configure.in (OBJDUMP, OBJCOPY):
...
*BSD's ports and MacPorts prefix GNU binutils with 'g'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17 06:37:20 +00:00
nobu
fbbfcc52f6
* configure.in (ac_cv_func_daemon): daemon(3) is deprecated on Mac OS
...
X 10.5 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 03:30:58 +00:00
nobu
ef1041167e
* configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Mac
...
OS X 10.5 or later. merged from MacPorts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 03:26:51 +00:00
tadf
8729368f14
* complex.c (nucomp_canonicalization): renamed.
...
* ext/math/complex.c: followed the above change.
* rational.c (nurat_canonicalization): renamed.
* ext/math/rational.c: followed the above change.
* configure.in: defines a new macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 23:40:55 +00:00
nobu
1eeeb00a0a
* configure.in (rb_version): greps only the line that defines version.
...
* version.h (RUBY_VERSION_CODE, RUBY_RELEASE_CODE): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 01:28:10 +00:00
nobu
a41eedddd3
* configure.in (LIBPATHFLAG): commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 14:54:43 +00:00
nobu
f65395f72e
* configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAG
...
is set. [ruby-talk:322136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 14:47:39 +00:00
nobu
a2a5343033
* Makefile.in (LIBRUBY_SO): localizes non-public symbols.
...
* configure.in (OBJDUMP, OBJCOPY): for dealing with binary files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 14:17:36 +00:00
matz
68a75f19e9
* signal.c (register_sigaltstack): use alternative stack for
...
SIGSEGV to avoid uncaught stack overflow. based on a patch from
Hiro Yoshioka <hyoshiok at miraclelinux.com> in [ruby-dev:37134].
[ruby-dev:36993]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-21 18:27:33 +00:00
nobu
5c759e6b1c
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-16 17:19:05 +00:00
nobu
1bd83c1fe0
* configure.in (LDSHARED): do not suppress debug info if higher debug
...
level is given, on cygwin and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-15 13:24:06 +00:00
kazu
e087f9ed6a
* configure.in: fix SEGV on Mac OS X 10.5.3 with pthread.
...
a patch from Wataru Kimura in Bug #193 [ruby-core:17333].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 11:50:57 +00:00
matz
0042ccef2c
* configure.in: detect stdio buffer pointers for uClibc. a patch
...
from Brian Candler <B.Candler at pobox.com> in [ruby-core:12020].
[ruby-core:19713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 22:10:58 +00:00
knu
6955f6977a
* configure.in (rb_cv_lib_xpg4_needed): Drop legacy FreeBSD
...
support regarding libxpg4. Those old versions of FreeBSD
shipped with the library don't have a working pthread library
anyway.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-29 04:05:15 +00:00
nobu
3cdf3ac9c9
* configure.in (dln-a-out): cannot make shared library nor work with
...
ELF. [ruby-core:19571]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-29 02:51:00 +00:00
yugui
fe7ce06150
* configure.in ($MANTYPE): followed ruby.1, which had moved.
...
* instruby.rb (:man): ditto.
* mdoc2man.rb: fixed for the case Xr with 2 arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 17:20:05 +00:00
yugui
5660e09f08
* configure.in (sitedir): considers --program-prefix and
...
--program-suffix.
(vendordir): ditto.
(rubyhdrdir): ditto.
* mkconfig.rb (CONFIG["rubylibdir"]): ditto.
* win32/Makefile.sub: ditto.
* instruby.rb (:rdoc): ditto.
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 14:05:49 +00:00
nobu
93e4ba927c
* configure.in (uncommon.mk): ignores failures at loading.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 09:15:00 +00:00
matz
69b4c69a72
* configure.in: applied OS/2 support patch from Brendan Oakley
...
<gentux2@gmail.com> in [ruby-core:18707].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-19 08:43:04 +00:00
matz
d7de44a8fc
* dln.c: newer BeOS support. a patch from Pete Goodeve
...
<pete.goodeve at computer.org> in [ruby-core:18712].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-19 00:33:19 +00:00
nobu
1b2f39fa09
* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
...
mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-07 21:50:32 +00:00