From 069bb5765c04645313d79a1eb345a4fb8fe7f06c Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Sun, 26 Oct 2008 03:52:47 -0800 Subject: Add Makefile check for FreeBSD 4.9-SECURITY If the system is FreeBSD 4.9, then NO_UINTMAX_T and NO_STRTOUMAX is defined. Signed-off-by: David M. Syzdek Signed-off-by: Junio C Hamano --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0698365078..426e1a652f 100644 --- a/Makefile +++ b/Makefile @@ -694,6 +694,10 @@ ifeq ($(uname_S),FreeBSD) THREADED_DELTA_SEARCH = YesPlease COMPAT_CFLAGS += -Icompat/regex COMPAT_OBJS += compat/regex/regex.o + ifeq ($(shell expr "$(uname_R)" : '4\.'),2) + NO_UINTMAX_T = YesPlease + NO_STRTOUMAX = YesPlease + endif endif ifeq ($(uname_S),OpenBSD) NO_STRCASESTR = YesPlease -- cgit v1.2.3