]> git.ipfire.org Git - thirdparty/make.git/commit
Allow jobserver style to be forced to "pipe"
authorPaul Smith <psmith@gnu.org>
Sat, 18 Feb 2023 18:20:00 +0000 (13:20 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 06:02:16 +0000 (01:02 -0500)
commitc85f68c4e952294304e5938acb601e66f5df71a0
tree524f53df01cfd92b2be42457aa7219b18be63872
parentffa28f3914ff402b3915f75e4fed86ac6fb1449d
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.
maintMakefile
src/main.c
src/makeint.h
src/posixos.c
tests/run_make_tests.pl