AmigaOS4: Adapt configure to latest SDK (Patch created by Raziel^)

This commit is contained in:
strangerke 2011-04-30 22:00:17 +02:00
parent 96965b4896
commit 54ddd000dc
2 changed files with 4 additions and 10 deletions

View file

@ -154,8 +154,7 @@ endif
# Get the current version information
######################################################################
# AmigaOS4's grep has a problem with "./" in pathnames, so use cat.
VERSION = $(shell cat "${srcdir}/base/internal_version.h" | grep SCUMMVM_VERSION | cut -d\" -f2)
VERSION = $(shell grep SCUMMVM_VERSION "${srcdir}/base/internal_version.h" | cut -d\" -f2)
VER_MAJOR = $(shell echo $(VERSION) | cut -d. -f 1)
VER_MINOR = $(shell echo $(VERSION) | cut -d. -f 2)
VER_PATCH = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c1)