auto-detect msys instead of requiring users to tell our build system about it

svn path=/trunk/; revision=19600
This commit is contained in:
Royce Mitchell III 2005-11-26 02:23:07 +00:00
parent a1bf8bb339
commit aa29e498d5

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)),msys)
export OSTYPE = msys
HOST=mingw32-linux
else
HOST=mingw32-windows