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