From: Stefano Lattarini Date: Fri, 26 Apr 2013 18:22:24 +0000 (+0200) Subject: Merge few bug-fixing branches into branch-1.13.2 X-Git-Tag: v1.13.1d~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fd147d8cf435e337bc9c6270da23633993967cf;hp=cfe0abc7fcedfac86c8928a7dce41aeb41f461a9;p=platform%2Fupstream%2Fautomake.git Merge few bug-fixing branches into branch-1.13.2 * fix-part-pr13832: tests: avoid possible autotools caching issues (automake bug#13832) * fix-pr13760: dry-run: don't get confused by '-I' option dry-run: with GNU make, prefer $(MFLAGS) over $(MAKEFLAGS) header vars: can determine whether we are running under GNU make * fix-doc-pr14019: docs: issues with configure substitutions in TESTS * news-wording-improve: NEWS: improve wording for automake bug#13514 fix --- diff --git a/AUTHORS b/AUTHORS index e63f8b7..a3c5c01 100644 --- a/AUTHORS +++ b/AUTHORS @@ -19,3 +19,9 @@ Alexandre Duret-Lutz Ralf Wildenhues Random breakage. Maintenance since 2006. + +Stefano Lattarini + Testsuite overhaul. + TAP support and custom testsuite drivers. + Random breakage. + De-facto maintenance since 2012. diff --git a/NEWS b/NEWS index 06c012f..6597626 100644 --- a/NEWS +++ b/NEWS @@ -127,23 +127,23 @@ New in 1.13.2: Automake 1.13, has turned out to be a similarly very bad idea, for exactly the same reason. - - Aclocal no longer error out if the first local m4 directory (as - specified by the '-I' option or the 'AC_CONFIG_MACRO_DIRS' or - 'AC_CONFIG_MACRO_DIR' macros) doesn't exist; it merely report a - warning in the 'unsupported' category. This is done to support - some pre-existing real-world usages; refer to automake bug#13514 - for more details. + - aclocal will no longer error out if the first local m4 directory + (as specified by the '-I' option or the 'AC_CONFIG_MACRO_DIRS' or + 'AC_CONFIG_MACRO_DIR' macros) doesn't exist; it will merely report + a warning in the 'unsupported' category. This is done to support + some pre-existing real-world usages. See automake bug#13514. - - Aclocal no longer consider directories for extra m4 files more than - once, even if they are specified multiple times. This prevents - problems in older packages that specify both + - aclocal will no longer consider directories for extra m4 files more + than once, even if they are specified multiple times. This ensures + packages that specify both AC_CONFIG_MACRO_DIR([m4]) in configure.ac ACLOCAL_AMFLAGS = -I m4 in Makefile.am - If the 'm4' directory did not exist when aclocal was called the first - time by autoreconf, an error would have ensued with Automake 1.13 and - 1.13.1. See automake bug#13514. + will work correctly, even when the 'm4' directory contains no + package-specific files, but is used only to install third-party + m4 files (as can happen with e.g., "libtoolize --install"). + See automake bug#13514. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/automake.texi b/doc/automake.texi index e700ab9..e52cc3a 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -53,6 +53,8 @@ section entitled ``GNU Free Documentation License.'' @author David MacKenzie @author Tom Tromey @author Alexandre Duret-Lutz +@author Ralf Wildenhues +@author Stefano Lattarini @page @vskip 0pt plus 1filll @insertcopying @@ -9087,6 +9089,12 @@ followed by any number of alphabetic characters. For example, @samp{.sh}, @samp{.T} and @samp{.t1} are valid extensions, while @samp{.x-y}, @samp{.6c} and @samp{.t.1} are not. +@cindex Configure substitutions in @code{TESTS} +It is important to note that, due to current limitations (unlikely to be +lifted), configure substitutions in the definition of @code{TESTS} can +only work if they will expand to a list of tests that have a suffix listed +in @code{TEST_EXTENSIONS}. + @vindex _LOG_COMPILE @vindex _LOG_COMPILER @vindex _LOG_FLAGS diff --git a/t/ar-lib4.sh b/t/ar-lib4.sh index 68615e8..4d3c40a 100755 --- a/t/ar-lib4.sh +++ b/t/ar-lib4.sh @@ -39,6 +39,8 @@ AUTOMAKE_fails grep 'requires.*AM_PROG_AR' stderr +rm -rf autom4te*.cache + cp X configure.ac cat >> configure.ac << 'END' diff --git a/t/lisp-flags.sh b/t/lisp-flags.sh index a31bcfd..1ea5b8e 100755 --- a/t/lisp-flags.sh +++ b/t/lisp-flags.sh @@ -20,7 +20,7 @@ # Don't get fooled when running as an Emacs subprocess. This is # for the benefit of the "make -e" invocation below. -unset EMACS +EMACS=; unset EMACS cat > Makefile.am << 'EOF' lisp_LISP = foo.el