aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-09-06 22:42:06 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-09-06 22:42:06 +0000
commit7825ea13d221a15249616e13a5bce2034256c7ad (patch)
tree6233879901484e7b07db71493451f93377104fd2
parent4d72acef0743f75a260b22a41f4d474f064d15e5 (diff)
downloadioquake3-aero-7825ea13d221a15249616e13a5bce2034256c7ad.tar.gz
ioquake3-aero-7825ea13d221a15249616e13a5bce2034256c7ad.zip
* Seems some shells *cough*dash*cough* have a broken built-in "echo"
git-svn-id: svn://svn.icculus.org/quake3/trunk@1170 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 91ae4b2..8eebc99 100644
--- a/Makefile
+++ b/Makefile
@@ -874,12 +874,13 @@ BASE_CFLAGS += -DMINSDL_MAJOR=$(MINSDL_MAJOR) \
-DMINSDL_PATCH=$(MINSDL_PATCH)
libversioncheck:
- @echo "#include \"SDL_version.h\"\n" \
+ @/bin/echo -e "#include \"SDL_version.h\"\n" \
"#if SDL_VERSION_ATLEAST(" \
"$(MINSDL_MAJOR),$(MINSDL_MINOR),$(MINSDL_PATCH)" \
")\nMINSDL_PASSED\n#endif" | \
$(CC) $(BASE_CFLAGS) -E - | grep -q MINSDL_PASSED || \
- ( echo "SDL version $(MINSDL_MAJOR).$(MINSDL_MINOR).$(MINSDL_PATCH)" \
+ ( /bin/echo "SDL version" \
+ "$(MINSDL_MAJOR).$(MINSDL_MINOR).$(MINSDL_PATCH)" \
"or greater required" && exit 1 )
@@ -1711,5 +1712,5 @@ ifneq ($(strip $(D_FILES)),)
endif
.PHONY: all clean clean2 clean-debug clean-release copyfiles \
- debug default dist distclean installer makedirs release \
- targets tools toolsclean
+ debug default dist distclean installer libversioncheck makedirs \
+ release targets tools toolsclean