summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2016-04-30* string.c (search_nonascii): unroll and use ntznaruse
* configure.in (__builtin_ctz): check. * configure.in (__builtin_ctzll): check. * internal.h (rb_popcount32): defined for ntz_int32. it can use __builtin_popcount but this function is not used on GCC environment because it uses __builtin_ctz. When another function uses this, using __builtin_popcount should be re-considered. * internal.h (rb_popcount64): ditto. * internal.h (ntz_int32): defined for ntz_intptr. * internal.h (ntz_int64): defined for ntz_intptr. * internal.h (ntz_intptr): defined as ntz for uintptr_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27* configure.in (rb_cv_lgamma_r_pm0): check if lgamma_r(+0.0)odaira
returns positive infinity, in addition to lgamma_r(-0.0). AIX returns an incorrect result of negative infinity. * math.c (ruby_lgamma_r): handle +0.0, in addition to -0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27* time.c: define _DEFAULT_SOURCE because glibc 2.20 depracatesnaruse
_BSD_SOURCE. https://sourceware.org/glibc/wiki/Release/2.20 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-25configure.in: do not create unnecessary verconf.hnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-24* configure.in: add missing -lm for AIX.odaira
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-23configure.in: move cache variable for AIX roundnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22* configure.in: don't use the system-provided round(3) on AIX.odaira
In AIX, round(0.49999999999999994) returns 1.0. Use round() in numeric.c instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-21fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-21ifchange: ignore unmatch TEST_COLORSnobu
* configure.in: check if succeeded in creating config.h. * tool/ifchange: ignore failures when TEST_COLORS unmatched. just use the default value if expected name is not contained in it. [ruby-core:75046] [Bug #12303] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-14configure.in: feature macros on cygwinnobu
* configure.in (cygwin): add feature macros for the declarations of eaccess. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-14configure.in: tabifynobu
* configure.in: tabify spaces after a tab. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-06configure.in: fix lgamma_r conditionnobu
* configure.in (rb_cv_lgamma_r_m0): fix the condition for lgamma_r(-0.0). [Bug #12249] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-06configure.in: check lgamma_r(-0.0)nobu
* configure.in (rb_cv_lgamma_r_m0): check if lgamma_r(-0.0) returns negative infinity. [Bug #12249] * math.c (ruby_lgamma_r): define by the configured result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-01improve git repository detectionnobu
* configure.in (AC_CONFIG_FILES): $srcdir/.git can be a file pointing the real git_dir, such as when the git working tree is a "linked working tree" (a working tree created by git-worktree). So use git-rev-parse --git-dir to check if $srcdir is the top-level of a git repository, not just checking if the $srcdir/.git directory does exist or not. [ruby-core:74759] [Bug #12239] * tool/change_maker.rb: use tool/vcs.rb to detect VCS. This used to have its own VCS detection code, while we have tool/vcs.rb. * tool/vcs.rb (detect): remove code duplication git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-18* configure.in (rb_cv_member_struct_tm_tm_gmtoff): For Linux (glibc)naruse
define _BSD_SOURCE for time.h to define struct tm.tm_gmtoff. * time.c: define _BSD_SOURCE at the top. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-28configure.in: fold summarynobu
* configure.in: fold long lines in configuration summary git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-28configure.in: summarynobu
* configure.in: Add summary to end of configure output. [Fix GH-1277] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-28configure.in: no leading spacesnobu
* configure.in (cflags, cppflags): remove unnecessary leading spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-11configure.in: fix universal binarynobu
* configure.in (RUBY_CHECK_SIZEOF, RUBY_DEFINT): fix for types which are conditionally available depending on architectures when universal binary, e.g., __int128. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-11configure.in: use quadrigraphsnobu
* configure.in (RUBY_DEFINT): use quadrigraphs instead of bare hash signs not to comment out closing parenthesis. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10* configure.in (RUBY_DEFINT): use Parameter Expansion.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10fix r53801: the argument should remove UNSIGNEDnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10* configure.in (int128_t): don't check HAVE_XXX (for examplenaruse
HAVE___INT128) because RUBY_CHECK_SIZEOF() don't define it for config.h and use of $ac_cv_sizeof___int128 alternates the check. (and don't need to define because users shouldn't know that) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10configure.in: remove unnecessary qualifiernobu
* configure.in (RUBY_DEFINT): remove unnecessary unsigned qualifier from preprocessing symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10ARFLAGS needs a spacenobu
* configure.in (ARFLAGS): needs a trailing space to separate from the target library name, whereas VC linker flag must not separate from its argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10configure.in: unique namesnobu
* configure.in (RUBY_CHECK_SIZEOF): make variable names unique with rbcv_sizeof_ prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10check ar D flagnobu
* configure.in (ARFLAGS): check if deterministic mode flag is effective, which is on by default on Ubuntu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-06Revert "check __int64_t and __int128_t"naruse
This reverts commit r53750. Those types seems to be for C++, and breaks old GCC. http://rubyci.s3.amazonaws.com/c64b/ruby-trunk/log/20160206T130202Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-06fix types ordernobu
* configure.in: types without _t have prior than types with _t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-06check __int64_t and __int128_tnobu
* configure.in: check __int64_t and __int128_t for RUBY_DEFINT on OS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-05configure.in: fix doc [ci skip]nobu
* configure.in (RUBY_CHECK_SIGNEDNESS): [DOC] fix function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-05* insns.def (opt_mult): Use int128_t for overflow detection.naruse
* bignum.c (rb_uint128t2big): added for opt_mult. * bignum.c (rb_uint128t2big): added for rb_uint128t2big.. * configure.in: define int128_t, uint128_t and related MACROs. Initially introduced by r41379 but reverted by r50749. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19configure.in: suppress warningsnobu
* configure.in (warnflags): suppress warnings caused by macro expansion with clang (and maybe -save-temps option). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19configure.in: suppress warningsnobu
* configure.in (warnflags): suppress warnings caused by macro expansion with clang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-17* configure.in: improve ICC (Intel C Compiler) support.naruse
* configure.in (CXX): The name of icc's c++ compiler is `icpc`. * configure.in (warnings): Add `-diag-disable=2259` to suppress noisy warnings: "non-pointer conversion from "..." to "..." may lose significant bits". * configure.in (optflags): Add `-fp-model precise` like -fno-fast-math. * lib/mkmf.rb: icc supports -Werror=division-by-zero and -Werror=deprecated-declarations, but doesn't support -Wdivision-by-zero and -Wdeprecated-declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12escape bracketsnobu
* configure.in: escape char class brackets in regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-11configure.in: check API versionnobu
* configure.in: check if the API version number is consistent with the program version number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09RUBY_PROGRAM_VERSION from RUBY_VERSIONnobu
* configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in include/ruby/version.h, and cut it into version numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09fix library teenynobu
* configure.in, win32/Makefile.sub: fix teeny of library version to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09configure.in: RUBY_PROGRAM_VERSIONnobu
* configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09revert r53459, r53427, r53314nobu
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314." Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of" Revert "program version from API version" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25program version from API versionnobu
* configure.in, version.h (RUBY_PROGRAM_VERSION): extract version numbers from API version in include/ruby/version.h except for TEENY, to save matz job next year. * win32/setup.mak (-version-): use program version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25version.h: RUBY_RELEASE_DATE from YMDnobu
* configure.in: extract RUBY_RELEASE_DAY at generating Makefile. * version.h (RUBY_RELEASE_DATE): construct from RUBY_RELEASE_YEAR, RUBY_RELEASE_MONTH, and RUBY_RELEASE_DAY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-23configure.in: get rid of macro redefinitionnobu
* configure.in (__STDC_WANT_LIB_EXT1__): get rid of redefinition to suppress warnings by gcc5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22configure.in: define __STDC_WANT_LIB_EXT1__nobu
* configure.in (__STDC_WANT_LIB_EXT1__): necessary to use memset_s in strict C99 mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-13configure.in: make BASERUBY fullpathnobu
* configure.in (BOOTSTRAPRUBY): make BASERUBY full path before building ruby to get rid of unexpectedly invoking built ruby. [ruby-core:72065] [Bug #11807] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-13configure.in: make BOOTSTRAPRUBY MINIRUBYnobu
* configure.in (BOOTSTRAPRUBY): use MINIRUBY but not BASERUBY unless cross compiling. [ruby-core:72065] [Bug #11807] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08Revert r52907 "* configure.in: add missing x."kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-06* configure.in: add missing x.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-03configure.in: split SET_THREAD_NAMEnobu
* configure.in: separate SET_CURRENT_THREAD_NAME, which can set the name of current thread only, and SET_ANOTHER_THREAD_NAME, which can set the name of other threads. * thread.c (rb_thread_setname): use SET_ANOTHER_THREAD_NAME. OS X is not possible to set another thread name. * thread_pthread.c (native_set_thread_name, thread_timer): use SET_CURRENT_THREAD_NAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e