automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-ng] [FYI] [ng] general: GNU make always define the $(MAKE) var


From: Stefano Lattarini
Subject: [Automake-ng] [FYI] [ng] general: GNU make always define the $(MAKE) variable
Date: Sun, 22 Jan 2012 17:29:32 +0100

So the special line '@SET_MAKE@' into generated Makefile.in
is useless.  Get rid of it.

* lib/am/header-vars.am (@SET_MAKE@): Remove.
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't require 'AC_PROG_MAKE_SET'
anymore.
---
 lib/am/header-vars.am |    4 +---
 m4/init.m4            |    1 -
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am
index d1cd76e..f412470 100644
--- a/lib/am/header-vars.am
+++ b/lib/am/header-vars.am
@@ -1,6 +1,6 @@
 ## automake - create Makefile.in from Makefile.am
 ## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2003, 2005,
-## 2006 Free Software Foundation, Inc.
+## 2006, 2012 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -17,8 +17,6 @@
 
 VPATH = @srcdir@
 
address@hidden@
-
 ## We used to define this.  However, we don't because vendor makes
 ## (e.g., Solaris, Irix) won't correctly propagate variables that are
 ## defined in Makefile.  This particular variable can't be correctly
diff --git a/m4/init.m4 b/m4/init.m4
index ccc1965..492e531 100644
--- a/m4/init.m4
+++ b/m4/init.m4
@@ -83,7 +83,6 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
 AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
-- 
1.7.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]