Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
96eca81a
Commit
96eca81a
authored
Jun 09, 2013
by
ian@well-typed.com
Browse files
Change how we check that we have a suitable 'make'
We now check in the same way that the testsuite does.
parent
22690c99
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
96eca81a
...
...
@@ -76,6 +76,23 @@
default
:
all
##################################################
# Check that we have a new enough 'make'
HAVE_EVAL
:=
NO
$(eval HAVE_EVAL
:
= YES)
ifeq
"$(HAVE_EVAL)" "NO"
$(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
##################################################
# Catch make if it runs away into an infinite loop
ifeq
"$(MAKE_RESTARTS)" ""
else
ifeq
"$(MAKE_RESTARTS)" "1"
...
...
mk/tree.mk
View file @
96eca81a
ifneq
"$(findstring 3.7, $(MAKE_VERSION))" ""
ifeq
"$(findstring 3.79.1, $(MAKE_VERSION))" ""
$(error
GNU
make
version
3.79.1
or
later
is
required.)
endif
endif
################################################################################
#
# Layout of the source tree
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment