mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-06 03:40:44 +00:00
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:
parent
c57fea65a2
commit
d489408fe4
1 changed files with 7 additions and 9 deletions
12
common.make
12
common.make
|
@ -123,21 +123,19 @@ ifneq ($(FOUNDATION_LIB),nx)
|
|||
# We want to check that this path is in the PATH
|
||||
SYS_TOOLS_PATH = $(GNUSTEP_SYSTEM_ROOT)/Tools
|
||||
|
||||
# But on windows 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
|
||||
# But on cygwin we might need to first fix it up ...
|
||||
ifeq ($(findstring cygwin, $(GNUSTEP_HOST_OS)), cygwin)
|
||||
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 $(SYS_TOOLS_PATH),$(PATH)),)
|
||||
# Under mingw paths are so confused this warning is not worthwhile
|
||||
ifneq ($(findstring mingw, $(GNUSTEP_HOST_OS)), mingw)
|
||||
ifeq ($(findstring $(SYS_TOOLS_PATH),$(PATH)),)
|
||||
$(warning WARNING: Your PATH may not be set up correctly !)
|
||||
$(warning Please try again after running ". $(GNUSTEP_MAKEFILES)/GNUstep.sh")
|
||||
endif
|
||||
endif
|
||||
|
||||
endif # code used when FOUNDATION_LIB != nx
|
||||
|
|
Loading…
Reference in a new issue