Merge branch 'hd/config-mak-os390'

Platform specific tweaks for OS/390 has been added to
config.mak.uname.

* hd/config-mak-os390:
  build: support z/OS (OS/390).
This commit is contained in:
Junio C Hamano 2024-03-15 16:06:00 -07:00
commit 84ead08cc7

View file

@ -638,6 +638,18 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin
SHELL_PATH = /usr/coreutils/bin/bash
endif
ifeq ($(uname_S),OS/390)
NO_SYS_POLL_H = YesPlease
NO_STRCASESTR = YesPlease
NO_REGEX = YesPlease
NO_MMAP = YesPlease
NO_NSEC = YesPlease
NO_STRLCPY = YesPlease
NO_MEMMEM = YesPlease
NO_GECOS_IN_PWENT = YesPlease
HAVE_STRINGS_H = YesPlease
NEEDS_MODE_TRANSLATION = YesPlease
endif
ifeq ($(uname_S),MINGW)
ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
$(error "Building with MSys is no longer supported")