aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * signal.c: Now, USE_TRAP_SIGMASK depend on HAVE_PTHREAD_SIGMASK.kosaki2011-06-281-1/+1
| | | | | | | | The code have already depended on pthread_sigmask since r27464. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (RUBY_SO_NAME): add CPU as prefixusa2011-05-161-0/+3
| | | | | | | of RUBY_SO_NAME on x64/ia64 mswin/mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* introduce missing/setproctitle.ckosaki2011-05-141-1/+9
| | | | | | | | | | | | | | | | * include/ruby/missing.h: add setproctitle() declaration. * missing/setproctitle.c: added. * configure.in: add check for missing/setproctitle.c. * ruby.c (ruby_process_options): add to call compat_init_setproctitle(). * ruby.c (set_arg0): remove all platform specific code. it's moved to missing/setproctitle.c. * ruby.c (origarg): remove len field. It's no longer used. * ruby.c (get_arglen): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: limit to "T" type for prefix of external symbolskou2011-05-121-1/+1
| | | | | | | | | | | because x86_64-w64-mingw32-gcc on Debian GNU/Linux generates the following symbol: 0000000068483390 D _GLOBAL__F__conftest_external Approved by nobu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.h (rb_thread_cond_t): add clockid field. it'skosaki2011-05-061-1/+9
| | | | | | | | | | | | | no longer an alias of pthread_cond_t. * thread_pthread.c: adapt new rb_thread_cond_t type. * thread.c (mutex_alloc): ditto. * thread_win32.c (native_cond_initialize): ditto. * configure.in: add check for pthread_cond_attr_setclock() and clockid_t type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_wait_for_single_fd): use ppoll() instead of poll()kosaki2011-05-061-1/+1
| | | | | | | | if possible. based on a patch from Eric Wong. [ruby-core:36003]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove nanosleep check. we no longer use it.kosaki2011-05-061-7/+1
| | | | | | | | r20124 removed last usage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_wait_for_single_fd): new. poll(2) based backend for ↵kosaki2011-05-041-1/+1
| | | | | | | | | | | | rb_wait_for_single_fd(). Now only Linux uses it. The patch was written by Eric Wong. [Ruby 1.9 - Feature #4531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (STRIP): use proper toolchain. based on a patchnobu2011-04-261-4/+3
| | | | | | from Jon Forums at [ruby-core:35909]. fixes #4617 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (ftruncate, truncate, ftello, fseeko): non-64nobu2011-04-261-0/+1
| | | | | | versions on mingw are useless because they use int32_t. fixes #4564 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Evaluate truncate, ftruncate and ftello existenceluislavena2011-04-111-3/+1
| | | | | | This corrects mingw-w64 compilation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: disable fdatasync again on Mac OS X.kosaki2011-04-031-0/+1
| | | | | | | | [ruby-core:35493][Bug #4500] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):nobu2011-03-081-0/+2
| | | | | | support paralell-make under ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setgroups): use getgrnam() if getgrnam_r() isnobu2011-03-081-1/+1
| | | | | | not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_REPLACE_TYPE): enclose in quotes for multiplenobu2011-03-081-1/+4
| | | | | | type names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.kosaki2011-03-061-17/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: save warnflags. the patch is created by Eric Wong.kosaki2011-03-041-0/+1
| | | | | | | | [Bug #4465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix and resubmit r30621. [ruby-dev:43203]kosaki2011-02-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r30621. That revision introduced mkmf testshyouhei2011-02-141-3/+0
| | | | | | | failures and it turned out to be OK to revert. [ruby-dev:43203] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rubygems): add --disable-rubygems option.nobu2011-02-111-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_MSG_CHECKING): fixed typo. the patch iskosaki2011-02-081-1/+1
| | | | | | | | created by Benoit Daloze. Thanks a lot. [Bug #4384][ruby-core:35148] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r30725. Now we have proper runtime fallback.kosaki2011-02-081-1/+0
| | | | | | | | Therefore, no need compile time disabling. (see r30762). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r30698.kosaki2011-01-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Mac OS X wrongly reports it has fdatasync(3).naruse2011-01-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--with-valgrind): Fixed r29683. Now this optionkosaki2011-01-281-3/+3
| | | | | | | | is really default on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* We don't only need to change "struct stat.st_size" test, but alsokosaki2011-01-281-1/+1
| | | | | | | | need to change "struct stat.st_blocks" test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add #include<sys/stat.h> when struct stat iskosaki2011-01-281-1/+1
| | | | | | | | tested. Otherwise, incomplete type dereference error will occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: redundant variable names made strange conftestkosaki2011-01-281-2/+2
| | | | | | | | error. Fixed it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Added mode_t type checking.kosaki2011-01-281-0/+1
| | | | | | | | | | | * process.c (rb_exec_arg_addopt): Use NUM2MODET() instead NUM2LONG because clang makes compile error by this narrowing conversion. * process.c (rb_run_exec_options_err): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should not use -Werror=* flags while conftests.nobu2011-01-211-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Fix incorrectly detected x86_64-w64-mingw32 dueluislavena2011-01-211-2/+0
| | | | | | canonalization of target_os. Bug #3889 [ruby-core:32634] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Fix rb_cv_va_args_macro was broken. We are usingkosaki2011-01-201-2/+4
| | | | | | | | | -Werror=implicit-function-declaration compile option. therefore we need a function declaration explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add '#include <stdlib.h>' tokosaki2011-01-201-0/+1
| | | | | | | | | rb_cv_localtime_overflow test too. It's reported by Tomoyuki Chikanaga. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add stdlib.h inclusion into rb_cv_negative_time_tkosaki2011-01-201-0/+1
| | | | | | | | | test becuase it's required for exit(3). The patch is created by Tomoyuki Chikanaga. [Bug #4287] [ruby-dev:43060] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): add -Werror=implicit-function-declarationnobu2011-01-151-2/+8
| | | | | | | | | if available. * lib/mkmf.rb (init_mkmf): ignore warnings in mkmf tests. * test/mkmf/base.rb (setup, teardown): restore config values. * test/mkmf/test_flags.rb: split from test_find_executable.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (RUNRUBY): require path shouldusa2011-01-141-1/+1
| | | | | | | include "." because rbconfig.rb is there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Kernel.#syscall): implemented on LP64/LLP64 environments too.yugui2011-01-091-1/+1
| | | | | | | also uses __syscall if available for *BSD on 64bit architecture. [ruby-core:34062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags), lib/mkmf.rb (configuration): turnnobu2010-12-311-3/+16
| | | | | | | | warnings into errors only for bundled extensions. [ruby-core:33815] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_archs): remove temporary objects.nobu2010-12-211-2/+2
| | | | | | * enc/Makefile.in, enc/depend (clean): remove work directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_advise): New API. IO#advise() allows to tell thekosaki2010-12-161-1/+1
| | | | | | | | | | | | | | ruby runtime how it expects to use a file handle. This feature can be improved a performance some situations. Note: This feature is mainly developed by Run Paint Run Run. Thank you! [ruby-core:33110] [Ruby 1.9-Feature#4038] * io.c (do_io_advise): Helper function. * io.c (io_advise_sym_to_const): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add -Werror=declaration-after-statement to defaultnaruse2010-12-141-0/+1
| | | | | | | warning flag. If you are using GCC, this flag is useful to prevent breaking VC build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (WERRORFLAG): flag to treatnobu2010-12-061-2/+1
| | | | | | | | | | | | | | warnings as errors. * lib/mkmf.rb (Logging.postpone): yield log file object. * lib/mkmf.rb (xsystem): add options, :werror only right now. * lib/mkmf.rb (with_werror): check as if warnings are errors. * lib/mkmf.rb (convertible_int): make declaration conflict warnings errors not to pass wrong type. [ruby-dev:42684] * lib/mkmf.rb (COMMON_MACROS): get rid of conflicts. * win32/Makefile.sub (WARNFLAGS): make declaration conflict warnings errors if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: link addr2line only for ELF.nobu2010-11-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c: added to show source filename and line number ofnaruse2010-11-261-1/+1
| | | | | | | | | | | | | | | | functions in backtrace. [ruby-dev:42625] a patch from shinichiro.h <shinichiro.hamaji AT gmail.com> * addr2line.h: ditto. * common.mk: add addr2line.$(OBJEXT). * configure.in: check dl_iterate_phdr. * vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in addr2line.c when the binary is ELF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.nobu2010-11-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (SITE_DIR, VENDOR_DIR),nobu2010-11-221-2/+10
| | | | | | | version.c (ruby_initial_load_paths): exclude directories that are configured without them from $LOAD_PATH. [ruby-core:33267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rubylibprefix): No ruby, No libprefix.nobu2010-11-221-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: support C level backtrace information on FreeBSD.naruse2010-11-121-0/+9
| | | | | | | | When devel/libexecinfo is installed on FreeBSD, now ruby can show C level backtrace information. http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libexecinfo/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DOT, DOXYGEN, PKG_CONFIG): tools running on buildnobu2010-11-111-6/+4
| | | | | | platform, no tool prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: ANSI C-conforming const and volatile are mandatorynobu2010-11-111-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e