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