summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-07-26 13:51:36 +0000
committerIan Lynagh <igloo@earth.li>2009-07-26 13:51:36 +0000
commit87968d95df38eb42ee3eb0d38d13e7077745212f (patch)
tree8f8b5488531adaf987d3419040bb107c2baa029c /testsuite/mk
parent261a315bb4a3351c66a99320a04a4d9d761db3e2 (diff)
downloadhaskell-87968d95df38eb42ee3eb0d38d13e7077745212f.tar.gz
Test for make supporting abspath, and fail if it doesn't
This fixes problems using GNU make 3.80.
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/boilerplate.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk
index 36ac32b02f..61f911eff5 100644
--- a/testsuite/mk/boilerplate.mk
+++ b/testsuite/mk/boilerplate.mk
@@ -5,7 +5,11 @@ HAVE_EVAL := NO
$(eval HAVE_EVAL := YES)
ifeq "$(HAVE_EVAL)" "NO"
-$(error Your make does not support eval. You need GNU make >= 3.80)
+$(error Your make does not support eval. You need GNU make >= 3.81)
+endif
+
+ifeq "$(abspath /)" ""
+$(error Your make does not support abspath. You need GNU make >= 3.81)
endif
show: