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