Commit 476e8ef5 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Check that make supports eval

parent 5c7ae61b
......@@ -10,6 +10,13 @@
default: all
HAVE_EVAL := NO
$(eval HAVE_EVAL := YES)
ifeq "$(HAVE_EVAL)" "NO"
$(error Your make doesn't support eval. You need GNU make >= 3.80)
endif
define get-ghc-rts-field # $1 = rseult variable, $2 = field name
$1 := $$(shell $$(TEST_HC) +RTS --info | grep '^ .("$2",' | sed -e 's/.*", *"//' -e 's/")$$$$//')
endef
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment