aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-04-12 18:40:10 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2008-04-12 18:40:10 +0000
commit295e261a166495a75b00891227e8a6ae08324a0d (patch)
tree33d94d653ced66cba542504f5f89425e2edca29f /Makefile.in
parentad7aacbab6559173bff8764c1a771ae0c37ef868 (diff)
downloadgcc-295e261a166495a75b00891227e8a6ae08324a0d.zip
gcc-295e261a166495a75b00891227e8a6ae08324a0d.tar.gz
gcc-295e261a166495a75b00891227e8a6ae08324a0d.tar.bz2
Makefile.tpl: Error early unless at least GNU make 3.80.
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80. * Makefile.in: Regenerate. From-SVN: r134225
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index edd2984..dc3b0c5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -20,6 +20,14 @@
# 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
# -------------------------------