]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] rename: ACLOCAL_M4 -> am.remake.aclocal-m4
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 22 Jul 2012 16:26:55 +0000 (18:26 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 22 Jul 2012 16:54:03 +0000 (18:54 +0200)
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NG-NEWS
automake.in
lib/am/configure.am
t/confdeps.sh

diff --git a/NG-NEWS b/NG-NEWS
index ca919278ab55804b1cca08e36ffdd7349bba8428..48e466fabf8901de368a45f9f063e662cf707ac0 100644 (file)
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -273,6 +273,10 @@ Obsolete Features Removed
   'AM_SET_LEADING_DOT' and AC_SUBST'd variable 'am__leading_dot' have
   been removed.
 
+* The Automake-defined internal make variable '$(ACLOCAL_M4)' has been
+  renamed to '$(am.remake.aclocal-m4)', and should be considered an
+  internal detail.
+
 
 Source Files with Unknown Extensions
 ====================================
index 7e988d889617e11b27fa7859e41907166778bdf2..7727fb3b28ab334ce66bc0c2b0de56ef877b9cf6 100644 (file)
@@ -3488,7 +3488,8 @@ sub scan_aclocal_m4 ()
 
   if (-f 'aclocal.m4')
     {
-      define_variable ("ACLOCAL_M4", INTERNAL, '$(top_srcdir)/aclocal.m4');
+      define_variable ("am.remake.aclocal-m4", INTERNAL,
+                       '$(top_srcdir)/aclocal.m4');
 
       my $aclocal = new Automake::XFile "< aclocal.m4";
       my $line = $aclocal->getline;
@@ -3620,7 +3621,7 @@ sub handle_configure ($$$@)
                    @configure_deps, '$(top_srcdir)/' . $configure_ac);
   my @configuredeps = ('$(am.remake.aclocal-m4-deps)',
                        '$(CONFIGURE_DEPENDENCIES)');
-  push @configuredeps, '$(ACLOCAL_M4)' if -f 'aclocal.m4';
+  push @configuredeps, '$(am.remake.aclocal-m4)' if -f 'aclocal.m4';
   define_variable ('am.remake.configure-deps', INTERNAL, @configuredeps);
 
   my $automake_options = '--' . $strictness_name .
index bff38bfba5bb91d768866cfa87f508ee2188a555..13a936b2f9eb05a390b8702544dc818ccc0cec96 100644 (file)
@@ -107,7 +107,7 @@ $(top_srcdir)/configure: %MAINTAINER-MODE% $(am.remake.configure-deps)
 ## we should hopefully be able to get rid of it in a not-so-distant
 ## future.
 if %?REGEN-ACLOCAL-M4%
-$(ACLOCAL_M4): %MAINTAINER-MODE% $(am.remake.aclocal-m4-deps)
+$(am.remake.aclocal-m4): %MAINTAINER-MODE% $(am.remake.aclocal-m4-deps)
 ?TOPDIR_P?     cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 ?!TOPDIR_P?    cd $(top_builddir) && $(MAKE) .am/nil
 
index 95e60f9eea67ee9c2634b1216816bbb2aaf71c86..23d9cadd6fb6e2fa7a315a10639ac8fd75cf326d 100755 (executable)
@@ -24,7 +24,7 @@ $ACLOCAL
 
 echo "$me: Generated by aclocal ..."
 $AUTOMAKE
-grep '^\$(ACLOCAL_M4):' Makefile.in
+grep '^\$(am\.remake\.aclocal-m4):' Makefile.in
 
 echo "$me: Not generated by aclocal ..."
 # Pretend it is not from aclocal (remove the signature),
@@ -32,6 +32,6 @@ echo "$me: Not generated by aclocal ..."
 sed -n '3,$p' aclocal.m4 >aclocal.m4t
 mv -f aclocal.m4t aclocal.m4
 $AUTOMAKE
-grep '^\$(ACLOCAL_M4):' Makefile.in && exit 1
+$FGREP '$(am.remake.aclocal-m4):' Makefile.in && exit 1
 
 :