diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-12 18:40:10 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-12 18:40:10 +0000 |
commit | 6e7d0937bbdae19b099ef2a798a636b084dc519c (patch) | |
tree | 33d94d653ced66cba542504f5f89425e2edca29f /Makefile.tpl | |
parent | 1f6c309f4f2bfaecb0013816a9e40f80875ed82e (diff) | |
download | gcc-6e7d0937bbdae19b099ef2a798a636b084dc519c.tar.gz |
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 95441f5bc43..e9629e2da2c 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 # ------------------------------- |