[Automake-NG] [FYI] Merge branch 'maint' into ng/master

2012-10-27 Thread Stefano Lattarini
commit ae1486dcdefb2bab1e323c2c88b42d9094daca52
Merge: 88d130e 24bf687
Author: Stefano Lattarini stefano.lattar...@gmail.com
AuthorDate: Sat Oct 27 10:57:57 2012 +0200
Commit: Stefano Lattarini stefano.lattar...@gmail.com
CommitDate: Sat Oct 27 11:14:37 2012 +0200

Merge branch 'maint' into ng/master

* maint:
  sync: update files from upstream with make fetch
  maintcheck: remove an obsolescent check
  tests: rename some tests to more expressive names, again
  tests: remove an obsolescent grepping check
  tests: merge two tests on automatic remake functionality
  tests: rename some test to more expressive names
  news: 'compile' supports libfoo.a naming when wrapping Microsoft tools
  tests: ensure generation of wrapper tests matching multiple conditions
  tests: simplify a loop in gen-testsuite-part
  compile: support libfoo.a naming when wrapping Microsoft tools
  NEWS: fix wording and grammaros, re-wrap text accordingly
  cosmetics: fix typo in 'lib/depcomp' comments

+ Extra non-trivial changes:

* Makefile.am (XFAIL_TESTS): Rename 't/pr8365-remake-timing.sh' to
't/remake-timing-bug-pr8365.sh' (in master, this was done for in
file 't/list-of-tests.mk', but that is gone in ng/master).
* t/parallel-tests-empty-tests.sh: Merge ...
* t/parallel-tests-empty.sh: ... into this, to reduce confusion and
code duplication.
* t/remake-maintainer-mode.sh: Delete: Automake-NG don't support
AM_MAINTAINER_MODE (see commit v1.12.2-790-g00a3837).

Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com



[Automake-NG] [PATCH] AM_PROG_MKDIR_P: remove as obsolete, this time for good

2012-10-27 Thread Stefano Lattarini
This commit basically reverts v1.12.4-158-gdf23daf, re-instating
commit v1.12-20-g8a1c64f.

Support for the obsolescent 'AM_PROG_MKDIR_P' m4 macro has been
deprecated in the documentation and with runtime warnings since
Automake 1.12.1.  Still, when we released Automake 1.13, we had
to delay that macro's removal, since at the time the last released
version of GNU gettext still AC_REQUIRE's AM_PROG_MKDIR_P via its
'intl.m4' and 'po.m4' files, which are pulled into *many* projects.

But it's now time to remove AM_PROG_MKDIR_P once and for all.
Projects still needing to work with older gettext releases will
be able to do so by adding a definition like

   AC_DEFUN([AM_PROG_MKDIR_P], [AC_PROG_MKDIR_P([$@])])

to their 'acinclude.m4' file or to another local '*.m4' file.

* m4/mkdirp.m4: Delete.
* Makefile.am (dist_automake_ac_DATA): Remove it.
* automake.in (scan_autoconf_traces): Don't handle, nor warn about,
AM_PROG_MKDIR_P.
* doc/automake.texi (Obsolete Macros): Delete (it only spoke about
AM_PROG_MKDIR_P).
* t/gettext-macros.sh: Adjust.
* t/mkdirp-deprecation.sh: Delete.
* t/list-of-tests.mk: Don't list it.

Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com
---

 I've pushed this patch in the temporary branch 'am-prog-mkdir-p-remove',
 based off master, so that I can merge it in the 'ng/master' branch
 (where AM_PROG_MKDIR_P has already been removed) to avoid spurious
 merge conflicts with master.  Once 1.13 is out and master becomes the
 starting point of Automake 1.14, I'll merge the 'am-prog-mkdir-p-remove'
 branch in master as well (since I plan to remove AM_PROG_MKDIR_P once
 and for all in 1.14), and then I'll remove such temporary branch.

 To stress an important point: this patch is *not* to be applied to the
 upcoming 1.13.x release series; and will not be.

 Regards,
   Stefano

 Makefile.am |  1 -
 automake.in |  9 -
 doc/automake.texi   | 40 
 m4/mkdirp.m4| 31 ---
 t/gettext-macros.sh | 13 +
 t/list-of-tests.mk  |  1 -
 t/mkdirp-deprecation.sh | 48 
 7 files changed, 5 insertions(+), 138 deletions(-)
 delete mode 100644 m4/mkdirp.m4
 delete mode 100755 t/mkdirp-deprecation.sh

diff --git a/Makefile.am b/Makefile.am
index 0e959da..e629787 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -276,7 +276,6 @@ dist_automake_ac_DATA = \
   m4/make.m4 \
   m4/minuso.m4 \
   m4/missing.m4 \
-  m4/mkdirp.m4 \
   m4/options.m4 \
   m4/protos.m4 \
   m4/python.m4 \
