Граф коммитов

584 Коммитов

Автор SHA1 Сообщение Дата
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