summaryrefslogtreecommitdiff
path: root/builds/toplevel.mk
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2008-07-05 06:35:28 +0000
committerWerner Lemberg <wl@gnu.org>2008-07-05 06:35:28 +0000
commit4e33f9e53c2dcfeebd84f8e9a61ae80724c7acf5 (patch)
treedeece080104c605fa62ca75d3b3cee4b65ab8a06 /builds/toplevel.mk
parent71b8f3f2ed06ce2a437b31e34c75e6aeab781640 (diff)
downloadfreetype2-4e33f9e53c2dcfeebd84f8e9a61ae80724c7acf5.tar.gz
Since FreeType uses `$(value ...)', we now need GNU make 3.80 or
newer. * configure: zsh doesn't like ${1+"$@"}. Update needed GNU make version. * builds/toplevel.mk: Check for `$(eval ...)'. * docs/INSTALL.GNU, docs/INSTALL.CROSS, docs/INSTALL.UNIX: Document it.
Diffstat (limited to 'builds/toplevel.mk')
-rw-r--r--builds/toplevel.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index 57b5ca56c..f2d759a37 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -34,6 +34,16 @@
# details on host platform detection and library builds.
+# First of all, check whether we have `$(value ...)'. We do this by testing
+# for `$(eval ...)' which has been introduced in the same GNU make version.
+
+eval_available :=
+$(eval eval_available := T)
+ifneq ($(eval_available),T)
+ $(error FreeType's build system needs a Make program which supports $$(value))
+endif
+
+
.PHONY: all dist distclean modules setup