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