summaryrefslogtreecommitdiffstats
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-04-12 18:53:52 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-04-12 18:53:52 +0000
commita7ff2096f7f5ca58a2ea202033a579675e695199 (patch)
tree53d50cb114727a67e6852645dcdd9c9b3c8fe6ce /Makefile.tpl
parent3def0f969ea6027ac26ba9171fb27392e4642c96 (diff)
downloadcygnal-a7ff2096f7f5ca58a2ea202033a579675e695199.tar.gz
cygnal-a7ff2096f7f5ca58a2ea202033a579675e695199.tar.bz2
cygnal-a7ff2096f7f5ca58a2ea202033a579675e695199.zip
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
* Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 95441f5bc..e9629e2da 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -23,6 +23,14 @@ in
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
+# First, test for a proper version of make, but only where one is required.
+
+@if gcc
+ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
+$(error GNU make version 3.80 or newer is required.)
+endif
+@endif gcc
+
# -------------------------------
# Standard Autoconf-set variables
# -------------------------------