summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-02-18 13:20:00 -0500
committerPaul Smith <psmith@gnu.org>2023-02-19 01:02:16 -0500
commitc85f68c4e952294304e5938acb601e66f5df71a0 (patch)
tree524f53df01cfd92b2be42457aa7219b18be63872 /maintMakefile
parentffa28f3914ff402b3915f75e4fed86ac6fb1449d (diff)
downloadmake-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 'maintMakefile')
-rw-r--r--maintMakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/maintMakefile b/maintMakefile
index 2747aad6..ae25ee75 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -274,6 +274,7 @@ CFGCHECK_MAKEFLAGS = # CFLAGS='$(AM_CFLAGS)'
checkcfg.strict-c90: CFGCHECK_CONFIGFLAGS = CFLAGS='-std=c90 -pedantic'
checkcfg.strict-c90: CFGCHECK_MAKEFLAGS =
+checkcfg.job-pipe: CFGCHECK_CONFIGFLAGS = CPPFLAGS=-DJOBSERVER_USE_FIFO=0
checkcfg.no-jobserver:CFGCHECK_CONFIGFLAGS = --disable-job-server
checkcfg.no-load: CFGCHECK_CONFIGFLAGS = --disable-load
checkcfg.no-guile: CFGCHECK_CONFIGFLAGS = --without-guile
@@ -289,6 +290,7 @@ checkcfg.no-archives: CFGCHECK_CONFIGFLAGS = CPPFLAGS=-DNO_ARCHIVES
CONFIG_CHECKS := \
checkcfg.strict-c90 \
+ checkcfg.job-pipe \
checkcfg.no-jobserver \
checkcfg.no-load \
checkcfg.no-guile \