aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * io.c (io_binwrite): use writev(2) to avoid double write if available.glass2014-01-151-0/+2
| | | | | | * configure.in: check writev(2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: -mstackrealignnobu2014-01-091-1/+4
| | | | | | | * configure.in: -mstackrealign is necessary for -msse2 working. [ruby-core:54716] [Bug #8349] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use SSE2nobu2014-01-091-1/+8
| | | | | | | * configure.in: use SSE2 instructions to drop unexpected precisions on other than mingw. [ruby-core:59472] [Bug #8358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix rpath flagnobu2014-01-051-5/+23
| | | | | | | | | * configure.in (RPATHFLAG): use -rpath if -R is not available. * configure.in (LIBRUBY_RPATHFLAGS): use RPATHFLAG instead of hardcoded -R option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: isfinitenobu2014-01-051-0/+1
| | | | | | | * numeric.c (flo_is_finite_p): prefer C99 standard isfinite() than deprecated finite(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: deprecated-declarationsnobu2014-01-051-0/+1
| | | | | | * configure.in: make deprecated declarations error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: LDFLAGS and DLDFLAGS for opt-dirnobu2014-01-011-10/+19
| | | | | | | * configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after LIBPATHFLAG and RPATHFLAG are set. [ruby-dev:47868] [Bug #9317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use SSE2nobu2014-01-011-0/+1
| | | | | | | * configure.in: use SSE2 instructions for drop unexpected precisions. [ruby-core:54738] [Bug #8358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/win32.c: mingw junglenobu2013-12-251-0/+2
| | | | | | | | | | | * configure.in: let mingw do something black-magic, and check if _gmtime64_s() is available actually. * win32/win32.c (gmtime_s, localtime_s): use _gmtime64_s() and _localtime64_s() if available, not depending on very confusing mingw variants macros. based on the patch by phasis68 (Heesob Park) at [ruby-core:58764]. [ruby-core:58391] [Bug #9119] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use RUBY_APPEND_OPTIONSnobu2013-12-201-1/+4
| | | | | | | | * configure.in: DLDFLAGS is defined in --with-opt-dir handler, so ${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead. [ruby-dev:47855] [Bug #9256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: remove options from commentsnobu2013-12-201-6/+8
| | | | | | | | * configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS), (RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): remove option lists, which can be multiple lines, from generated comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_ARG_WITH): use withval directly.naruse2013-12-201-1/+0
| | | | | | | fix failure on FreeBSD. http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: add $CPPFLAGSnobu2013-12-171-1/+1
| | | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): $CPPFLAGS is also needed to compile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use $DTRACEnobu2013-12-171-1/+1
| | | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): use configured $DTRACE instead of dtrace directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: move opt-dir optionnobu2013-12-171-18/+19
| | | | | | | * configure.in (opt-dir): move so that it can affect in configure not only after rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in, configure.in: cppflagsnobu2013-12-171-1/+1
| | | | | | | * Makefile.in, configure.in (cppflags): allow setting cppflags from the confiugre command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: build probes with systemtap's dtrace wrappertmm12013-12-171-1/+5
| | | | | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): Fix compatibility with systemtap on linux. stap requires `dtrace -G` post-processing, but the dtrace compatibility wrapper is very strict about probes.d syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefix in rubylibprefixnobu2013-12-141-9/+10
| | | | | | | | * configure.in (rubylibprefix): replace exec_prefix as well as bindir and libdir. a patch by kimuraw (Wataru Kimura) at [ruby-dev:47852]. [Bug #9160] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: use malloc_sizenobu2013-12-031-0/+2
| | | | | | | * configure.in: check malloc_size() available on BSD. * gc.c: use malloc_size() with malloc/malloc.h on BSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_keys): define st_keys(). it writes each key to buffer.glass2013-11-271-0/+2
| | | | | | | | | | | | | * hash.c (rb_hash_keys): use st_keys() for performance improvement if st_data_t and VALUE are compatible. * st.h: define macro ST_DATA_COMPATIBLE_P() to predicate whether st_data_t and passed type are compatible. * configure.in: check existence of builtin function to use in ST_DATA_COMPATIBLE_P(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby_atomic.h: use __atomic builtin functions supported by GCC.glass2013-11-261-5/+20
| | | | | | | | | | __sync family are legacy functions now and it is recommended that new code use the __atomic functions. http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html * configure.in: check existence of __atomic functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: use __builtin_bswap16() if possible.glass2013-11-241-0/+1
| | | | | | * configure.in: check existence of __builtin_bswap16(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix build failure on FreeBSD introduced by r43763.naruse2013-11-221-0/+2
| | | | | | | | malloc_usable_size() is defined by malloc_np.h on FreeBSD. * configure.in: check malloc.h and malloc_np.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: malloc_usable_sizenobu2013-11-211-0/+1
| | | | | | * gc.c (malloc_usable_size): use _msize() on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: malloc_usable_sizenobu2013-11-211-0/+1
| | | | | | | * gc.c (vm_xrealloc, vm_xfree): use malloc_usable_size() to obtain old size if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: --with-os-version-stylenobu2013-11-191-0/+23
| | | | | | | * configure.in (--with-os-version-style): option to transform target OS version string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LOCALTIME_OVERFLOW_PROBLEM): Define it for crossakr2013-11-181-1/+1
| | | | | | | | | | compiling. [ruby-core:58391] [Bug #9119] Reported by Luis Lavena. Analyzed by Heesob Park. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: -Werror=division-by-zeronobu2013-11-181-0/+1
| | | | | | | * configure.in (warnflags): make division-by-zero error for RUBY_CONST_ASSERT macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Use $LIBS for base of $SOLIBS, also in darwinsorah2013-11-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: check CFLAGS and LDFLAGSnobu2013-10-221-0/+19
| | | | | | | * configure.in: check if the given CFLAGS and LDFLAGS are working, and bail out early if not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: check by module handlesnobu2013-10-171-1/+1
| | | | | | | | | * win32/win32.c (console_emulator_p): check by comparison between module handle of WriteConsoleW and kernel32.dll. * configure.in, win32/Makefile.sub, win32/setup.mak: no longer need psapi.lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix for non-GNU-makenobu2013-10-171-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix FIRSTMAKEFILE confignobu2013-10-171-2/+4
| | | | | | | * configure.in (FIRSTMAKEFILE): AC_CONFIG_FILES needs the file arguments separating by a colon literally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cont.c: split conditionsnobu2013-10-071-12/+0
| | | | | | * cont.c (FIBER_USE_NATIVE): split long conditions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: add mingw FIBER_USE_NATIVEnobu2013-10-071-1/+6
| | | | | | * configure.in (FIBER_USE_NATIVE): add mingw condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: move FIBER_USE_NATIVE conditionsnobu2013-10-071-0/+7
| | | | | | | * configure.in, win32/Makefile.sub (FIBER_USE_NATIVE): move conditions from cont.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: disable console colorizingnobu2013-10-031-1/+1
| | | | | | | | * win32/win32.c (console_emulator_p, constat_handle): disable built-in console colorizing when console-emulator-like DLL is injected. [Feature #8201] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: RUNRUBY_COMMANDnobu2013-09-301-2/+5
| | | | | | | * configure.in, Makefile.in (RUNRUBY_COMMAND): separate from RUNRUBY, to use options for runruby.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: size_t must be unsignednobu2013-09-121-4/+8
| | | | | | | | | * configure.in (RUBY_CHECK_SIGNEDNESS): macro to check signedness of a type. * configure.in (size_t): must be unsigned. [ruby-core:57149] [Feature #8890] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix cross-compiling installation failurenobu2013-09-111-1/+1
| | | | | | | | * configure.in (RUNRUBY): append -- only after runruby.rb, not cross-compiling baseruby, so that $(RUN_OPT) can be command line options. [ruby-dev:47703] [Bug #8893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Define ac_cv_func_clock_getres to yes for mingw*.akr2013-09-061-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (with_gmp): set with_gmp no if it is empty.mrkn2013-09-051-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: libruby needs gmpnobu2013-09-041-1/+6
| | | | | | | | * configure.in (SOLIBS): LIBRUBY_SO also needs linking with gmp, to run worker processes in test-all on non-ELF platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_clock_getres): New method.akr2013-08-311-0/+1
| | | | | | | | | | | | | | (timetick2dblnum_reciprocal): New function. * configure.in: Check clock_getres. [ruby-core:56780] [Feature #8809] accepted at DevelopersMeeting20130831Japan https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130831Japan git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: Use GMP to accelerate big Bignum multiplication.akr2013-08-311-0/+10
| | | | | | | | | | | | (bary_mul_gmp): New function. (bary_mul): Use bary_mul_gmp. (bigsq): Use different threshold with GMP. * configure.in: Detect GMP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: check for sys/pstat.hnobu2013-08-281-0/+1
| | | | | | | * configure.in (sys/pstat.h): fix missing header check for missing/setproctitle.c on HP-UX. [ruby-core:56644] [Bug #8792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: clock_tnobu2013-08-231-1/+1
| | | | | | * configure.in (clock_t): needs time.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (unsigned_clock_t): Defined.akr2013-08-221-0/+1
| | | | | | | | | | | (rb_clock_gettime): Consider clock_t overflow for ISO_C_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID. * configure.in: Check the size of clock_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Define ac_cv_func_clock_gettime to yes for mingw*.akr2013-08-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: clock_gettimenobu2013-08-191-2/+3
| | | | | | | | * configure.in (clock_gettime): should not overwrite cache variable with different condtion. otherwise -lrt is not linked and the link fails, after reconfig. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e