diff --git a/automake.in b/automake.in
index ba66d9a..8b9c775 100644
--- a/automake.in
+++ b/automake.in
@@ -5128,7 +5128,6 @@ 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_GNU_GETTEXT = 0,
@@ -5284,14 +5283,6 @@ sub scan_autoconf_traces ($)
 
  $seen_automake_version = 1;
}
-  elsif ($macro eq 'AM_PROG_MKDIR_P') # FIXME: to be removed in 1.14
-   {
- msg 'obsolete', $where, 'EOF';
-The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
-You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
-and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
-EOF
-   }
   elsif ($macro eq 'AM_CONDITIONAL')
{
  $configure_cond{$args[1]} = $where;
diff --git a/doc/automake.texi b/doc/automake.texi
index 92c3851..05fea5e 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -3880,7 +3880,6 @@ Automake ships with several Autoconf macros that you can 
use from your
 
 @menu
 * Public Macros::   Macros that you can use.
-* Obsolete Macros:: Macros that will soon be removed.
 * Private Macros::  Macros that you should not use.
 @end menu
 
@@ -4047,45 +4046,6 @@ define @code{WITH_DMALLOC} and add @option{-ldmalloc} to 
@code{LIBS}.
 @end table
 
 
-@node Obsolete Macros
-@subsection Obsolete Macros
-@cindex obsolete macros
-@cindex autoupdate
-
-Although using some of the following macros was required in past
-releases, you should not use any of them in new code.  @emph{All
-these macros will be removed in the next major Automake version};
-if you are still using them, running @command{autoupdate} should
-adjust your @file{configure.ac} automatically (@pxref{autoupdate
-Invocation, , Using @command{autoupdate} to Modernize
-@file{configure.ac}, autoconf, The Autoconf Manual}).
-@emph{Do it NOW!}
-
-@table @code
-
-@item AM_PROG_MKDIR_P
-@acindex AM_PROG_MKDIR_P
-@cindex @code{mkdir -p}, macro check
-@vindex MKDIR_P
-@vindex mkdir_p
-
-From Automake 1.8 to 1.9.6 this macro used to define the output
-variable @code{mkdir_p} to one of @code{mkdir -p}, @code{install-sh

[Automake-NG] Merge branch 'am-prog-mkdir-p-remove' into ng/master

2012-10-27 Thread Stefano Lattarini
commit ad20eab7d4a27f027971c0bd77a09ccedf7730d8
Merge: 7468fab 5a28948
Author: Stefano Lattarini stefano.lattar...@gmail.com
Date:   Sat Oct 27 14:15:05 2012 +0200

Merge branch 'am-prog-mkdir-p-remove' into ng/master

Since we had to restate AM_PROG_MKDIR_P in master before the 1.13
release, we don't merge master directly in ng/master, to avoid spurious
merge conflicts (since AM_PROG_MKDIR_P should remain obsolete and
removed in Automake-NG).

We have thus create a temporary branch 'am-prog-mkdir-p-remove', based
off of master, which reverts the commit 'v1.12.4-158-gdf23daf', which
reinstated AM_PROG_MKDIR_P, and are merging that branch in 'ng/master'.

Once 1.13 is out and master becomes the starting point of Automake 1.14,
we'll merge the 'am-prog-mkdir-p-remove' branch back into master as well,
since we plan to remove AM_PROG_MKDIR_P once and for all in Automake 1.14.

* am-prog-mkdir-p-remove:
  AM_PROG_MKDIR_P: remove as obsolete, this time for good
  depcomp: avoid potential interferences from the environment
  depcomp: improve comments about the 'gcc' depmode
  compat: reinstate AM_PROG_MKDIR_P, for gettext

Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com



[Automake-NG] [FYI] Merge branch 'master' into ng/master

2012-10-27 Thread Stefano Lattarini
commit 681f32756796f6a90c97213452a757843cc001b8
Merge: ad20eab b0f4556
Author: Stefano Lattarini stefano.lattar...@gmail.com
Date:   Sat Oct 27 14:29:19 2012 +0200

Merge branch 'master' into ng/master

* master:
  tests: prepare to move ./defs to t/ax/test-init.sh



[Automake-NG] [FYI] Merge branch 'master' into ng/master

2012-10-27 Thread Stefano Lattarini
commit 0dd85e069d595f169d2e41c98762a6395632c3fb
Merge: cf8b865 9fed1c8
Author: Stefano Lattarini stefano.lattar...@gmail.com
Date:   Sat Oct 27 17:52:35 2012 +0200

Merge branch 'master' into ng/master

* master:
  tests: remove spurious leftover use of 'Exit'
  tests: remove an obsolete, and probably now wrong, comment
  tests: remove obsolescent references to './defs'
  tests: prefer including 'test-init.sh' rather than './defs'

Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com