test defs: more granular overriding of the make program
[automake.git] / NEWS
blob0c0a2dc2531046047662cb4fc80e6a5324ec8ae9
1 New in 1.11.0a:
3 * WARNING: Future backward-incompatibilities!
5   - The Automake support for automatic de-ANSI-fication will be removed in
6     the next major Automake release (1.12).
8   - The `--acdir' option of aclocal is deprecated, and will probably be
9     removed in the next major Automake release (1.12).
11   - The exact order in which the directories in the aclocal macro
12     search path are looked up is probably going to be changed in the
13     next Automake release (1.12).
15   - The obsolescent AM_WITH_REGEX  macro has been deprecated (since the
16     GNU rx library has been decommissioned), and will be removed in the
17     next major Automake release (1.12).
19 * Changes to aclocal:
21   - The `--acdir' option is deprecated.  Now you should use the new options
22     `--automake-acdir' and `--system-acdir' instead.
24   - The `ACLOCAL_PATH' environment variable is now interpreted as a
25     colon-separated list of additional directories to search after the
26     automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION)
27     and before the system acdir (by default ${prefix}/share/aclocal).
29 * Miscellaneous changes:
31   - In the Automake info documentation, the Top node and the nodes about
32     the invocation of the automake and aclocal programs have been renamed;
33     now, calling "info automake" will open the Top node, while calling
34     "info automake-invocation" and "info aclocal-invocation" will access
35     the nodes about the invocation of respectively automake and aclocal.
37   - Automake is now distributed as a gzip-compressed and an xz-compressed
38     tarball.  Previously, bzip2 was used instead of xz.
40   - The last relics of Python 1.5 support have been removed from the
41     AM_PATH_PYTHON macro.
43   - The `lzma' compression scheme and associated automake option `dist-lzma'
44     is obsoleted by `xz' and `dist-xz' due to upstream changes.
46   - You may adjust the compression options used in dist-xz and dist-bzip2.
47     The default is now merely -e for xz, but still -9 for bzip;  you may
48     specify a different level via the XZ_OPT and BZIP2 envvars respectively.
49     E.g., "make dist-xz XZ_OPT=-7" or "make dist-bzip2 BZIP2=-5"
51   - The py-compile script now accepts empty arguments passed to the options
52     `--destdir' and `--basedir', and complains about unrecognized options.
53     Moreover, a non-option argument or a special `--' argument terminates
54     the list of options.
56   - A developer that needs to pass specific flags to configure at "make
57     distcheck" time can now, and indeed is advised to, do so by defining
58     the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS,
59     instead of the old DISTCHECK_CONFIGURE_FLAGS.
60     The DISTCHECK_CONFIGURE_FLAGS variable should now be reserved for the
61     user; still, the old Makefile.am files that used to define it will
62     still continue to work as before.
64   - When using DejaGnu-based testsuites, the user can extend the `site.exp'
65     file generated by automake-provided rules by defining the special make
66     variable `$(EXTRA_DEJAGNU_SITE_CONFIG)'.
68   - The `install-info' rule can now be instructed not to create/update
69     the `${infodir}/dir' file, by exporting the new environment variable
70     `AM_UPDATE_INFO_DIR' to the value "no".
72 Bugs fixed in 1.11.0a:
74 * Bugs introduced by 1.11:
76   - The `parallel-tests' test driver works around a GNU make 3.80 bug with
77     trailing white space in the test list (`TESTS = foo $(EMPTY)'), and
78     does not report spurious successes when used with concurrent FreeBSD
79     make (e.g., "make check -j3").
81   - When the parallel-tests driver is in use, automake now explicitly
82     rejects invalid entries and conditional contents in TEST_EXTENSIONS,
83     instead of issuing confusing and apparently unrelated error messages
84     (e.g., "non-POSIX variable name", "bad characters in variable name",
85     or "redefinition of TEST_EXTENSIONS), or even, in some situations,
86     silently producing broken `Makefile.in' files.
88   - The `silent-rules' option now truly silences all compile rules, even
89     when dependency tracking is disabled.  Also, when `silent-rules' is
90     not used, `make' output no longer contains spurious backslash-only
91     lines, thus once again matching what Automake did before 1.11.
93   - The `silent-rules' option now generates working makefiles even for
94     the uncommon `make' implementations that do not support the
95     nested-variables extension to POSIX 2008.  For such `make'
96     implementations, whether a build is silent is determined at
97     configure time, and cannot be overridden at make time with
98     `make V=0' or `make V=1'.
100   - The AM_COND_IF macro also works if the shell expression for the conditional
101     is no longer valid for the condition.
103 * Long-standing bugs:
105   - The "deleted header file problem" for *.am files is avoided by stub
106     rules.  This allows `make' to trigger a rerun of `automake' also if
107     some previously needed `.am' file has been removed.
109   - "make distcheck" now correctly complains also when "make uninstall"
110     leaves one and only one file installed in $(prefix).
112   - A "make uninstall" issued before a "make install", or after a mere
113     "make install-data" or a mere "make install-exec" does not spuriously
114     fail anymore.
116   - Automake now warns about more primary/directory invalid combinations,
117     such as "doc_LIBRARIES" or "pkglib_PROGRAMS".
119   - On Darwin 9, `pythondir' and `pyexecdir' pointed below `/Library/Python'
120     even if the `--prefix' argument pointed outside of a system directory.
121     AM_PATH_PYTHON has been fixed to ignore the value returned from python's
122     `get_python_lib' function if it points outside the configured prefix,
123     unless the `--prefix' argument was either `/usr' or below `/System'.
125   - The testsuite does not try to change the mode of `ltmain.sh' files from
126     a Libtool installation (symlinked to test directories) any more.
128   - AM_PROG_GCJ uses AC_CHECK_TOOLS to look for `gcj' now, so that prefixed
129     tools are preferred in a cross-compile setup.
131   - Several scripts and the parallel-tests testsuite driver now exit with
132     the right exit status upon receiving a signal.
134   - A per-Makefile.am setting of -Werror does not erroneously carry over
135     to the handling of other Makefile.am files.
137   - The order of Yacc and Lex flags is now consistent with that of other
138     languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
139     $(LFLAGS), so that the user variables override the developer variables.
141   - Rules generated by Automake now try harder not to change any files when
142     `make -n' is invoked.  Fixes include compilation of Emacs Lisp, Vala, or
143     Yacc source files and the rule to update config.h.
145   - The code for automatic dependency tracking works around a Solaris
146     make bug triggered by sources containing repeated slashes when the
147     `subdir-objects' option was used.
149   - The parallel-tests driver no longer produces erroneous results with
150     Tru64/OSF 5.1 sh upon unreadable log files.
152   - The makedepend and hp depmodes now work better with VPATH builds.
154   - Java sources specified with check_JAVA are no longer compiled for
155     "make all", but only for "make check".
157   - An usage like "java_JAVA = foo.java" will now cause Automake to warn
158     and error out if `javadir' is undefined, instead of silently producing
159     a broken Makefile.in.
161   - aclocal and automake now honour the configure-time definitions of
162     AUTOCONF and AUTOM4TE when they spawn autoconf or autom4te processes.
164   - The `install-info' recipe no longer tries to guess whether the
165     `install-info' program is from Debian or from GNU, and adaptively
166     change its behaviour; this has proven to be frail and easy to
167     regress.
169 New in 1.11:
171 * Version requirements:
173   - Autoconf 2.62 or greater is required.
175 * Changes to aclocal:
177   - The autoconf version check implemented by aclocal in aclocal.m4
178     (and new in Automake 1.10) is degraded to a warning.  This helps
179     in the common case where the Autoconf versions used are compatible.
181 * Changes to automake:
183   - The automake program can run multiple threads for creating most
184     Makefile.in files concurrently, if at least Perl 5.7.2 is available
185     with interpreter-based threads enabled.  Set the environment variable
186     AUTOMAKE_JOBS to the maximum number of threads to use, in order to
187     enable this experimental feature.
189 * Changes to Libtool support:
191   - Libtool generic flags are now passed to the install and uninstall
192     modes as well.
194   - distcheck works with Libtool 2.x even when LT_OUTPUT is used, as
195     config.lt is removed correctly now.
197 * Languages changes:
199   - subdir-object mode works now with Fortran (F77, FC, preprocessed
200     Fortran, and Ratfor).
202   - For files with extension .f90, .f95, .f03, or .f08, the flag
203     $(FCFLAGS_f[09]x) computed by AC_FC_SRCEXT is now used in compile rules.
205   - Files with extension .sx are also treated as preprocessed assembler.
207   - The default source file extension (.c) can be overridden with
208     AM_DEFAULT_SOURCE_EXT now.
210   - Python 3.0 is supported now, Python releases prior to 2.0 are no
211     longer supported.
213   - AM_PATH_PYTHON honors python's idea about the site directory.
215   - There is initial support for the Vala programming language, when using
216     Vala 0.7.0 or later.
218 * Miscellaneous changes:
220   - Automake development is done in a git repository on Savannah now, see
222       http://git.sv.gnu.org/gitweb/?p=automake.git
224     A read-only CVS mirror is provided at
226       cvs -d :pserver:anonymous@pserver.git.sv.gnu.org:/automake.git \
227           checkout -d automake HEAD
229   - "make dist" can now create xz-compressed tarballs,
230     as well as (deprecated?) lzma-compressed tarballs.
232   - `automake --add-missing' will by default install the GPLv3 file as
233     COPYING if it is missing.  It will also warn that the license file
234     should be added to source control.  Note that Automake will never
235     overwrite an existing COPYING file, even when the `--force-missing'
236     option is used.
238   - The manual is now distributed under the terms of the GNU FDL 1.3.
240   - Automake ships and installs man pages for automake and aclocal now.
242   - New shorthand `$(pkglibexecdir)' for `$(libexecdir)/@PACKAGE@'.
244   - install-sh supports -C, which does not update the installed file
245     (and its time stamps) if the contents did not change.
247   - The `gnupload' script has been revamped.
249   - The `depcomp' and `compile' scripts now work with MSVC under MSYS.
251   - The targets `install' and `uninstall' are more efficient now, in that
252     for example multiple files from one Automake variable such as
253     `bin_SCRIPTS' are copied in one `install' (or `libtool --mode=install')
254     invocation if they do not have to be renamed.
256     Both install and uninstall may sometimes enter (`cd' into) the target
257     installation directory now, when no build-local scripts are used.
259     Both install and uninstall do not fail anymore but do nothing if an
260     installation directory variable like `bindir' is set to the empty string.
262     For built-in rules, `make install' now fails reliably if installation
263     of a file failed.  Conversely, `make uninstall' even succeeds when
264     issued multiple times.
266     These changes may need some adjustments from users:  For example,
267     some `install' programs refuse to install multiple copies of the
268     same file in one invocation, so you may need to remove duplicate
269     entries from file lists.
271     Also, within one set of files, say, nobase_data_DATA, the order of
272     installation may be changed, or even unstable among different hosts,
273     due to the use of associative arrays in awk.  The increased use of
274     awk matches a similar move in Autoconf to provide for better scaling.
276     Further, most undocumented per-rule install command variables such as
277     binSCRIPT_INSTALL have been removed because they are not needed any
278     more.  Packages which use them should be using the appropriate one of
279     INSTALL_{DATA,PROGRAM,SCRIPT} or their install_sh_{DATA,PROGRAM,SCRIPT}
280     counterpart, depending on the type of files and the need for automatic
281     target directory creation.
283   - The "deleted header file problem" for *.m4 files is avoided by
284     stub rules.  This allows `make' to trigger a rerun of `aclocal'
285     also if some previously needed macro file has been removed.
287   - Rebuild rules now also work for a removed `subdir/Makefile.in' in
288     an otherwise up to date tree.
290   - The `color-tests' option causes colored test result output on terminals.
292   - The `parallel-tests' option enables a new test driver that allows for
293     parallel test execution, inter-test dependencies, lazy test execution
294     for unit-testing, re-testing only failed tests, and formatted result output
295     as RST (reStructuredText) and HTML.  Enabling this option may require some
296     changes to your test suite setup; see the manual for details.
298   - The `silent-rules' option enables Linux kernel-style silent build output.
299     This option requires the widely supported but non-POSIX `make' feature
300     of recursive variable expansion, so do not use it if your package needs
301     to build with `make' implementations that do not support it.
303     To enable less verbose build output, the developer has to use the Automake
304     option `silent-rules' in `AM_INIT_AUTOMAKE', or call the `AM_SILENT_RULES'
305     macro.  The user may then set the default verbosity by passing the
306     `--enable-silent-rules' option to `configure'.  At `make' run time, this
307     default may be overridden using `make V=0' for less verbose, and `make V=1'
308     for backward-compatible verbose output.
310   - New prefix `notrans_' for manpages which should not be transformed
311     by --program-transform.
313   - New macro AM_COND_IF for conditional evaluation and conditional
314     config files.
316   - For AC_CONFIG_LINKS, if source and destination are equal, do not
317     remove the file in a non-VPATH build.  Such setups work with Autoconf
318     2.62 or newer.
320   - AM_MAINTAINER_MODE now allows for an optional argument specifying
321     the default setting.
323   - AM_SUBST_NOTMAKE may prevent substitution of AC_SUBSTed variables,
324     useful especially for multi-line values.
326   - Automake's early configure-time sanity check now diagnoses an
327     unsafe absolute source directory name and makes configure fail.
329   - The Automake macros and rules cope better with whitespace in the
330     current directory name, as long as the relative path to `configure'
331     does not contain whitespace.  To this end, the values of `$(MISSING)'
332     and `$(install_sh)' may contain suitable quoting, and their expansion
333     might need `eval'uation if used outside of a makefile.  These
334     undocumented variables may be used in several documented macros such
335     as $(AUTOCONF) or $(MAKEINFO).
337 Bugs fixed in 1.11:
339 * Long-standing bugs:
341   - Fix aix dependency tracking for libtool objects.
343   - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to
344     unnecessary use of the `compile' script.
346   - For nobase_*_LTLIBRARIES with nonempty directory components, the
347     correct `-rpath' argument is used now.
349   - `config.status --file=Makefile depfiles' now also works with the
350     extra quoting used internally by Autoconf 2.62 and newer
351     (it used to work only without the `--file=' bit).
353   - The `missing' script works better with versioned tool names.
355   - Semantics for `missing help2man' have been revamped:
357     Previously, if `help2man' was not present, `missing help2man' would have
358     the following semantics: if some man page was out of date but present, then
359     a warning would be printed, but the exit status was 0.  If the man page was
360     not present at all, then `missing' would create a replacement man page
361     containing an error message, and exit with a status of 2.  This does not play
362     well with `make': the next run will see this particular man page as being up
363     to date, and will only error out on the next generated man page, if any;
364     repeat until all pages are done.  This was not desirable.
366     These are the new semantics: if some man page is not present, and help2man
367     is not either, then `missing' will warn and generate the replacement page
368     containing the error message, but exit successfully.  However, `make dist'
369     will ensure that no such bogus man pages are packaged into a tarball.
371   - Targets provided by automake behave better with `make -n', in that they
372     take care not to create files.
374   - `config.status Makefile... depfiles' works fine again in the presence of
375     disabled dependency tracking.
377   - The default no-op recursive rules for these targets also work with BSD make
378     now: html, install-html, install-dvi, install-pdf, install-pdf, install-info.
380   - `make distcheck' works also when both a directory and some file below it
381     have been added to a distribution variable, such as EXTRA_DIST or *_SOURCES.
383   - Texinfo dvi, ps, pdf, and html output files are not removed upon
384     `make mostlyclean' any more; only the LaTeX by-products are.
386   - Renamed objects also work with the `subdir-objects' option and
387     source file languages which Automake does not know itself.
389   - `automake' now correctly complains about variable assignments which are
390     preceded by a comment, extend over multiple lines with backslash-escaped
391     newlines, and end in a comment sign.  Previous versions would silently
392     and wrongly ignore such assignments completely.
394 * Bugs introduced by 1.10:
396   - Fix output of dummy dependency files in presence of post-processed
397     Makefile.in's again, but also cope with long lines.
399   - $(EXEEXT) is automatically appended to filenames of XFAIL_TESTS
400     that have been declared as programs in the same Makefile.
401     This is for consistency with the analogous change to TESTS in 1.10.
403   - Fix order of standard includes to again be `-I. -I$(srcdir)',
404     followed by directories containing config headers.
406 New in 1.10:
408 * Version requirements:
410   - Autoconf 2.60 or greater is required.
412   - Perl 5.6 or greater is required.
414 * Changes to aclocal:
416   - aclocal now also supports -Wmumble and -Wno-mumble options.
418   - `dirlist' entries (for the aclocal search path) may use shell
419     wildcards such as `*', `?', or `[...]'.
421   - aclocal supports an --install option that will cause system-wide
422     third-party macros to be installed in the local directory
423     specified with the first -I flag.  This option also uses #serial
424     lines in M4 files to upgrade local macros.
426     The new aclocal options --dry-run and --diff help to review changes
427     before they are installed.
429   - aclocal now outputs an autoconf version check in aclocal.m4 in
430     projects using automake.
432     For a few years, automake and aclocal have been calling autoconf
433     (or its underlying engine autom4te) to accurately retrieve the
434     data they need from configure.ac and its siblings.  Doing so can
435     only work if all autotools use the same version of autoconf.  For
436     instance a Makefile.in generated by automake for one version of
437     autoconf may stop working if configure is regenerated with another
438     version of autoconf, and vice versa.
440     This new version check ensures that the whole build system has
441     been generated using the same autoconf version.
443 * Support for new Autoconf macros:
445   - The new AC_REQUIRE_AUX_FILE Autoconf macro is supported.
447   - If `subdir-objects' is set, and AC_CONFIG_LIBOBJ_DIR is specified,
448     $(LIBOBJS), $(LTLIBOBJS), $(ALLOCA), and $(LTALLOCA) can be used
449     in different directories.  However, only one instance of such a
450     library objects directory is supported.
452 * Change to Libtool support:
454   - Libtool generic flags (those that go before the --mode=MODE option)
455     can be specified using AM_LIBTOOLFLAGS and target_LIBTOOLFLAGS.
457 * Yacc and Lex changes:
459   - The rebuild rules for distributed Yacc and Lex output will avoid
460     overwriting existing files if AM_MAINTAINER_MODE and maintainer-mode
461     is not enabled.
463   - ylwrap is now always used for lex and yacc source files,
464     regardless of whether there is more than one source per directory.
466 * Languages changes:
468   - Preprocessed assembler (*.S) compilation now honors CPPFLAGS,
469     AM_CPPFLAGS and per-target _CPPFLAGS, and supports dependency
470     tracking, unlike non-preprocessed assembler (*.s).
472   - subdir-object mode works now with Assembler.  Automake assumes
473     that the compiler understands `-c -o'.
475   - Preprocessed assembler (*.S) compilation now also honors
476     $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES).
478   - Improved support for Objective C:
479     - Autoconf's new AC_PROG_OBJC will enable automatic dependency tracking.
480     - A new section of the manual documents the support.
482   - New support for Unified Parallel C:
483     - AM_PROG_UPC looks for a UPC compiler.
484     - A new section of the manual documents the support.
486   - Per-target flags are now correctly handled in link rules.
488     For instance maude_CFLAGS correctly overrides AM_CFLAGS; likewise
489     for maude_LDFLAGS and AM_LDFLAGS.  Previous versions bogusly
490     preferred AM_CFLAGS over maude_CFLAGS while linking, and they
491     used both AM_LDFLAGS and maude_LDFLAGS on the same link command.
493     The fix for compiler flags (i.e., using maude_CFLAGS instead of
494     AM_CFLAGS) should not hurt any package since that is how _CFLAGS
495     is expected to work (and actually works during compilation).
497     However using maude_LDFLAGS "instead of" AM_LDFLAGS rather than
498     "in addition to" breaks backward compatibility with older versions.
499     If your package used both variables, as in
501       AM_LDFLAGS = common flags
502       bin_PROGRAMS = a b c
503       a_LDFLAGS = more flags
504       ...
506     and assumed *_LDFLAGS would sum up, you should rewrite it as
508       AM_LDFLAGS = common flags
509       bin_PROGRAMS = a b c
510       a_LDFLAGS = $(AM_LDFLAGS) more flags
511       ...
513     This new behavior of *_LDFLAGS is more coherent with other
514     per-target variables, and the way *_LDFLAGS variables were
515     considered internally.
517 * New installation targets:
519   - New targets mandated by GNU Coding Standards:
520       install-dvi
521       install-html
522       install-ps
523       install-pdf
524     By default they will only install Texinfo manuals.
525     You can customize them with *-local variants:
526       install-dvi-local
527       install-html-local
528       install-ps-local
529       install-pdf-local
531   - The undocumented recursive target `uninstall-info' no longer exists.
532     (`uninstall' is in charge of removing all possible documentation
533     flavors, including optional formats such as dvi, ps, or info even
534     when `no-installinfo' is used.)
536 * Miscellaneous changes:
538   - Automake no longer complains if input files for AC_CONFIG_FILES
539     are specified using shell variables.
541   - clean, distribution, or rebuild rules are normally disabled for
542     inputs and outputs of AC_CONFIG_FILES, AC_CONFIG_HEADERS, and
543     AC_CONFIG_LINK specified using shell variables.  However, if these
544     variables are used as ${VAR}, and AC_SUBSTed, then Automake will
545     be able to output rules anyway.
546     (See the Automake documentation for AC_CONFIG_FILES.)
548   - $(EXEEXT) is automatically appended to filenames of TESTS
549     that have been declared as programs in the same Makefile.
550     This is mostly useful when some check_PROGRAMS are listed in TESTS.
552   - `-Wportability' has finally been turned on by default for `gnu' and
553     `gnits' strictness.  This means, automake will complain about %-rules
554     or $(GNU Make functions) unless you switch to `foreign' strictness or
555     use `-Wno-portability'.
557   - Automake now uses AC_PROG_MKDIR_P (new in Autoconf 2.60), and uses
558     $(MKDIR_P) instead of $(mkdir_p) to create directories.  The
559     $(mkdir_p) variable is still defined (to the same value as
560     $(MKDIR_P)) but should be considered obsolete.  If you are using
561     $(mkdir_p) in some of your rules, please plan to update them to
562     $(MKDIR_P) at some point.
564   - AM_C_PROTOTYPES and ansi2knr are now documented as being obsolete.
565     They still work in this release, but may be withdrawn in a future one.
567   - Inline compilation rules for gcc3-style dependency tracking are
568     more readable.
570   - Automake installs a "Hello World!" example package in $(docdir).
571     This example is used throughout the new "Autotools Introduction"
572     chapter of the manual.
574 New in 1.9:
576 * Makefile.in bloat reduction:
578   - Inference rules are used to compile sources in subdirectories when
579     the `subdir-objects' option is used and no per-target flags are
580     used.  This should reduce the size of some projects a lot, because
581     Automake used to output an explicit rule for each such object in
582     the past.
584   - Automake no longer outputs three rules (.o, .obj, .lo) for each
585     object that must be built with explicit rules.  It just outputs
586     the rules required to build the kind of object considered: either
587     the two .o and .obj rules for usual objects, or the .lo rule for
588     libtool objects.
590 * Change to Libtool support:
592   - Libtool tags are used with libtool versions that support them.
593     (I.e., with Libtool 1.5 or greater.)
595   - Automake is now able to handle setups where a libtool library is
596     conditionally installed in different directories, as in
598       if COND
599         lib_LTLIBRARIES = liba.la
600       else
601         pkglib_LTLIBRARIES = liba.la
602       endif
603       liba_la_SOURCES = ...
605 * Changes to aclocal:
607   - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
608     really evaluated, before it decides to include them in aclocal.m4.
609     This solves nasty problems with conditional redefinitions of
610     Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
611     *.m4 files to be included in any project using these macros.
612     (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
613     most famous instance of this bug.)
615   - Do not complain about missing conditionally AC_REQUIREd macros
616     that are not actually used.  In 1.8.x aclocal would correctly
617     determine which of these macros were really needed (and include
618     only these in the package); unfortunately it would also require
619     all of them to be present in order to run.  This created
620     situations were aclocal would not work on a tarball distributing
621     all the macros it uses.  For instance running aclocal on a project
622     containing only the subset of the Gettext macros in use by the
623     project did not work, because gettext conditionally requires other
624     macros.
626 * Portability improvements:
628   - Tar format can be chosen with the new options tar-v7, tar-ustar, and
629     tar-pax.  The new option filename-length-max=99 helps diagnosing
630     filenames that are too long for tar-v7.  (PR/414)
632   - Variables aumented with `+=' are now automatically flattened (i.e.,
633     trailing backslashes removed) and then wrapped around 80 colummns
634     (adding trailing backslashes).  In previous versions, a long series
635     of
636       VAR += value1
637       VAR += value2
638       VAR += value3
639       ...
640     would result in a single-line definition of VAR that could possibly
641     exceed the maximum line length of some make implementations.
643     Non-augmented variables are still output as they are defined in
644     the Makefile.am.
646 * Miscellaneous:
648   - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
649     Works the same as the old Fortran 77 implementation; just replace
650     F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
651     Requires a version of autoconf which provides AC_PROG_FC (>=2.59).
653   - Support for conditional _LISP.
655   - Support for conditional -hook and -local rules (PR/428).
657   - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)
659   - Automake will not write any Makefile.ins after the first error it
660     encounters.  The previous Makefile.ins (if any) will be left in
661     place.  (Warnings will not prevent output, but remember they can
662     be turned into errors with -Werror.)
664   - The restriction that SUBDIRS must contain direct children is gone.
665     Do not abuse.
667   - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
668     It also gives an example of nested packages using AC_CONFIG_SUBDIRS.
670 Bugs fixed in 1.8.5:
672 * Long-standing bugs:
674   - Define DIST_SUBDIRS even when the `no-dist' or `cygnus' options are used
675     so that `make distclean' and `make maintainer-clean' can work.
677   - Define AR and ARFLAGS even when only EXTRA_LIBRARIES are defined.
679   - Fix many rules to please FreeBSD make, which runs commands with `sh -e'.
681   - Polish diagnostic when no input file is found.
683 Bugs fixed in 1.8.4:
685 * Long-standing bugs:
687   - Fix AM_PATH_PYTHON to correctly display $PYTHON when it has been
688     overridden by the user.
690   - Honor PATH_SEPARATOR in various places of the Automake package, for
691     the sake of OS/2.
693   - Adjust dependency tracking mode detection to ICC 8.0's new output.
694     (PR/416)
696   - Fix install-sh so it can install the `mv' binary... using `mv'.
698   - Fix tru64 dependency tracking for libtool objects.
700   - Work around Exuberant Ctags when creating a TAGS files in a directory
701     without files to scan but with subdirectories to include.
703 * Bugs introduced by 1.8:
705   - Fix an "internal error" when @LIBOBJS@ is used in a variable that is
706     not defined in the same conditions as the _LDADD that uses it.
708   - Do not warn when JAVAROOT is overridden, this is legitimate.
710 Bugs fixed in 1.8.3:
712 * Long-standing bugs:
714   - Quote filenames in installation rules, in case $DESTDIR, $prefix,
715     or any of the other *dir variables contain a space.
717     Please note that Automake does not and cannot support spaces in
718     filenames that are involved during the build.  This change affects
719     only installation paths, so that `make install' does not bomb out
720     in packages configured with
721       ./configure --prefix '/c/Program Files'
723   - Fix the depfiles output so it works with GNU sed (<4.1) even when
724     POSIXLY_CORRECT is set.
726   - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX.  This macro was unusable
727     since Autoconf 2.54, which defines LIBOBJS itself.
729   - Fix a potential (but unlikely) race condition in parallel elisp
730     builds.  (Introduced in 1.7.3.)
732   - Do not assume that users override _DEPENDENCIES in all conditions
733     where Automake will try to define them.
735   - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
736     Solaris 8's `mkdir -p' is not thread-safe and can break parallel
737     builds.
739     This fix also affects the $(mkdir_p) variable defined since
740     Automake 1.8.  It will be set to `mkdir -p' only if mkdir is GNU
741     mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
743   - Secure temporary directory creation in `make distcheck'. (PR/413)
745   - Do not generate two build rules for `parser.h' when the
746     parser appears in two different conditionals.
748   - Work around a Solaris 8 /bin/sh bug in the test for dependency
749     checking.  Usually ./configure will not pick this shell; so this
750     fix only helps cases where the shell is forced to /bin/sh.
752 * Bugs introduced by 1.8:
754   - In some situations (hand-written `m4_include's), aclocal would
755     call the `File::Spec->rel2abs' method, which was only introduced
756     in Perl 5.6.  This new version reestablish support Perl 5.005.
758     It is likely that the next major Automake releases will require at
759     least Perl 5.6.  Consider upgrading your development environment
760     if you are still using the five-year-old Perl 5.005.
762   - Automake would sometimes fail to define rules for targets listed
763     in variables defined in multiple conditions.  For instance on
764       if C1
765         bin_PROGRAMS = a
766       else
767         bin_PROGRAMS = b
768       endif
769     it would define only the `a.$(OBJEXT): a.c' rule and omit the
770     `b.$(OBJEXT): b.c' rule.
772 * New sections in manual:
774   - Third-Party Makefiles: how to interface third party Makefiles.
775   - Upgrading: upgrading packages to newer Automake versions.
776   - Multiple Outputs: handling tools that produce many outputs.
778 Bug fixed in 1.8.2:
780 * A (well known) portability bug slipped in the changes made to
781   install-sh in Automake 1.8.1.  The broken install-sh would refuse to
782   install anything on Tru64.
784 * Fix install rules for conditionally built python files.  (This never
785   really worked.)
787 Bug fixed in 1.8.1:
789 * Bugs introduced by 1.8:
791   - Fix Config.pm import error with old Perl versions (at least
792     5.005_03).  One symptom is that aclocal could not find its macro
793     directory.
795   - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
796     created by `make install' are always world readable, even if the
797     installer happens to have an overly restrictive umask (e.g. 077).
798     This was a mistake and has been reverted.  There are at least two
799     reasons why we must not use `-m 0755':
800       - it causes special bits like SGID to be ignored,
801       - it may be too restrictive (some setups expect 775 directories).
803   - Fix aclocal to honor definitions located in files which have been
804     m4_included manually.  aclocal 1.8 had been updated to check
805     m4_included files for new requirements, but forgot that these
806     m4_included files can also provide new definitions.
808     Note that if you have such a setup, we recommend you get rid of
809     it.  In the past, there was a reason to m4_include files manually:
810     aclocal used to duplicate entire M4 files into aclocal.m4, even
811     files that were distributed.  Some packages were therefore
812     m4_including the distributed file directly, and playing some
813     tricks to ensure aclocal would not copy that file to aclocal.m4,
814     in order to limit the amount of duplication.  Since aclocal 1.8.x
815     will precisely output m4_includes for local M4 files, we recommend
816     that you clean up your setup, removing all manual m4_includes and
817     letting aclocal output them.
819   - Output detailed menus in the Info version if the Automake manual,
820     so that Emacs can locate the indexes.
822   - configure.ac and configure were listed twice in DIST_COMMON (an
823     internal variable where Automake lists configury files to
824     distribute).  This was harmless, but unaesthetic.
826   - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
827     This was an issue only in the Automake package itself, not in
828     its output.
830   - Automake assumed that all AC_CONFIG_LINKS arguments had the form
831     DEST:SRC.  This was wrong, as some packages do
832     AC_CONFIG_LINKS($computedlinks).  This version no longer abort in
833     that situation.
835   - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
836     argument.  This caused two kinds of failures:
837       - Rules installing data in a conditionally defined directory
838         failed when that directory was undefined.  In this case no
839         argument was supplied.
840       - `make installdirs' failed, because several directories were
841         passed to $(mkdir_p).  This was an issue only on platform
842         were $(mkdir_p) is implemented with `install-sh -d'.
843     $(mkdir_p) as been changed to accept 0 or more arguments, as
844     mkinstalldirs did.
846 * Long-standing bugs:
848   - Fix an unexpected diagnostic occurring when users attempt
849     to override some internal variables that Automake appends to.
851   - aclocal now scans configure.ac for macro definitions (PR/319).
853   - Fix a portability issue with OSF1/Tru64 Make.  If a directory
854     distributes files which are outside itself (this usually occurs
855     when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
856     from a parent package), then `make distcheck' fails due to an
857     optimization performed by OSF1/Tru64 Make in its VPATH handling.
858     (tests/subpkg2.test failure)
860   - Fix another portability issue with Sun and OSF1/Tru64 Make.
861     In a VPATH-build configuration, `make install' would install
862     nobase_ files to wrong locations.
864   - Fix a Perl `uninitialized value' diagnostic occurring when
865     automake complains that a Texinfo file does not have a
866     @setfilename statement.
868   - Erase config.status.lineno during `make distclean'.  This file
869     can be created by config.status.  Automake already knew about
870     configure.lineno, but forgot config.status.lineno.
872   - Distribute all files, even those which are built and installed
873     conditionally.  This change affects files listed in conditionally
874     defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
875     as well as those listed in conditionally defined dist_*_DATA,
876     dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
878   - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
879     doesn't conform to POSIX.
881   - Normalize help strings for configure variables and options added
882     by Automake macros.
884 * Anticipation:
886   - Check for python2.4 in AM_PATH_PYTHON.
888 * Spurious failures in test suite:
890   - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
891     tests/ltconv.test: fix failures with CVS Libtool.
892   - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
893   - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
894     fix failures with old Texinfo versions.
896 New in 1.8:
898 * Meta-News
900   - The NEWS file is more verbose.
902 * Requirements
904   - Autoconf 2.58 or greater is required.
906 * New features
908   - Default source file names in the absence of a _SOURCES declaration
909     are made by removing any target extension before appending `.c', so
910     to make the libtool module `foo.la' from `foo.c', you only need to
911     do this:
913         lib_LTLIBRARIES = foo.la
914         foo_la_LDFLAGS  = -module
916     For backward compatibility, foo_la.c will be used instead of
917     foo.c if this file exists or is the explicit target of a rule.
918     However -Wobsolete will warn about this deprecated naming.
920   - AR's `cru' flags are now set in a global ARFLAGS variable instead
921     of being hard-coded in each $(AR) invocation, so they can be
922     substituted from configure.ac.  This has been requested by people
923     dealing with non-POSIX ar implementations.
925   - New warning option: -Woverride.  This will warn about any user
926     target or variable definitions which override Automake
927     definitions.
929   - Texinfo rules back up and restore info files when makeinfo fails.
931   - Texinfo rules now support the `html' target.
932     Running this requires Texinfo 4.0 or greater.
934     `html' is a new recursive target, so if your package mixes
935     hand-crafted `Makefile.in's with Automake-generated
936     `Makefile.in's, you should adjust the former to support (or
937     ignore) this target so that `make html' recurses successfully.  If
938     you had a custom `html' rule in your `Makefile.am', it's better to
939     rename it as `html-local', otherwise your rule will override
940     Automake's new rule (you can check that by running `automake
941     -Woverride') and that will stop the recursion to subdirectories.
943     Last but not least, this `html' rule is declared PHONY, even when
944     overridden.  Fortunately, it appears that few packages use a
945     non-PHONY `html' rule.
947   - Any file which is m4_included from configure.ac will appear as a
948     configure and Makefile.in dependency, and will be automatically
949     distributed.
951   - The rules for rebuilding Makefiles and Makefile.ins will now
952     rebuild all Makefiles and all Makefile.ins at once when one of
953     configure's dependencies has changed.  This is considerably faster
954     than previous implementations, where config.status and automake
955     were run separately in each directory (this still happens when you
956     change a Makefile.am locally, without touching configure.ac or
957     friends).  Doing this also solves a longstanding issue: these
958     rebuild rules failed to work when adding new directories to the
959     tree, forcing you to run automake manually.
961   - For similar reasons, the rules to rebuild configure,
962     config.status, and aclocal.m4 are now defined in all directories.
963     Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
964     CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
965     should better define them in all directories.  This is easily done
966     using an AC_SUBST (make sure you prefix these dependencies with
967     $(top_srcdir) since this variable will appear at different
968     levels of the build tree).
970   - aclocal will now use `m4_include' instead of copying local m4
971     files into aclocal.m4.  (Local m4 files are those you ship with
972     your project, other files will be copied as usual.)
974     Because m4_included files are automatically distributed, it means
975     for most projects there is no point in EXTRA_DISTing the list of
976     m4 files which are used.  (You can probably get rid of
977     m4/Makefile.am if you had one.)
979   - aclocal will avoid touching aclocal.m4 when possible, so that
980     Autom4te's cache isn't needlessly invalidated.  This behavior can
981     be switched off with the new `--force' option.
983   - aclocal now uses Autoconf's --trace to detect macros which are
984     actually used and will no longer include unused macros simply
985     because they where mentioned.  This was often the case for macros
986     called conditionally.
988   - New options no-dist and no-dist-gzip.
990   - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
991     py-compile, and ylwrap, now all understand --version and --help.
993   - Automake will now recognize AC_CONFIG_LINKS so far as removing created
994     links as part of the distclean target and including source files in
995     distributions.
997   - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
998     argument.  The latter can be used to override the default behavior
999     (which is to abort).
1001   - Automake will exit with $? = 63 on version mismatch.  (So does
1002     Autoconf 2.58)  missing knows this, and in this case it will
1003     emulate the tools as if they were absent.  Because older versions
1004     of Automake and Autoconf did not use this exit code, this change
1005     will only be useful in projects generated with future versions of
1006     these tools.
1008   - When using AC_CONFIG_FILES with multiple input files, Automake
1009     generates the first ".in" input file for which a ".am" exists.
1010     (Former versions would try to use only the first input file.)
1012   - lisp_DATA is now allowed.  If you are using the empty ELCFILES
1013     idiom to disable byte-compilation of lisp_LISP files, it is
1014     recommended that you switch to using lisp_DATA.  Note that
1015     this is not strictly equivalent: lisp_DATA will install elisp
1016     files even if emacs is not installed, while *_LISP do not
1017     install anything unless emacs is found.
1019   - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
1020     available.  This selection is achieved through the Makefile
1021     variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
1022     `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
1023     `$(install_sh) -m 0755 -d'.
1025 * Obsolete features
1027   - Because `mkdir -p' is available on most platforms, and we can use
1028     `install-sh -d' when it is not, the use of the mkinstalldirs
1029     script is being phased out.  `automake --add-missing' no longer
1030     installs it, and if you remove mkinstalldirs from your package,
1031     automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
1033     Gettext 0.12.1 still requires mkinstalldirs.  Fortunately
1034     gettextize and autopoint will install it when needed.  Automake
1035     will continue to define the $(mkinstalldirs) and to distribute
1036     mkinstalldirs when this script is in the source tree.
1038   - AM_PROG_CC_STDC is now empty.  The content of this macro was
1039     merged in AC_PROG_CC.  If your code uses $am_cv_prog_cc_stdc, you
1040     should adjust it to use $ac_cv_prog_cc_stdc instead.  (This
1041     renaming should be safe, even if you have to support several,
1042     versions of Automake, because AC_PROG_CC defines this variable
1043     since Autoconf 2.54.)
1045   - Some users where using the undocumented ACLOCAL_M4_SOURCES
1046     variable to override the aclocal.m4 dependencies computed
1047     (inaccurately) by older versions of Automake.  Because Automake
1048     now tracks configure's m4 dependencies accurately (see m4_include
1049     above), the use of ACLOCAL_M4_SOURCES should be considered
1050     obsolete and will be flagged as such when running `automake
1051     -Wobsolete'.
1053 * Bug fixes
1055   - Defining programs conditionally using Automake conditionals no
1056     longer leads to a combinatorial explosion.  The following
1057     construct used to be troublesome when used with dozens of
1058     conditions.
1060       bin_PROGRAMS = a
1061       if COND1
1062         bin_PROGRAMS += a1
1063       endif
1064       if COND2
1065         bin_PROGRAMS += a2
1066       endif
1067       if COND3
1068         bin_PROGRAMS += a3
1069       endif
1070       ...
1072     Likewise for _SOURCES, _LDADD, and _LIBADD variables.
1074   - Due to implementation constraints, previous versions of Automake
1075     proscribed multiple conditional definitions of some variables
1076     like bin_PROGRAMS:
1078       if COND1
1079         bin_PROGRAMS = a1
1080       endif
1081       if COND2
1082         bin_PROGRAMS = a2
1083       endif
1085     All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
1086     This restriction has been lifted, and these variables now
1087     support multiple conditional definitions as do other variables.
1089   - Cleanup the definitions of $(distdir) and $(top_distdir).
1090     $(top_distdir) now points to the root of the distribution
1091     directory created during `make dist', as it did in Automake 1.4,
1092     not to the root of the build tree as it did in intervening
1093     versions.  Furthermore these two variables are now only defined in
1094     the top level Makefile, and passed to sub-directories when running
1095     `make dist'.
1097   - The --no-force option now correctly checks the Makefile.in's
1098     dependencies before deciding not to update it.
1100   - Do not assume that make files are called Makefile in cleaning rules.
1102   - Update .info files in the source tree, not in the build tree.  This
1103     is what the GNU Coding Standard recommend.  Only Automake 1.7.x
1104     used to update these files in the build tree (previous versions did
1105     it in the source tree too), and it caused several problems, varying
1106     from mere annoyance to portability issues.
1108   - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
1109     when --add-missing and --force-missing are used.  For backward
1110     compatibility --add-missing will continue to install COPYING (in
1111     `gnu' strictness) when none of these three files exist, but this
1112     use is deprecated: you should better choose a license yourself and
1113     install it once for all in your source tree (and in your code
1114     management system).
1116   - Fix ylwrap so that it does not overwrite header files that haven't
1117     changed, as the inline rule already does.
1119   - User-defined rules override automake-defined rules for the same
1120     targets, even when rules do not have commands.  This is not new
1121     (and was documented), however some of the automake-generated
1122     rules have escaped this principle in former Automake versions.
1123     Rules for the following targets are affected by this fix:
1125        clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
1126        info, info-am, install-data-am, install-exec-am, install-info,
1127        install-info-am, install-man, installcheck-am, maintainer-clean,
1128        maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
1129        ps, ps-am, uninstall-am, uninstall-info, uninstall-man
1131     Practically it means that an attempt to supplement the dependencies
1132     of some target, as in
1134        clean: my-clean-rule
1136     will now *silently override* the automake definition of the
1137     rule for this target.  Running `automake -Woverride' will diagnose
1138     all such overriding definitions.
1140     It should be noted that almost all these targets support a *-local
1141     variant that is meant to supplement the automake-defined rule
1142     (See node `Extending' in the manual).  The above rule should
1143     be rewritten as
1145       clean-local: my-clean-rule
1147     These *-local targets have been documented since at least
1148     Automake 1.2, so you should not fear the change if you have
1149     to support multiple automake versions.
1151 * Miscellaneous
1153   - The Automake manual is now distributed under the terms of the GNU FDL.
1155   - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
1157   - core dumps are no longer removed by the cleaning rules.  There are
1158     at least three reasons for this:
1159       1. These files should not be created by any build step,
1160          so their removal do not fit any of the cleaning rules.
1161          Actually, they may be precious to the developer.
1162       2. If such file is created during a build, then it's clearly a
1163          bug Automake should not hide.  Not removing the file will
1164          cause `make distcheck' to complain about its presence.
1165       3. Operating systems have different naming conventions for
1166          core dump files.  A core file on one system might be a
1167          completely legitimate data file on another system.
1169   - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
1170     defined by Automake.  This means that any definition in the
1171     environment will be used, unless overridden in the Makefile.am or
1172     on the command line.  The old behavior, where these variables were
1173     defined empty in each Makefile, can be obtained by AC_SUBSTing or
1174     AC_ARG_VARing each variable from configure.ac.
1176   - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
1177     documented.  (The is not a new feature, these variables have
1178     been there since at least Automake 1.4.)
1180 Bugs fixed in 1.7.9:
1181 * Fix install-strip to work with nobase_ binaries.
1182 * Fix renaming of #line directives in ylwrap.
1183 * Rebuild with Autoconf 2.59.  (1.7.8 was not installable with pdksh.)
1185 Bugs fixed in 1.7.8:
1186 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
1187 * Fix detection of Debian's install-info, broken since version 1.5.
1188   (Debian bug #213524).
1189 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
1190   This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
1192 Bugs fixed in 1.7.7:
1193 * The implementation of automake's --no-force option is unreliable,
1194   so this option is ignored in this version.  A real fix will appear in
1195   Automake 1.8.  (Debian Bug #206299)
1196 * AM_PATH_PYTHON: really check the whole list of interpreters if no
1197   argument is given.  (PR/399)
1198 * Do not warn about leading `_' in variable names, even with -Wportability.
1199 * Support user redefinitions of TEXINFO_TEX.
1200 * depcomp: support AIX Compiler version 6.
1201 * Fix missing rebuilds during `make dist' with BSD make.
1202   (Could produce tarballs containing out-of-date files.)
1203 * Resurrect multilib support.
1204 * Noteworthy manual updates:
1205   - Extending aclocal: how to write m4 macros that won't trigger warnings
1206     with Automake 1.8.
1207   - A Shared Library: Rewrite and split into subsections.
1209 Bugs fixed in 1.7.6:
1210 * Fix depcomp's icc mode for ICC 7.1.
1211 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
1212 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
1213 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
1214 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
1215 * Remove Latin-1 characters from elisp-comp.
1216 * Update the manual's @dircategory to match the Free Software Directory.
1218 Bugs fixed in 1.7.5:
1219 * Update install-sh's license to remove an advertising clause.
1220   (Debian bug #191717)
1221 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
1222   that caused invalid Makefile.ins to be generated.
1223 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
1224 * New FAQ entry: renamed objects.
1226 Bugs fixed in 1.7.4:
1227 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
1228   the Emacs implementation)
1229 * Fix output of aclocal.m4 dependencies in subdirectories.
1230 * Use `mv -f' instead of `mv' in fastdep rules.
1231 * Upgrade mdate-sh to work on OS/2.
1232 * Don't byte-compile elisp files when ELCFILES is set empty.
1233   (this documented feature was broken by 1.7.3)
1234 * Diagnose trailing backslashes on last line of Makefile.am.
1235 * Diagnose whitespace following trailing backslashes.
1236 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
1237 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
1238   Makefiles. (PR/389)
1239 * `make install' will build `BUILT_SOURCES' first.
1240 * Minor documentation fixes.
1242 Bugs fixed in 1.7.3:
1243 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
1244 * Query distutils for `pythondir' and `pythonexecdir', instead of
1245   using an hardcoded path.  This should allow builds on 64-bit
1246   distributions that usually use lib64/ instead of lib/.
1247 * AM_PATH_PYTHON will also search for python2.3.
1248 * elisp files are now built all at once instead of one by one. Besides
1249   incurring a speed-up, this is required to support interdependent elisp files.
1250 * Support for DJGPP:
1251   - `make distcheck' will now work in `_inst/' and `_build' instead
1252     of `=inst/' and `=build/'
1253   - use `_dirstamp' when the file-system doesn't support `.dirstamp'
1254   - install/uninstall `*.i[0-9][0-9]'-style info files
1255   - more changes that affect only the Automake package (not its output)
1256 * Fix some incompatibilities with upcoming perl-5.10.
1257 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
1258   PACKAGE and VERSION.
1259 * depcomp fixes:
1260   - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
1261     is troublesome with gcc and Solaris compilers. (PR/385)
1262   - makedepend mode: work with Libtool. (PR/385 too)
1263   - support for ICC.
1264 * better support for unusual gettext setups, such as multiple po/ directories
1265   (PR/381):
1266   - Flag missing po/ and intl/ directories as warnings, not errors.
1267   - Disable these warnings if po/ does not exist.
1268 * Noteworthy manual updates:
1269   - New FAQ chapter.
1270   - Document how AC_CONFIG_AUX_DIR interacts with missing files.
1271     (Debian Bug #39542)
1272   - Document `AM_YFLAGS = -d'.  (PR/382)
1274 Bugs fixed in 1.7.2:
1275 * Fix installation and uninstallation of Info files built in subdirectories.
1276 * Do not run `./configure --with-included-gettext' during `make distcheck'
1277   if AM_GNU_GETTEXT([external]) is used.
1278 * Correctly uninstall renamed man pages.
1279 * Do not strip escaped newline in variables defined in one condition
1280   and augmented in another condition.
1281 * Fix ansi2knr rules for LIBOBJS sources.
1282 * Clean all known Texinfo index files, not only those which appear to
1283   be used, because we cannot know wich indexes are used in included files.
1284   (PR/375, Debian Bug #168671)
1285 * Honor only the first @setfilename seen in a Texinfo file.
1286 * Treat "required file X not found" diagnostics as errors (exit status 1).
1287 * Don't complain that a required file is not found when it is a Makefile
1288   target. (PR/357)
1289 * Don't use single suffix inference rules when building `.info'-less
1290   Info files, for the sake of Solaris make.
1291 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
1292 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
1293 * Warn about multiple inference rules when -Wportability is used. (PR/372)
1294 * Fix building of deansified files from subdirectories. (PR/370)
1295 * Add missing `fi' in the .c->.obj rules.
1296 * Improve install-sh to work even when names contain spaces or certain
1297   (but not all) shell metachars.
1298 * Fix the following spurious failures in the test suite:
1299   depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
1300 * Noteworthy manual updates:
1301   - Augment the section about BUILT_SOURCES.
1302   - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
1304 Bugs fixed in 1.7.1:
1305 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
1306   flags.
1307 * Aclocal should now recognize macro names containing parentheses, e.g.
1308   AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
1309 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
1310   (Debian Bug#153697)
1311 * Install Python files even if they were built.  (PR/369)
1312 * Have stamp-vti dependent upon configure instead of configure.ac, as the
1313   version might not be defined in the latter. (PR/358)
1314 * Reorder arguments passed to a couple of commands, so things works
1315   when POSIXLY_CORRECT=1.
1316 * Fix a regex that can cause Perl to segfault on large input.
1317   (Debian Bug#162583)
1318 * Fix distribution of packages that have some sources defined conditionally,
1319   as in the `Conditional compilation using Automake conditionals' example
1320   of the manual.
1321 * Fix spurious test suite failures on IRIX.
1322 * Don't report a required variable as undefined if it has been
1323   defined conditionally for the "right" conditions.
1324 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
1325   `make distcheck' fails.
1326 * Fix distribution of included Makefile fragment, so we don't create
1327   spurious directories in the distribution. (PR/366)
1328 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
1330 New in 1.7:
1331 * Autoconf 2.54 is required.
1332 * `aclocal' and `automake' will no longer warn about obsolete
1333   configure macros.  This is done by `autoconf -Wobsolete'.
1334 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
1335   AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
1336   supported).  You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
1337   and AC_HEADER_TIOCGWINSZ instead.  `autoupdate' can upgrade
1338   `configure.ac' for you.
1339 * Support for per-program and per-library `_CPPFLAGS'.
1340 * New `ctags' target (builds CTAGS files).
1341 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
1342   (see `automake --help' or the manual for a list of them).
1343 * Honor the WARNINGS environment variable.
1344 * Omit the call to depcomp when using gcc3: call the compiler directly.
1345 * A new option, std-options, tests that programs support --help and --version
1346   when `make installcheck' is run.  This is enabled by --gnits.
1347 * Texinfo rules now support the `ps' and `pdf' targets.
1348 * Info files are now created in the build directory, not the source directory.
1349 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
1350   or greater).
1351 * `make distcheck' will enforce DESTDIR support by attempting
1352   a DESTDIR install.
1353 * `+=' can be used in conditionals, even if the augmented variable
1354   was defined for another condition.
1355 * Makefile fragments (inserted with `include') are always distributed.
1356 * Use Autoconf's --trace interface to inspect configure.ac and get
1357   a more accurate view of it.
1358 * Add support for extending aclocal's default macro search path
1359   using a `dirlist' file within the aclocal directory.
1360 * automake --output-dir is deprecated.
1361 * The part of the distcheck target that checks whether uninstall actually
1362   removes all installed files has been moved in a separate target,
1363   distuninstallcheck, so it can be overridden easily.
1364 * Many bug fixes.
1366 New in 1.6.3:
1367 * Support for AM_INIT_GETTEXT([external])
1368 * Bug fixes, including:
1369   - Fix Automake's own `make install' so it works even if `ln' doesn't.
1370   - nobase_ programs and scripts honor --program-transform correctly.
1371   - Erase configure.lineno during `make distclean'.
1372   - Erase YACC and LEX outputs during `make maintainer-clean'.
1374 New in 1.6.2:
1375 * Many bug fixes, including:
1376   - Requiring the current version works.
1377   - Fix "$@" portability issues (for Zsh).
1378   - Fix output of dummy dependency files in presence of post-processed
1379     Makefile.in's.
1380   - Don't compute dependencies in background to avoid races with libtool.
1381   - Fix handling of _OBJECTS variables for targets sharing source variables.
1382   - Check dependency mode for Java when AM_PROG_GCJ is used.
1384 New in 1.6.1:
1385 * automake --output-dir is deprecated
1386 * Many bug fixes, including:
1387   - Don't choke on AM_LDFLAGS definitions.
1388   - Clean libtool objects from subdirectories.
1389   - Allow configure variables with reserved suffix and unknown prefix
1390     (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
1391   - Fix the definition of AUTOMAKE and ACLOCAL in configure.
1393 New in 1.6:
1394 * Autoconf 2.52 is required.
1395 * automake no longer run libtoolize.
1396   This is the job of autoreconf (from GNU Autoconf).
1397 * `dist' generates all the archive flavors, as did `dist-all'.
1398 * `dist-gzip' generates the Gzip tar file only.
1399 * Combining Automake Makefile conditionals no longer lead to a combinatorial
1400   explosion.  Makefile.in's keep a reasonable size.
1401 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
1402   are no longer shipped, since Autoconf 2.52 provides them (both as AM_
1403   and AC_).
1404 * `#line' of Lex and Yacc files are properly set.
1405 * EXTRA_DIST can contain generated directories.
1406 * Support for dot-less extensions in suffix rules.
1407 * The part of the distcheck target that checks whether distclean actually
1408   cleans all built files has been moved in a separate target, distcleancheck,
1409   so it can be overridden easily.
1410 * `make distcheck' will pass additional options defined in
1411   $(DISTCHECK_CONFIGURE_FLAGS) to configure.
1412 * Fixed CDPATH portability problems, in particular for MacOS X.
1413 * Fixed handling of nobase_ targets.
1414 * Fixed support of implicit rules leading to .lo objects.
1415 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
1416 * Added uninstall-hook target
1417 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
1418   You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
1419   (Note that "pkgname" is not "tarname", see the manual for details.)
1420   It is also possible to pass a list of global Automake options as
1421   first argument to this new form of AM_INIT_AUTOMAKE.
1422 * Compiler-based assembler is now called `CCAS'; people expected `AS'
1423   to be a real assembler.
1424 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it.  Adding
1425   AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
1426 * aclocal and automake are also installed with the version number
1427   appended, and some of the install directory names have changed.
1428   This lets you have multiple versions installed simultaneously.
1429 * Support for parsers and lexers in subdirectories.
1431 New in 1.5:
1432 * Support for `configure.ac'.
1433 * Support for `else COND', `endif COND' and negated conditions `!COND'.
1434 * `make dist-all' is much faster.
1435 * Allows '@' AC_SUBSTs in macro names.
1436 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
1437 * User-side dependency tracking.  Developers no longer need GNU make
1438 * Python support
1439 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
1440 * Most files are correctly handled if they appear in subdirs
1441   For instance, a _DATA file can appear in a subdir
1442 * GNU tar is no longer required for `make dist'
1443 * Added support for `dist_' and `nodist_' prefixes
1444 * Added support for `nobase_' prefix
1445 * Compiled Java support
1446 * Support for per-executable and per-library compilation flags
1447 * Many bug fixes
1449 New in 1.4:
1450 * Added support for the Fortran 77 programming language.
1451 * Re-indexed the Automake Texinfo manual.
1452 * Added `AM_FOOFLAGS' variable for each compiler invocation;
1453   e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
1454 * Support for latest autoconf, including support for objext
1455 * Can now put `.' in SUBDIRS to control build order
1456 * `include' command and `+=' support for macro assignment
1457 * Dependency tracking no long susceptible to deleted header file problem
1458 * Maintainer mode now a conditional.  @MAINT@ is now an anachronism.
1459 * Bug fixes
1461 New in 1.3:
1462 * Bug fixes
1463 * Better Cygwin32 support
1464 * Support for suffix rules with _SOURCES variables
1465 * New options `readme-alpha' and `check-news'; Gnits mode sets these
1466 * @LEXLIB@ no longer required when lex source seen
1467   Lex support in `missing', and new lex macro.  Update your missing script.
1468 * Built-in support for assembly
1469 * aclocal gives error if `AM_' macro not found
1470 * Passed YFLAGS, not YACCFLAGS, to yacc
1471 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
1472 * Dependencies computed as a side effect of compilation
1473 * Preliminary support for Java
1474 * DESTDIR support at "make install" time
1475 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
1477 New in 1.2:
1478 * Bug fixes
1479 * Better DejaGnu support
1480 * Added no-installinfo option
1481 * Added Emacs Lisp support
1482 * Added --no-force option
1483 * Included `aclocal' program
1484 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
1485 * Now uses `AM_' macro names everywhere
1486 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
1487   ansi2knr now works correctly on K&R sources
1488 * Better C++, yacc, lex support
1489 * Will compute _DEPENDENCIES variables automatically if not supplied
1490 * Will interpolate $(...) and ${...} when examining contents of a variable
1491 * .deps files now in build directory, not source directory; dependency
1492   handling generally rewritten
1493 * DATA, MANS and BUILT_SOURCES no longer included in distribution
1494 * can now put config.h into a subdir
1495 * Added dist-all target
1496 * Support for install-info program (see texinfo 3.9)
1497 * Support for "yacc -d"
1498 * configure substitutions are automatically discovered and included
1499   in generated Makefile.in
1500 * Special --cygnus mode
1501 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
1502   when making distribution.  Some dependencies are auto-ignored.
1503 * Changed how libraries are specified in _LIBRARIES variable
1504 * Full libtool support, from Gord Matzigkeit
1505 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
1506   AM_CONFIG_HEADER handles it automatically
1507 * Texinfo output files no longer need .info extension
1508 * Added `missing' support
1509 * Cygwin32 support
1510 * Conditionals in Makefile.am, from Ian Taylor
1512 New in 1.0:
1513 * Bug fixes
1514 * distcheck target runs install and installcheck targets
1515 * Added preliminary support for DejaGnu.
1517 New in 0.33:
1518 * More bug fixes
1519 * More checking
1520 * More libtool fixes from Gord Matzigkeit; libtool support is still
1521   preliminary however
1522 * Added support for jm_MAINTAINER_MODE
1523 * dist-zip support
1524 * New "distcheck" target
1526 New in 0.32:
1527 * Many bug fixes
1528 * mkinstalldirs and mdate-sh now appear in directory specified by
1529   AC_CONFIG_AUX_DIR.
1530 * Removed DIST_SUBDIRS, DIST_OTHER
1531 * AC_ARG_PROGRAM only required when an actual program exists
1532 * dist-hook target now run before distribution packaged up; idea from
1533   Dieter Baron.  Other hooks exist, too.
1534 * Preliminary (unfinished) support for libtool
1535 * Added short option names.
1536 * Better "dist" support when gluing together multiple packages
1538 New in 0.31:
1539 * Bug fixes
1540 * Documentation updates (many from François Pinard)
1541 * strictness `normal' now renamed to `foreign'
1542 * Renamed --install-missing to --add-missing
1543 * Now handles AC_CONFIG_AUX_DIR
1544 * Now handles TESTS macro
1545 * DIST_OTHER renamed to EXTRA_DIST
1546 * DIST_SUBDIRS is deprecated
1547 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
1548 * Better error messages in many cases
1549 * Program names are canonicalized
1550 * Added "check" prefix; from Gord Matzigkeit
1552 New in 0.30:
1553 * Bug fixes
1554 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
1555 * Beginnings of a test suite
1556 * Automatically adds -I options for $(srcdir), ".", and path to config.h
1557 * Doesn't print anything when running
1558 * Beginnings of MAINT_CHARSET support
1559 * Can specify version in AUTOMAKE_OPTIONS
1560 * Most errors recognizable by Emacs' M-x next-error
1561 * Added --verbose option
1562 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
1563   configure-generated names
1564 * Required macros now distributed in aclocal.m4
1565 * New documentation
1566 * --strictness=gnu is default
1568 New in 0.29:
1569 * Many bug fixes
1570 * More sophisticated configure.in scanning; now understands ALLOCA and
1571   LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
1572 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
1573 * CONFIG_HEADER variable now obsolete
1574 * Can handle multiple Texinfo sources
1575 * Allow hierarchies deeper than 2.  From Gord Matzigkeit.
1576 * HEADERS variable no longer needed; now can put .h files directly into
1577   foo_SOURCES variable.
1578 * Automake automatically rebuilds files listed in AC_OUTPUT.  The
1579   corresponding ".in" files are included in the distribution.
1581 New in 0.28:
1582 * Added --gnu and --gnits options
1583 * More standards checking
1584 * Bug fixes
1585 * Cleaned up 'dist' targets
1586 * Added AUTOMAKE_OPTIONS variable and several options
1587 * Now scans configure.in to get some information (preliminary)
1589 New in 0.27:
1590 * Works with Perl 4 again
1592 New in 0.26:
1593 * Added --install-missing option.
1594 * Pretty-prints generated macros and rules
1595 * Comments in Makefile.am are placed more intelligently in Makefile.in
1596 * Generates .PHONY target
1597 * Rule or macro in Makefile.am now overrides contents of Automake file
1598 * Substantial cleanups from François Pinard
1600 New in 0.25:
1601 * Bug fixes.
1602 * Works with Perl 4 again.
1604 New in 0.24:
1605 * New uniform naming scheme.
1606 * --strictness option
1607 * Works with Perl 5
1608 * '.c' files corresponding to '.y' or '.l' files are automatically
1609   distributed.
1610 * Many bug fixes and cleanups
1612 New in 0.23:
1613 * Allow objects to be conditionally included in libraries via lib_LIBADD.
1615 New in 0.22:
1616 * Bug fixes in 'clean' code.
1617 * Now generates 'installdirs' target.
1618 * man page installation reworked.
1619 * 'make dist' no longer re-creates all Makefile.in's.
1621 New in 0.21:
1622 * Reimplemented in Perl
1623 * Added --amdir option (for debugging)
1624 * Texinfo support cleaned up.
1625 * Automatic de-ANSI-fication cleaned up.
1626 * Cleaned up 'clean' targets.
1628 New in 0.20:
1629 * Automatic dependency tracking
1630 * More documentation
1631 * New variables DATA and PACKAGEDATA
1632 * SCRIPTS installed using $(INSTALL_SCRIPT)
1633 * No longer uses double-colon rules
1634 * Bug fixes
1635 * Changes in advance of internationalization
1637 -----
1639 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
1640 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software
1641 Foundation, Inc.
1643 This program is free software; you can redistribute it and/or modify
1644 it under the terms of the GNU General Public License as published by
1645 the Free Software Foundation; either version 2, or (at your option)
1646 any later version.
1648 This program is distributed in the hope that it will be useful,
1649 but WITHOUT ANY WARRANTY; without even the implied warranty of
1650 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1651 GNU General Public License for more details.
1653 You should have received a copy of the GNU General Public License
1654 along with this program.  If not, see <http://www.gnu.org/licenses/>.