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

1396 Коммитов

Автор SHA1 Сообщение Дата
nobu 0927f83041 configure.in: fold summary
* 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-28 14:14:44 +00:00
nobu 7b91046b29 configure.in: summary
* 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-28 14:14:42 +00:00
nobu 1a9bc87ab7 configure.in: no leading spaces
* 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-28 13:54:32 +00:00
nobu 2456239f18 configure.in: fix universal binary
* 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-11 05:58:16 +00:00
nobu 9323a8db6b configure.in: use quadrigraphs
* 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-11 05:32:22 +00:00
naruse 832f275316 * configure.in (RUBY_DEFINT): use Parameter Expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10 21:29:50 +00:00
naruse 2e90c0bdbe fix r53801: the argument should remove UNSIGNED
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-10 21:29:48 +00:00
naruse 60f3986914 * configure.in (int128_t): don't check HAVE_XXX (for example
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-10 20:57:49 +00:00
nobu aedfee0142 configure.in: remove unnecessary qualifier
* 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-10 07:06:12 +00:00
nobu 0c3a54e63b ARFLAGS needs a space
* 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-10 06:28:55 +00:00
nobu f8cc2fb9c1 configure.in: unique names
* 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-10 04:16:53 +00:00
nobu 12eb0df4d5 check ar D flag
* 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-10 03:03:57 +00:00
naruse 0a3fc607c1 Revert "check __int64_t and __int128_t"
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-06 17:56:47 +00:00
nobu 6a6993cfa5 fix types order
* 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-06 14:23:26 +00:00
nobu 7475d8048e check __int64_t and __int128_t
* 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-06 11:44:33 +00:00
nobu cadf8058d3 configure.in: fix doc [ci skip]
* 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 07:45:39 +00:00
naruse 1f57a334da * insns.def (opt_mult): Use int128_t for overflow detection.
* 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-02-05 04:31:27 +00:00
nobu f9afa36fcf configure.in: suppress warnings
* 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-19 11:04:52 +00:00
nobu 8cedcf0ff2 configure.in: suppress warnings
* 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-19 09:50:27 +00:00
naruse 9bed6e8e8e * configure.in: improve ICC (Intel C Compiler) support.
* 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-17 12:20:15 +00:00
nobu 242b1d8f4c escape brackets
* 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-12 01:51:01 +00:00
nobu c97c37a5ca configure.in: check API version
* 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-11 00:50:51 +00:00
nobu d43ef66b12 RUBY_PROGRAM_VERSION from RUBY_VERSION
* 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-09 01:44:56 +00:00
nobu 34b1c7ddd6 fix library teeny
* 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-09 00:20:46 +00:00
nobu 6837c6483f configure.in: RUBY_PROGRAM_VERSION
* 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-09 00:20:11 +00:00
nobu bc8a7f9ab7 revert r53459, r53427, r53314
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
2016-01-09 00:19:16 +00:00
nobu 8c327b7f3a program version from API version
* 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-25 16:24:43 +00:00
nobu 63ebdd4bed version.h: RUBY_RELEASE_DATE from YMD
* 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-25 13:43:29 +00:00
nobu d15f30882a configure.in: get rid of macro redefinition
* 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-23 05:29:36 +00:00
nobu b9576e7d84 configure.in: define __STDC_WANT_LIB_EXT1__
* 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-22 17:59:28 +00:00
nobu 207360044b configure.in: make BASERUBY fullpath
* 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-13 07:41:01 +00:00
nobu 621b05ed61 configure.in: make BOOTSTRAPRUBY MINIRUBY
* 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-13 07:29:21 +00:00
kazu 5f7d6c0ce9 Revert r52907 "* configure.in: add missing x."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08 12:20:25 +00:00
kazu dfe923cd69 * configure.in: add missing x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-06 10:04:19 +00:00
nobu dfe27428f1 configure.in: split SET_THREAD_NAME
* 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
2015-12-03 02:57:14 +00:00
hsbt bf0723644b * configure.in: Fixed double negative comments.
[Bug #11698][ruby-core:71506]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-02 06:12:49 +00:00
kosaki 48de9684b9 * missing/explicit_bzero.c: add ruby_explicit_bzero_hook_unused
for preventing optimization. Inspired from OpenBSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-01 21:52:02 +00:00
nobu ff113d52f7 configure.in: FUNC_UNOPTIMIZED
* 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
2015-12-01 01:05:48 +00:00
kosaki 0c4e7767ed * configure.in: sort AC_CHECK_HEADERS() by alphabetical order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-30 20:30:50 +00:00
kosaki dea685c783 * missing/explicit_bzero.c: new file. define explicit_bzero.
* 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
2015-11-30 20:26:13 +00:00
nobu 311a9eb0c5 configure.in: color to ifchange
* 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
2015-11-25 03:36:13 +00:00
ngoto 06c04b3874 * configure.in: On Solaris, it is safe to define _LARGEFILE_SOURCE
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
2015-11-24 15:00:57 +00:00
nobu 13a935b0ba Drop support for BeOS
* 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
2015-11-24 00:17:11 +00:00
ngoto 6965964df6 * configure.in: On Solaris, with gcc, "-std=iso9899:1999"
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
2015-11-23 10:59:57 +00:00
nobu e29c109d2a Haiku now best effort support
* 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
2015-11-23 03:54:42 +00:00
ngoto 9546cb5272 * configure.in: On Solaris, add -D_XOPEN_SOURCE=n only when both
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
2015-11-22 09:01:04 +00:00
ngoto 0a205155cf * configure.in: Add -D_XOPEN_SOURCE=500 (or 600 or 700) on Solaris
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
2015-11-21 16:37:12 +00:00
kazu 83cb00042f fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-21 12:18:10 +00:00
usa f74c229c08 * configure.in: add -static-libgcc for mingw automatically if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-18 16:48:37 +00:00
nobu 3b91ff89da configure.in: fix help message
* configure.in (ruby-pc): fix help message for --with-ruby-pc
  option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-18 00:26:07 +00:00