diff options
author | Paul Smith <psmith@gnu.org> | 2023-02-18 13:20:00 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-02-19 01:02:16 -0500 |
commit | c85f68c4e952294304e5938acb601e66f5df71a0 (patch) | |
tree | 524f53df01cfd92b2be42457aa7219b18be63872 /tests | |
parent | ffa28f3914ff402b3915f75e4fed86ac6fb1449d (diff) | |
download | make-git-c85f68c4e952294304e5938acb601e66f5df71a0.tar.gz |
Allow jobserver style to be forced to "pipe"
Some systems that support mkfifo() don't support the usage that GNU
make wants. Provide a way to force using "pipe" jobserver mode even
when mkfifo() is available.
* src/makeint.h (MK_OS_HURD): Define if we're on Hurd.
(JOBSERVER_USE_FIFO): Define if we have mkfifo() and we're NOT on
Hurd.
* src/main.c (main): Test JOBSERVER_USE_FIFO not HAVE_MKFIFO.
* src/posixos.c (jobserver_setup): Ditto.
* maintMakefile: Create a config check test for forcing "pipe" mode.
* tests/run_make_tests.pl: Show discovered FEATURES in verbose mode.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run_make_tests.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index a5d9b807..012bd66d 100644 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -671,6 +671,7 @@ sub set_more_defaults create_file('features.mk', 'all:;$(info $(.FEATURES))'); %FEATURES = map { $_ => 1 } split /\s+/, `$make_path -sf features.mk`; + print "$make_path FEATURES: @{[%FEATURES]}\n" if $verbose; unlink('features.mk'); # Find the default values for different built-in variables |