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

648 Коммитов

Автор SHA1 Сообщение Дата
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
kazu 6bf5c34cf2 * configure.in: Mac OS X's crypt(2) is broken with invalid salt.
[ruby-dev:35899]
* string.c (rb_str_crypt): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-07 08:57:53 +00:00
akr 2c78899641 * configure.in (BUILTIN_TRANSSRCS): defined.
(BUILTIN_TRANSOBJS): defined.

* enc/Makefile.in (BUILTIN_TRANSES): defined.

* enc/make_encmake.rb (BUILTIN_TRANSES): defined.

* enc/depend: don't generate rules for builtin transcoders.

* common.mk (COMMONOBJS): add BUILTIN_TRANSOBJS.
  (enc.mk): pass BUILTIN_TRANSOBJS.
  (newline.c): new rule.
  (newline.$(OBJEXT)): new ru.e
  (srcs): newline.c added.

* Makefile.in (BUILTIN_TRANSSRCS): defined.
  (BUILTIN_TRANSOBJS): defined.

* transcode.c (Init_transcode): call Init_newline.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-24 15:58:43 +00:00
nobu 504ed85dfe * configure.in (gmtime_r): check if reentrant versions are available.
* time.c (IF_HAVE_GMTIME_R, ASCTIME, GMTIME, LOCALTIME): use reentrant
  versions if available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-22 01:52:42 +00:00
shugo 65337c5b2d * configure.in: always check timezone().
* strftime.c (rb_strftime): prefer timezone/altzone rather than
  gettimeofday().  The second argument to gettimeofday() is ignored
  on Solaris.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-20 17:08:36 +00:00
shugo 99155ccbf2 * configure.in: removed strftime from AC_REPLACE_FUNCS().
* include/ruby/missing.h: removed prototype for strftime().
* missing/strftime.c: removed.
* time.c (time_to_s): use rb_strftime() instead of strftime(3).
  (time_zone): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-20 16:04:11 +00:00
nobu a91845f5b3 * configure.in (gnumake): check for GNU make.
* Makefile.in (uncommon.mk): includes filtered common.mk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-14 03:01:42 +00:00
nobu 3622cd196c * configure.in (rb_cv_gcc_function_alias): checks alias attribute.
* string.c (alias_func): replaced with RUBY_ALIAS_FUNCTION.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-13 15:43:55 +00:00
akr 36dd9a2221 * configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from
rb_broken_glibc_ia64_erfc.
  [ruby-core:18228]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-11 06:11:55 +00:00
nobu de0a9f726e * configure.in,parse.y: removed garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-10 03:15:37 +00:00
nobu a64266a728 * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
ext/digest/md5/md5.c, ext/openssl/ossl.c (main),
  ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int.

* main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is
  no longer used so long time.  based on a patch from Peter Bowen at
  [ruby-core:18208]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-09 23:15:08 +00:00
nobu cf7ad7e057 * configure.in (rb_cv_rshift_sign, rb_cv_binary_elf): get rid of
AC_TRY_RUN.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-09 12:10:54 +00:00
nobu 1c22ef1705 * configure.in (shutdown, sched_yield, pthread_attr_setinheritsched):
check for Haiku.

* eval_intern.h, io.c, thread_pthread.c: use autoconfisticated results.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-08 08:03:19 +00:00
naruse 48e21d2051 * eval_intern.h: Add support to Haiku. see [ruby-core:18110]
* include/ruby/defines.h: ditto.

* configure.in: ditto.

* thread_pthread.c: ditto.

* io.c: ditto.

* lib/mkmf.rb: ditto.

* ext/socket/getaddrinfo.c: ditto.

* ext/socket/extconf.rb: ditto.

* ext/socket/socket.c: ditto.

* ext/socket/addrinfo.h: ditto.

* ext/socket/getnameinfo.c: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-06 20:52:44 +00:00
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