Remove warning under mingw

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13082 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-03-11 14:49:21 +00:00
parent c57fea65a2
commit d489408fe4

View file

@ -123,22 +123,20 @@ ifneq ($(FOUNDATION_LIB),nx)
# We want to check that this path is in the PATH # We want to check that this path is in the PATH
SYS_TOOLS_PATH = $(GNUSTEP_SYSTEM_ROOT)/Tools SYS_TOOLS_PATH = $(GNUSTEP_SYSTEM_ROOT)/Tools
# But on windows we might need to first fix it up ... # But on cygwin we might need to first fix it up ...
ifeq ($(findstring mingw, $(GNUSTEP_HOST_OS)), mingw)
ifeq ($(shell echo "$(SYS_TOOLS_PATH)" | sed 's/^\([a-zA-Z]:.*\)//'),)
SYS_TOOLS_PATH := $(shell $(GNUSTEP_MAKEFILES)/fixpath.sh -u $(SYS_TOOLS_PATH))
endif
endif
ifeq ($(findstring cygwin, $(GNUSTEP_HOST_OS)), cygwin) ifeq ($(findstring cygwin, $(GNUSTEP_HOST_OS)), cygwin)
ifeq ($(shell echo "$(SYS_TOOLS_PATH)" | sed 's/^\([a-zA-Z]:.*\)//'),) ifeq ($(shell echo "$(SYS_TOOLS_PATH)" | sed 's/^\([a-zA-Z]:.*\)//'),)
SYS_TOOLS_PATH := $(shell $(GNUSTEP_MAKEFILES)/fixpath.sh -u $(SYS_TOOLS_PATH)) SYS_TOOLS_PATH := $(shell $(GNUSTEP_MAKEFILES)/fixpath.sh -u $(SYS_TOOLS_PATH))
endif endif
endif endif
# Under mingw paths are so confused this warning is not worthwhile
ifneq ($(findstring mingw, $(GNUSTEP_HOST_OS)), mingw)
ifeq ($(findstring $(SYS_TOOLS_PATH),$(PATH)),) ifeq ($(findstring $(SYS_TOOLS_PATH),$(PATH)),)
$(warning WARNING: Your PATH may not be set up correctly !) $(warning WARNING: Your PATH may not be set up correctly !)
$(warning Please try again after running ". $(GNUSTEP_MAKEFILES)/GNUstep.sh") $(warning Please try again after running ". $(GNUSTEP_MAKEFILES)/GNUstep.sh")
endif endif
endif
endif # code used when FOUNDATION_LIB != nx endif # code used when FOUNDATION_LIB != nx