summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2021-03-24Removed dln_a_outNobuyoshi Nakada
a.out format is considered extinct nowadays. Notes: Merged: https://github.com/ruby/ruby/pull/4317 Merged-By: nobu <nobu@ruby-lang.org>
2021-03-20configure.ac: enable FORCE_FILESYSTEM for EmscriptenYusuke Endoh
2021-03-19Remove unneeded dependencies on macOS [Feature #17730]Rick Mark
Notes: Merged: https://github.com/ruby/ruby/pull/4289
2021-03-19Use CommonRandom if availableNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4289
2021-03-19configure.ac: don't use pthread_sigmask in emscriptenYusuke Endoh
2021-03-19configure.ac: avoid spaces in a LDFLAGS optionYusuke Endoh
Seems like it confuses "make ruby" for emscripten.
2021-03-17get rid of aclocal (#4280)卜部昌平
Notes: Merged-By: mame <mame@ruby-lang.org>
2021-03-12Removed a duplicate setting for mingwNobuyoshi Nakada
2021-03-10Fix `coroutine_type` variable nameNobuyoshi Nakada
2021-03-09Given argument does not need to cacheNobuyoshi Nakada
2021-03-09Recheck ucontext functions to make reconfig stableNobuyoshi Nakada
2021-03-02Don't use mmap on platforms that have large OS page sizesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4235
2021-02-25Use mmap for allocating heap pagesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4227
2021-02-24Reverting PR #4221Aaron Patterson
It seems this breaks tests on Solaris, so I'm reverting it until we figure out the right fix. http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20210224T210007Z.fail.html.gz
2021-02-24Use mmap for allocating heap pagesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4221
2021-02-15supports for stack protection for haiku.David Carlier
Notes: Merged: https://github.com/ruby/ruby/pull/4186
2021-02-09Fixed default coroutine selection for musl.Andrew Aladjev
Notes: Merged: https://github.com/ruby/ruby/pull/3567 Merged-By: ioquatix <samuel@codeotaku.com>
2021-02-05Add -fdeclspec to CFLAGS instead of CCNobuyoshi Nakada
2021-01-31MSys is a variant of CygwinNobuyoshi Nakada
2021-01-27Clear unexpanded `mjit_std_cflag`Nobuyoshi Nakada
2021-01-27Disable fast-mathNobuyoshi Nakada
As `RUBY_TRY_CFLAGS` restores `CFLAGS`, appending to the variable in its block has no effect.
2021-01-23coroutine/emscripten/: Experimentally support emscripten fiber APIYusuke Endoh
2021-01-23configure.ac: Add some compiler options for emscriptenYusuke Endoh
"-lc" and "-s ALLOW_MEMORY_GROWTH=1" are needed
2021-01-23configure.ac: Stop -fstack-protector on emscripten buildYusuke Endoh
2021-01-22Support coroutine on universal binaryNobuyoshi Nakada
2021-01-22Do not set target_alias if unsetNobuyoshi Nakada
2021-01-22Adjust CPU name as arm64-darwinNobuyoshi Nakada
config.sub replaces arm64 with aarch64.
2021-01-18Revert AC_PROG_CC_C99 for -std=gnu99 option to gcc 4.8Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4086
2021-01-18Update for autoconf 2.70Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4086
2021-01-18Removed unused AC_CHECKINGNobuyoshi Nakada
2021-01-18OpenBSD has getentropy, but no sys/random.hKazuhiro NISHIYAMA
https://man.openbsd.org/getentropy Try to fix https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20210118T023008Z.fail.html.gz ``` compiling random.c random.c:53:11: fatal error: 'sys/random.h' file not found # include <sys/random.h> ^~~~~~~~~~~~~~ 1 error generated. ```
2021-01-17random generator update for Mac proposalDavid CARLIER
using getentropy for seeding, reading 256 bytes at a time to avoid the EIO errno since this is the maximum. Notes: Merged: https://github.com/ruby/ruby/pull/4081
2021-01-05configure.ac: disable using __builtin_setjmp on ARM AndroidYusuke Endoh
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17511]
2021-01-05configure.ac: Stop auto-detection of __ANDROID_API__ when cross-compilingYusuke Endoh
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17491]
2020-12-25Disable DTrace in FreeBSD (#3999)TAKANO Mitsuhiro
The latest ruby cannot compile with FreeBSD Dtrace enabled. Notes: Merged-By: nurse <naruse@airemix.jp>
2020-12-25configure.ac: Make it possible to build on Android TermuxYusuke Endoh
The recent Termux's clang predefines `__ANDROID_API__` as a fixed number 24. However, when it is lower to the current device version, some functions that "configure" detemines available are not declared correctly in the header files. This change forces to overwrite the predefined `__ANDROID_API__` macro with the current device version. ref: https://github.com/termux/termux-packages/issues/6176
2020-12-21On Solaris, _XOPEN_SOURCE should be undefined for C++ sources.Naohisa Goto
2020-12-16configure.ac: avoid squashing CXX=g++卜部昌平
We are discussing this issue at [Bug #17337] but in the meantime, leave this questionable autoconf glitch as-is to save sassc and eventmachine. Notes: Merged: https://github.com/ruby/ruby/pull/3907
2020-12-15Haiku: disable stack-protectorZoltán Mizsei
2020-12-15Add Haiku to the context support listZoltán Mizsei
2020-12-12Removed obsolete autoconf checksNobuyoshi Nakada
Use regular `AC_CHECK_MEMBERS` instead of: * `AC_STRUCT_ST_BLKSIZE` * `AC_STRUCT_ST_BLOCKS` * `AC_STRUCT_ST_RDEV` Notes: Merged: https://github.com/ruby/ruby/pull/3890
2020-12-12Signal handler type should be voidNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3889
2020-12-12Omit checks for C89 standard or laterNobuyoshi Nakada
Now we require C99, these features available of course. * prototypes * stdarg prototypes * token pasting * stringization * string literal concatenation Notes: Merged: https://github.com/ruby/ruby/pull/3889
2020-12-11Link zlib always if availableYusuke Endoh
Major Linux distribution packages including Debian, Ubuntu, and Fedora use `--compress-debug-sections=no` to build ruby, and then extract and compress debug symbols as separate files. However, the configure option makes ruby not link zlib, thus the generated binary cannot uncompress the compressed separate debug symbol files, and fails to show C level backtrace when a critical error like segfault occurs. This change makes ruby always link zlib if it is available so that it can show C level backtrace correctly. Related: Debian packages require https://github.com/ruby/ruby/pull/3627 to load debug symbol files. Notes: Merged: https://github.com/ruby/ruby/pull/3884
2020-12-07Revert getaddrinfo_a()Masaki Matsushita
getaddrinfo_a() gets stuck after fork(). To avoid this, we need 1 second sleep to wait for internal worker threads of getaddrinfo_a() to be finished, but that is unacceptable. [Bug #17220] [Feature #17134] [Feature #17187]
2020-12-04Add a hook before fork() for getaddrinfo_a()Masaki Matsushita
We need stop worker threads in getaddrinfo_a() before fork(). This change adds a hook before fork() that cancel all outstanding requests and wait for all ongoing requests. Then, it waits for all worker threads to be finished. Fixes [Bug #17220]
2020-11-27configure.ac: Check x86intrin.h only when the target CPU is x86Yusuke Endoh
The check output a warning on M1 Mac mini http://rubyci.s3.amazonaws.com/osx1100arm/ruby-master/log/20201127T074507Z.log.html.gz ``` checking x86intrin.h usability... no checking x86intrin.h presence... yes configure: WARNING: x86intrin.h: present but cannot be compiled configure: WARNING: x86intrin.h: check for missing prerequisite headers? configure: WARNING: x86intrin.h: see the Autoconf documentation configure: WARNING: x86intrin.h: section "Present But Cannot Be Compiled" configure: WARNING: x86intrin.h: proceeding with the compiler's result checking for x86intrin.h... no ``` Notes: Merged: https://github.com/ruby/ruby/pull/3820
2020-11-23Check if _FORTIFY_SOURCE really worksNobuyoshi Nakada
i686-pc-cygwin gcc 6.4.0 seems broken around ssp.h, when compiling with both of optimization and _FORTIFY_SOURCE.
2020-11-21[Bug #17021] Make host_* values consistent with target_*Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3800
2020-11-17configure.ac: fix for upcoming autoconf-2.70Sergei Trofimovich
The failure initially noticed on `autoconf-2.69d` (soon to become 2.70): ``` $ ./configure ./configure: line 8720: syntax error near unexpected token `fi' ./configure: line 8720: `fi' ``` Before the change generated `./configure ` snippet looked like: ``` if ! $CC -E -xc - <<SRC >/dev/null then : #if defined __APPLE_CC__ && defined __clang_major__ && __clang_major__ < 3 #error premature clang #endif SRC as_fn_error $? "clang version 3.0 or later is required" "$LINENO" 5 fi ``` Note the newline that breaks here-document syntax. After the change the snippet does not use here-document. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Notes: Merged: https://github.com/ruby/ruby/pull/3773