diff options
author | David M. Syzdek <david.syzdek@acsalaska.net> | 2008-10-26 03:52:47 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-02 01:12:35 -0700 |
commit | 069bb5765c04645313d79a1eb345a4fb8fe7f06c (patch) | |
tree | 23996e119b99fe35acdac14cc054dcbe77d464bb /Makefile | |
parent | 0bc3e781deb543ac2042cbd862c035403404c93d (diff) | |
download | git-069bb5765c04645313d79a1eb345a4fb8fe7f06c.tar.gz git-069bb5765c04645313d79a1eb345a4fb8fe7f06c.tar.xz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |