Start supporting MSys2 in config.mak.uname

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2015-02-13 12:35:10 +00:00
parent 86f728c601
commit cde5a30804

View File

@@ -534,9 +534,23 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
INTERNAL_QSORT = YesPlease
HAVE_LIBCHARSET_H = YesPlease
NO_GETTEXT = YesPlease
USE_LIBPCRE= YesPlease
else
NO_CURL = YesPlease
ifeq ($(shell expr "$(uname_R)" : '2\.'),2)
# MSys2
CC = gcc
htmldir = share/doc/git/$(firstword $(subst -, ,$(GIT_VERSION)))/html
prefix = /mingw32/
INSTALL = /bin/install
NO_R_TO_GCC_LINKER = YesPlease
INTERNAL_QSORT = YesPlease
HAVE_LIBCHARSET_H = YesPlease
NO_GETTEXT = YesPlease
USE_LIBPCRE= YesPlease
NO_CURL =
USE_NED_ALLOCATOR =
else
NO_CURL = YesPlease
endif
endif
endif
ifeq ($(uname_S),QNX)