]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 15 Nov 2012 15:40:46 +0000 (16:40 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 15 Nov 2012 15:40:46 +0000 (16:40 +0100)
* master:
  fixup: Automake installation works again
  tests: AC_CONFIG_MACRO_DIRS: ignore inevitable failures with old autoconf
  recursion: remove _AM_EXTRA_RECURSIVE_TARGETS indirection
  aclocal: AC_CONFIG_MACRO_DIRS: work around autom4te option parsing bugs
  aclocal: tracing AC_CONFIG_MACRO_DIRS can work with older autoconf as well
  news: we trace AC_CONFIG_MACRO_DIRS
  news: improve wording
  aclocal: trace AC_CONFIG_MACRO_DIR_TRACE
  aclocal: avoid spurious warnings from autom4te with AC_CONFIG_MACRO_DIRS
  coverage: expose a bug in aclocal (spurious warnings)
  aclocal: smash newlines in arguments of traced macros
  tests: better coverage for AC_CONFIG_MACRO_DIRS
  aclocal: diagnose non-existing directories in AC_CONFIG_MACRO_DIRS better
  aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIRS

1  2 
Makefile.am
aclocal.in
automake.in
doc/automake-ng.texi

diff --cc Makefile.am
Simple merge
diff --cc aclocal.in
index cb50e429ff7b1b298964967cee64d2d7b737f00b,76b556a6b0dbfea83d24f18acdeca6f53755f602..1098f637acfe3c0a0128f352a70fe4290e059229
@@@ -44,6 -45,19 +44,16 @@@ use File::Path ()
  
  # Some globals.
  
 -# We do not operate in threaded mode.
 -$perl_threads = 0;
 -
+ # Support AC_CONFIG_MACRO_DIRS also with older autoconf.
+ # FIXME: To be removed in Automake 1.14, once we can assume autoconf
+ #        2.70 or later.
+ # FIXME: keep in sync with 'internal/ac-config-macro-dirs.m4'.
+ my $ac_config_macro_dirs_fallback =
+   'm4_ifndef([AC_CONFIG_MACRO_DIRS], [' .
+     'm4_defun([_AM_CONFIG_MACRO_DIRS], [])' .
+     'm4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])' .
+   '])';
  # Include paths for searching macros.  We search macros in this order:
  # user-supplied directories first, then the directory containing the
  # automake macros, and finally the system-wide directories for
diff --cc automake.in
index 66068539878f675995643f9aad0d7ff8275610e4,3a401d8efb2464b1ae257fdd02a21e7a84050269..1b4d37576f08799779b0c2f072a7369e086a8f1f
@@@ -4174,8 -5128,9 +4174,8 @@@ sub scan_autoconf_traces ($
                AC_REQUIRE_AUX_FILE => 1,
                AC_SUBST_TRACE => 1,
                AM_AUTOMAKE_VERSION => 1,
 -                AM_PROG_MKDIR_P => 0, # FIXME: to be removed in 1.14
                AM_CONDITIONAL => 2,
-               _AM_EXTRA_RECURSIVE_TARGETS => 1,
+               AM_EXTRA_RECURSIVE_TARGETS => 1,
                AM_GNU_GETTEXT => 0,
                AM_GNU_GETTEXT_INTL_SUBDIR => 0,
                AM_INIT_AUTOMAKE => 0,
Simple merge