]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 28 Dec 2012 23:50:34 +0000 (00:50 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 28 Dec 2012 23:50:34 +0000 (00:50 +0100)
* master:
  NEWS: better distinction between obsolete and obsolescent features
  cleanup: get rid of 'Automake::Configure_ac' module
  maint: remove last vestiges of 'configure.in' support from the testsuite
  tests: remove a botched comment from a test case
  maint: reflect removal of 'configure.in' support in comments and messages
  Drop support for 'configure.in' as the Autoconf input file
  Drop support for $(ACLOCAL_M4_SOURCES), it's obsolete

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
1  2 
aclocal.in
automake.in
lib/Automake/Variable.pm
syntax-checks.mk

diff --cc aclocal.in
Simple merge
diff --cc automake.in
index 7d431e9473c620d79039fe83cd1dfb91d8cdf73f,3253f7fc937f98a0f0e66b7af4b2dc131b3cf383..5435be6d153dadf772a28858574930d03908d05f
@@@ -3490,12 -4000,12 +3492,12 @@@ sub handle_configure ($@
    $colon_infile = '' if $colon_infile eq ":$makefile.in";
    my @rewritten = rewrite_inputs_into_dependencies ($makefile, @inputs);
    my $regen_aclocal_m4 = scan_aclocal_m4;
 -  define_pretty_variable ('am__aclocal_m4_deps', TRUE, INTERNAL,
 -                        @configure_deps, "\$(top_srcdir)/$configure_ac");
 -  my @configuredeps = ('$(am__aclocal_m4_deps)', '$(CONFIGURE_DEPENDENCIES)');
 -  push @configuredeps, '$(ACLOCAL_M4)' if -f 'aclocal.m4';
 -  define_pretty_variable ('am__configure_deps', TRUE, INTERNAL,
 -                        @configuredeps);
 +  define_variable ('am.remake.aclocal-m4-deps', INTERNAL,
-                    @configure_deps, '$(top_srcdir)/' . $configure_ac);
++                   @configure_deps, "\$(top_srcdir)/$configure_ac");
 +  my @configuredeps = ('$(am.remake.aclocal-m4-deps)',
 +                       '$(CONFIGURE_DEPENDENCIES)');
 +  push @configuredeps, '$(am.remake.aclocal-m4)' if -f 'aclocal.m4';
 +  define_variable ('am.remake.configure-deps', INTERNAL, @configuredeps);
  
    my $automake_options = '--' . $strictness_name .
                         (global_option 'no-dependencies' ? ' --ignore-deps' : '');
Simple merge
index eaae627c8a4916b108671376da89e8b94c1efdac,b7fe6311b433c32a7daee04850582920d7f1915c..1231d6b795807c79cd353e1773d114b635f64e23
@@@ -558,9 -438,20 +558,20 @@@ sc_m4_am_plain_egrep_fgrep
          exit 1; \
        fi
  
+ ## Use 'configure.ac', not the obsolete 'configure.in', as the name
+ ## for configure input files in our testsuite.  The latter  has been
+ ## deprecated for several years (at least since autoconf 2.50) and
+ ## support for it will be removed in Automake 1.14.
+ sc_tests_no_configure_in:
+       @if grep -E '\bconfigure\\*\.in\b' $(xtests) $(xdefs); then \
+         echo "Use 'configure.ac', not 'configure.in', as the name" >&2; \
+         echo "for configure input files in the test cases above." >&2; \
+         exit 1; \
+       fi
  ## Rule to ensure that the testsuite has been run before.  We don't depend
  ## on 'check' here, because that would be very wasteful in the common case.
 -## We could run "make check RECHECK_LOGS=" and avoid toplevel races with
 +## We could run "make check AM_LAZY_CHECK=yes" and avoid toplevel races with
  ## AM_RECURSIVE_TARGETS.  Suggest keeping test directories around for
  ## greppability of the Makefile.in files.
  sc_ensure_testsuite_has_run: