Browse Source

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 <david.syzdek@acsalaska.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
David M. Syzdek 16 years ago committed by Junio C Hamano
parent
commit
069bb5765c
  1. 4
      Makefile

4
Makefile

@ -694,6 +694,10 @@ ifeq ($(uname_S),FreeBSD) @@ -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

Loading…
Cancel
Save