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