automatically detect msys without generating ugly error message on non-msys system

svn path=/trunk/; revision=19602
This commit is contained in:
Royce Mitchell III
2005-11-26 03:01:18 +00:00
parent dada3199ff
commit b343ffa71b
+2 -1
View File
@@ -115,7 +115,8 @@ all: makefile.auto
ifeq ($(HOST),)
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
ifeq ($(OSTYPE),msys)
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
export OSTYPE = msys
HOST=mingw32-linux
else
HOST=mingw32-windows