diff mk/objective.mk @ 1323:43547cd5e74e trunk

[svn] - smarter way to detect gmake
author nenolod
date Thu, 22 Jun 2006 03:01:46 -0700
parents dfa4ef2e8c79
children e402e0217870
line wrap: on
line diff
--- a/mk/objective.mk	Thu Jun 22 02:35:01 2006 -0700
+++ b/mk/objective.mk	Thu Jun 22 03:01:46 2006 -0700
@@ -126,7 +126,7 @@
 
 build:
 	# test for GNU make
-	@if [ "x$(MAKE_VERSION)" == "x" ]; then \
+	@if [ ! "$(MAKE_VERSION)" ]; then \
 		echo "[Your make is not properly supported, please use GNU make.]"; \
 		exit 1; \
 	fi;