From: Stefano Lattarini Date: Sun, 22 Jul 2012 16:14:48 +0000 (+0200) Subject: [ng] rename: am__configure_deps -> am.remake.configure-deps X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7867c326973cbe3463d8c7c5f30ef10669c44544;p=thirdparty%2Fautomake.git [ng] rename: am__configure_deps -> am.remake.configure-deps Signed-off-by: Stefano Lattarini --- diff --git a/automake.in b/automake.in index 1a45aa0e3..7e988d889 100644 --- a/automake.in +++ b/automake.in @@ -3621,7 +3621,7 @@ sub handle_configure ($$$@) my @configuredeps = ('$(am.remake.aclocal-m4-deps)', '$(CONFIGURE_DEPENDENCIES)'); push @configuredeps, '$(ACLOCAL_M4)' if -f 'aclocal.m4'; - define_variable ('am__configure_deps', INTERNAL, @configuredeps); + define_variable ('am.remake.configure-deps', INTERNAL, @configuredeps); my $automake_options = '--' . $strictness_name . (global_option 'no-dependencies' ? ' --ignore-deps' : ''); diff --git a/lib/am/configure.am b/lib/am/configure.am index cab6595de..bff38bfba 100644 --- a/lib/am/configure.am +++ b/lib/am/configure.am @@ -19,13 +19,13 @@ ## --------------------- ## ## This rule remakes the Makefile.in. -%MAKEFILE-IN%: %MAINTAINER-MODE% %MAKEFILE-AM% %MAKEFILE-IN-DEPS% $(am__configure_deps) +%MAKEFILE-IN%: %MAINTAINER-MODE% %MAKEFILE-AM% %MAKEFILE-IN-DEPS% $(am.remake.configure-deps) ## If configure.ac or one of configure's dependencies has changed, all ## Makefile.in are to be updated; it is then more efficient to run ## automake on all the Makefiles at once. It also allow Automake to be ## run for newly added directories. @for dep in $?; do \ - case '$(am__configure_deps)' in \ + case '$(am.remake.configure-deps)' in \ *$$dep*) \ ?TOPDIR_P? echo ' cd $(srcdir) && $(AUTOMAKE) %AUTOMAKE-OPTIONS%'; \ ?TOPDIR_P? cd $(srcdir) && $(AUTOMAKE) %AUTOMAKE-OPTIONS% \ @@ -83,14 +83,14 @@ if %?TOPDIR_P% ## don't exist. This is especially important for configure, since it ## won't be created until autoconf is run -- which might be after ## automake is run. -am.dist.common-files += $(top_srcdir)/configure $(am__configure_deps) +am.dist.common-files += $(top_srcdir)/configure $(am.remake.configure-deps) endif %?TOPDIR_P% $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) ?TOPDIR_P? $(SHELL) ./config.status --recheck ?!TOPDIR_P? cd $(top_builddir) && $(MAKE) .am/nil -$(top_srcdir)/configure: %MAINTAINER-MODE% $(am__configure_deps) +$(top_srcdir)/configure: %MAINTAINER-MODE% $(am.remake.configure-deps) ?TOPDIR_P? cd $(srcdir) && $(AUTOCONF) ?!TOPDIR_P? cd $(top_builddir) && $(MAKE) .am/nil @@ -102,7 +102,7 @@ $(top_srcdir)/configure: %MAINTAINER-MODE% $(am__configure_deps) ## Whenever a configure dependency changes we need to rebuild ## aclocal.m4 too. Changing configure.ac, or any file included by ## aclocal.m4 might require adding more files to aclocal.m4. Hence -## the $(am__configure_deps) dependency. +## the $(am.remake.configure-deps) dependency. ## We still need $(ACLOCAL_AMFLAGS) for sake of backward-compatibility; ## we should hopefully be able to get rid of it in a not-so-distant ## future. diff --git a/lib/am/remake-hdr.am b/lib/am/remake-hdr.am index 2bcf2df79..77d3fae58 100644 --- a/lib/am/remake-hdr.am +++ b/lib/am/remake-hdr.am @@ -27,7 +27,7 @@ ## Only the first file of AC_CONFIG_HEADERS is assumed to be generated ## by autoheader. if %?FIRST% -%CONFIG_HIN%: %MAINTAINER-MODE% $(am__configure_deps) +%CONFIG_HIN%: %MAINTAINER-MODE% $(am.remake.configure-deps) cd $(top_srcdir) && $(AUTOHEADER) ## Whenever $(AUTOHEADER) has run, we must make sure that ## ./config.status will rebuild config.h. The dependency from %STAMP% diff --git a/t/flavor.sh b/t/flavor.sh index 91b334176..90e0b15b6 100755 --- a/t/flavor.sh +++ b/t/flavor.sh @@ -43,7 +43,7 @@ for flavor in --gnits --gnu --foreign --ignore-deps; do $MAKE # Two code paths in configure.am: - # - either a file in $(am__configure_deps) has been updated ... + # - either a file in $(am.remake.configure-deps) has been updated ... $sleep touch aclocal.m4 $MAKE diff --git a/t/remake-all-1.sh b/t/remake-all-1.sh index b57157ab6..a6ec8e2ad 100755 --- a/t/remake-all-1.sh +++ b/t/remake-all-1.sh @@ -46,7 +46,7 @@ $FGREP "$magic1" mkfile.in && exit 1 # Sanity check. # Two code paths in configure.am: -# - either a file in $(am__configure_deps) has been updated ... +# - either a file in $(am.remake.configure-deps) has been updated ... $sleep echo "AC_SUBST([FOO])" >> configure.ac $MAKE