* search for gtar first

git-svn-id: trunk@2600 -
This commit is contained in:
florian 2006-02-15 21:14:41 +00:00
parent ee1ef7d207
commit f4738689ba
2 changed files with 6 additions and 1 deletions

View File

@ -1104,12 +1104,17 @@ endif
endif
export ZIPPROG
ifndef TARPROG
TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
ifeq ($(TARPROG),)
TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
ifeq ($(TARPROG),)
TARPROG= __missing_command_TARPROG
else
TARPROG:=$(firstword $(TARPROG))
endif
else
TARPROG:=$(firstword $(TARPROG))
endif
endif
export TARPROG
ASNAME=$(BINUTILSPREFIX)as

View File

@ -612,7 +612,7 @@ implementation
AddTool('PPUMOVE','ppumove','');
AddTool('FPCMAKE','fpcmake','');
AddTool('ZIPPROG','zip','');
AddTool('TARPROG','tar','');
AddTool('TARPROG','gtar','tar');
AddIniSection('defaulttools');
end;