Commit Graph
29 Commits
Author SHA1 Message Date
Jørgen P. TjernøandFrank Denis 100ccb452d Portability improvements (#1105)
* Move `raise` code to be behind an autoconf check

This moves the call to `raise` behind a `HAVE_RAISE` autoconf check,
in addition to `__wasm__`. This is intended to help porting to
other platforms that don't support `raise` (e.g. modern game consoles).

* Add autoconf check for `sysconf`

Only try to invoke `sysconf` if the target platform supports it, and
don't warn about unknown page size if `PAGE_SIZE` was defined. Add an
include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`.
This is intended to help porting to other platforms that don't support
`sysconf` (e.g. modern game consoles) that have a fixed hardware page
size.

* Don't try to use raise & sysconf in a WASI environment

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2021-10-09 18:39:02 +02:00
Frank Denis 7d71804ee0 Update config.sub 2021-07-13 16:59:44 +02:00
Frank Denis b5b62722b7 Autoconf update & regen 2021-05-22 12:21:15 +02:00
Frank Denis dc2d459cc5 Regen autoconf 2021-03-15 11:04:51 +01:00
Frank Denis 0b443453ac Update config.* 2021-01-27 14:02:31 +01:00
Frank Denis 8ca7dce67c Update config.guess 2021-01-20 09:00:23 +01:00
Frank Denis bfcfa87f2d Recognize linux/loongarch 2020-12-24 02:10:17 +01:00
Frank Denis bfcaf544bf Add thumbv7* CPUs 2020-12-10 22:23:43 +01:00
Frank Denis 04b44a4df4 Automake update 2020-11-24 22:55:50 +01:00
Frank Denis 96c65593bc Autoconf regen 2020-11-20 22:59:37 +01:00
Frank Denis ce9a25f164 Update config.guess 2020-11-04 19:29:07 +01:00
Frank Denis 53cdaa4f51 Update config.sub 2020-10-13 16:22:46 +02:00
Frank Denis 502de10d96 config.guess/sub update 2020-09-20 15:15:33 +02:00
Frank Denis 03b5d011a4 Update config.* to support Apple Silicon 2020-07-23 20:27:08 +02:00
Frank Denis a43c3a6f11 config.guess, config.sub update 2020-06-28 20:58:35 +02:00
Frank Denis 89943bdd38 Update config.sub 2020-05-05 19:43:52 +02:00
Frank Denis f88e24f887 config.guess update 2020-04-26 20:47:58 +02:00
Frank Denis 53ceb6c681 config.sub update 2020-04-25 12:28:15 +02:00
Frank Denis 3b689a6ab4 New automake version 2020-03-22 22:56:19 +01:00
Frank Denis 64779327e9 update build-aux 2020-02-06 00:31:02 +01:00
Frank Denis b486ae3fc6 config.guess fixups 2019-12-22 11:37:38 +01:00
Frank Denis 59e6551ecb Add support for Twizzler 2019-09-13 11:18:40 +02:00
Frank Denis a179b25eb0 Update config.guess 2019-08-08 00:34:15 +02:00
Frank Denis a9d6857665 Update config.sub 2019-07-24 01:07:00 +02:00
Frank Denis 23a86e3387 Update config.guess 2019-06-10 18:41:55 +02:00
Frank Denis 611327356b Update config.guess 2019-05-28 20:42:08 +02:00
Frank Denis 6522f1047a Regen, update config.{guess, sub} 2019-05-03 11:18:55 +02:00
Frank Denis 06ee95c3f1 Regen autoconf scripts 2018-03-14 12:03:49 -07:00
Frank Denis cd1b97d5a2 Regen autoconf files 2017-10-01 17:17:11 +02:00