diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2008-04-12 18:53:52 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2008-04-12 18:53:52 +0000 |
commit | 0bb6ea202ca270fed0bd7153e3e94a2c5540f5d5 (patch) | |
tree | 8c665b87f5bac42bcca288ba7af447574089634c | |
parent | 99b47b026a8e483cdc420f512969571c277c00b5 (diff) | |
download | gdb-0bb6ea202ca270fed0bd7153e3e94a2c5540f5d5.zip gdb-0bb6ea202ca270fed0bd7153e3e94a2c5540f5d5.tar.gz gdb-0bb6ea202ca270fed0bd7153e3e94a2c5540f5d5.tar.bz2 |
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
* Makefile.in: Regenerate.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.in | 8 | ||||
-rw-r--r-- | Makefile.tpl | 8 |
3 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-04-12 Hans-Peter Nilsson <hp@axis.com> + + * Makefile.tpl <gcc>: Error early unless at least GNU make 3.80. + * Makefile.in: Regenerate. + 2008-04-07 Ian Lance Taylor <iant@google.com> * Makefile.def: check-gold depends upon all-binutils. 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 # ------------------------------- diff --git a/Makefile.tpl b/Makefile.tpl index 95441f5..e9629e2 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 # ------------------------------- |