aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* improve git repository detectionfix/git-worktree-detectionKazuki Yamaguchi2016-04-011-4/+6
| | | | | | | | | | | | * 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. * 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
* * configure.in (rb_cv_member_struct_tm_tm_gmtoff): For Linux (glibc)naruse2016-03-181-1/+6
| | | | | | | | 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
* configure.in: fold summarynobu2016-02-281-32/+39
| | | | | | * 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
* configure.in: summarynobu2016-02-281-0/+38
| | | | | | | * 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
* configure.in: no leading spacesnobu2016-02-281-2/+2
| | | | | | | * 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
* configure.in: fix universal binarynobu2016-02-111-7/+36
| | | | | | | | * 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
* configure.in: use quadrigraphsnobu2016-02-111-1/+1
| | | | | | | * 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
* * configure.in (RUBY_DEFINT): use Parameter Expansion.naruse2016-02-101-15/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix r53801: the argument should remove UNSIGNEDnaruse2016-02-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (int128_t): don't check HAVE_XXX (for examplenaruse2016-02-101-7/+0
| | | | | | | | 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
* configure.in: remove unnecessary qualifiernobu2016-02-101-0/+20
| | | | | | | * 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
* ARFLAGS needs a spacenobu2016-02-101-1/+1
| | | | | | | | * 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
* configure.in: unique namesnobu2016-02-101-4/+15
| | | | | | | * 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
* check ar D flagnobu2016-02-101-0/+6
| | | | | | | * 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
* Revert "check __int64_t and __int128_t"naruse2016-02-061-4/+0
| | | | | | | | 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
* fix types ordernobu2016-02-061-2/+2
| | | | | | * 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
* check __int64_t and __int128_tnobu2016-02-061-0/+4
| | | | | | | * 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
* configure.in: fix doc [ci skip]nobu2016-02-051-1/+1
| | | | | | * 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
* * insns.def (opt_mult): Use int128_t for overflow detection.naruse2016-02-051-0/+4
| | | | | | | | | | | * 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
* configure.in: suppress warningsnobu2016-01-191-0/+1
| | | | | | | * 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
* configure.in: suppress warningsnobu2016-01-191-0/+3
| | | | | | | * 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
* * configure.in: improve ICC (Intel C Compiler) support.naruse2016-01-171-1/+3
| | | | | | | | | | | | | | | | * 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
* escape bracketsnobu2016-01-121-2/+2
| | | | | | * 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
* configure.in: check API versionnobu2016-01-111-0/+4
| | | | | | | * 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
* RUBY_PROGRAM_VERSION from RUBY_VERSIONnobu2016-01-091-2/+4
| | | | | | | | * 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
* fix library teenynobu2016-01-091-2/+2
| | | | | | | * 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
* configure.in: RUBY_PROGRAM_VERSIONnobu2016-01-091-4/+4
| | | | | | | * 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
* revert r53459, r53427, r53314nobu2016-01-091-8/+2
| | | | | | | | 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
* program version from API versionnobu2015-12-251-2/+8
| | | | | | | | | * 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
* version.h: RUBY_RELEASE_DATE from YMDnobu2015-12-251-1/+6
| | | | | | | | * 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
* configure.in: get rid of macro redefinitionnobu2015-12-231-1/+2
| | | | | | | * 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
* configure.in: define __STDC_WANT_LIB_EXT1__nobu2015-12-221-0/+2
| | | | | | | * 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
* configure.in: make BASERUBY fullpathnobu2015-12-131-1/+1
| | | | | | | | * 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
* configure.in: make BOOTSTRAPRUBY MINIRUBYnobu2015-12-131-3/+0
| | | | | | | * 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
* Revert r52907 "* configure.in: add missing x."kazu2015-12-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add missing x.kazu2015-12-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: split SET_THREAD_NAMEnobu2015-12-031-2/+11
| | | | | | | | | | | | * 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
* * configure.in: Fixed double negative comments.hsbt2015-12-021-1/+1
| | | | | | [Bug #11698][ruby-core:71506] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/explicit_bzero.c: add ruby_explicit_bzero_hook_unusedkosaki2015-12-011-0/+4
| | | | | | for preventing optimization. Inspired from OpenBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: FUNC_UNOPTIMIZEDnobu2015-12-011-0/+1
| | | | | | | | * configure.in: check if optimize pragma is supported. * include/ruby/defines.h (FUNC_UNOPTIMIZED): fallback definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: sort AC_CHECK_HEADERS() by alphabetical order.kosaki2015-11-301-41/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/explicit_bzero.c: new file. define explicit_bzero.kosaki2015-11-301-0/+2
| | | | | | | | | | * common.mk: add a rule for explicit.o. * configure.in: detect explicit_bzero and memset_s. * include/ruby/missing.h: add explicit_bzero. * random.c (init_randomseed): use explicit_bzero() instead of memset(). memset could be eliminated by compiler optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: color to ifchangenobu2015-11-251-1/+4
| | | | | | | * configure.in: pass --color to ifchange from CONFIGURE_TTY for reconfig. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: On Solaris, it is safe to define _LARGEFILE_SOURCEngoto2015-11-241-0/+18
| | | | | | | when _FILE_OFFSET_BITS=64 is defined (= when 32-bit compile). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Drop support for BeOSnobu2015-11-241-34/+3
| | | | | | | * beos: Drop support for BeOS now that Haiku is stable. [Fix GH-1112] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: On Solaris, with gcc, "-std=iso9899:1999"ngoto2015-11-231-0/+7
| | | | | | | | | in $ansi_options is often also needed in CPPFLAGS, because some feature definitions vary depending on such standards options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Haiku now best effort supportnobu2015-11-231-20/+26
| | | | | | | | | | * configure.in: remove obsolete workarounds for Haiku. * dln.c, file.c, io.c: remove obsolete Haiku workarounds. * thread_pthread.c: add stack bounds detection for Haiku. * signal.c: get stack pointer from signal context on Haiku. [ruby-core:67923] [Bug #10811] [Fix GH-1109] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: On Solaris, add -D_XOPEN_SOURCE=n only when bothngoto2015-11-221-24/+17
| | | | | | | | | AC_TRY_CPP and AC_TRY_COMPILE pass, because some options (e.g. -std=iso9899:1999) are not set when running C preprocessor or building ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add -D_XOPEN_SOURCE=500 (or 600 or 700) on Solarisngoto2015-11-211-0/+49
| | | | | | | if available, mainly for enabling some features in sockets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2015-11-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e