BASIC_LDFLAGS += -L/usr/local/lib
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
THREADED_DELTA_SEARCH = YesPlease
- COMPAT_CFLAGS += -Icompat/regex
- COMPAT_OBJS += compat/regex/regex.o
+ ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
+ PTHREAD_LIBS = -pthread
+ NO_UINTMAX_T = YesPlease
+ NO_STRTOUMAX = YesPlease
+ endif
endif
ifeq ($(uname_S),OpenBSD)
NO_STRCASESTR = YesPlease
[NO_STRLCPY=YesPlease])
AC_SUBST(NO_STRLCPY)
#
+ # Define NO_UINTMAX_T if your platform does not have uintmax_t
+ AC_CHECK_TYPE(uintmax_t,
+ [NO_UINTMAX_T=],
+ [NO_UINTMAX_T=YesPlease],[
+ #include <inttypes.h>
+ ])
+ AC_SUBST(NO_UINTMAX_T)
+ #
# Define NO_STRTOUMAX if you don't have strtoumax in the C library.
-AC_CHECK_FUNC(strtoumax,
+GIT_CHECK_FUNC(strtoumax,
[NO_STRTOUMAX=],
[NO_STRTOUMAX=YesPlease])
AC_SUBST(NO_STRTOUMAX)