r1170 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Sep 6 18:42:06 EDT 2007


Author: tma
Date: 2007-09-06 18:42:06 -0400 (Thu, 06 Sep 2007)
New Revision: 1170

Modified:
   trunk/Makefile
Log:
* Seems some shells *cough*dash*cough* have a broken built-in "echo"


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2007-09-06 20:31:30 UTC (rev 1169)
+++ trunk/Makefile	2007-09-06 22:42:06 UTC (rev 1170)
@@ -874,12 +874,13 @@
                -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 @@
 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




More information about the quake3-commits mailing list