changeset 1323:43547cd5e74e trunk

[svn] - smarter way to detect gmake
author nenolod
date Thu, 22 Jun 2006 03:01:46 -0700
parents dfa4ef2e8c79
children 99454d030722
files ChangeLog mk/objective.mk
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 22 02:35:01 2006 -0700
+++ b/ChangeLog	Thu Jun 22 03:01:46 2006 -0700
@@ -1,3 +1,12 @@
+2006-06-22 09:35:01 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1556]
+  - avoid system /bin/test in Makefiles as it may not behave as expected
+  
+
+  Changes:        Modified:
+  +41 -41         trunk/mk/objective.mk  
+
+
 2006-06-21 09:23:25 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1554]
   - sanity checks (don't send NULL pointers off to GTK)
--- 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;