diff options
author | Tim Angus <tim@ngus.net> | 2007-09-06 22:44:49 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-09-06 22:44:49 +0000 |
commit | df02ea4c36c45ef40e7b94a15f01c9af33da6b92 (patch) | |
tree | a4832ec7ca231f8abb20a56da8b6f9a4dfa50808 | |
parent | 80f110dd9b47dbb1922db90af2807e9e62608ea5 (diff) |
* Seems some shells *cough*dash*cough* have a broken built-in "echo"
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -853,12 +853,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 ) @@ -1398,5 +1399,5 @@ ifneq ($(strip $(D_FILES)),) endif .PHONY: all clean clean2 clean-debug clean-release \ - debug default dist distclean makedirs release \ + debug default dist distclean libversioncheck makedirs release \ targets tools toolsclean |