Merge branch 'branch-1.13.2' into maint
[platform/upstream/automake.git] / NEWS
1 * WARNING: New versioning scheme for Automake.
2
3   - Starting with this version onward, Automake will use an update and
4     more rational versioning scheme, one that will allow users to know
5     which kind of changes can be expected from a new version, based on
6     its version number.
7
8     + Micro versions (e.g., 1.13.3, 2.0.1, 3.2.8) will introduce only
9       documentation updates and bug and regression fixes; they will
10       not introduce new features, nor any backward-incompatibility (any
11       such incompatibility would be considered a bug, to be fixed with
12       a further  micro release).
13
14     + Minor versions (e.g., 1.14, 2.1) can introduce new backward
15       compatible features; the only backward-incompatibilities allowed
16       in such a release are new *non-fatal* deprecations and warnings,
17       and possibly fixes for old or non-trivial bugs (or even inefficient
18       behaviours) that could unfortunately have been seen, and used, by
19       some developers as "corner case features".  This kind of fixes
20       should hopefully be quite rare.
21
22     + Major versions (now expected to be released every 18 or 24 months,
23       and not more often) can introduce new big features (possibly with
24       rough edges and not-fully-stabilized APIs), removal of deprecated
25       features, backward-incompatible changes of behaviour, and possibly
26       major refactorings (that, while ideally transparent to the user,
27       could introduce new bugs).  Incompatibilities should however not
28       be introduced gratuitously and abruptly; a proper deprecation path
29       should be duly implemented in the preceding minor releases.
30
31   - According to this new scheme, the next major version of Automake
32     (the one that has until now been labelled as '1.14') will actually
33     become "Automake 2.0".  Automake 1.14 will be the next minor version,
34     which will introduce new features and deprecation, but no backward
35     incompatibility.
36
37   - See discussion about automake bug#13578 for more details and
38     background: <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13578>
39
40 * WARNING: Future backward-incompatibilities!
41
42   - Automake 2.0 will require Autoconf 2.70 or later (which is still
43     unreleased at the moment of writing, but is planned to be released
44     before Automake 2.0 is).
45
46   - Automake 2.0 will drop support for the long-deprecated 'configure.in'
47     name for the Autoconf input file.  You are advised to start using the
48     recommended name 'configure.ac' instead, ASAP.
49
50   - The ACLOCAL_AMFLAGS special make variable will be fully deprecated
51     in Automake 2.0 (where it will raise warnings in the "obsolete"
52     category).  You are advised to start relying on the new Automake
53     support for AC_CONFIG_MACRO_DIRS instead (which was introduced in
54     Automake 1.13).
55
56   - Automake 2.0 will remove support for automatic dependency tracking
57     with the SGI C/C++ compilers on IRIX.  The SGI depmode has been
58     reported broken "in the wild" already, and we don't think investing
59     time in debugging and fixing is worthwhile, especially considering
60     that SGI has last updated those compilers in 2006, and is expected
61     to retire support for them in December 2013:
62     <http://www.sgi.com/services/support/irix_mips_support.html>
63
64   - Future versions of Automake might remove support for MS-DOS and
65     Windows 95/98/ME (support for them was offered by relying on the
66     DJGPP project).  Note however that both Cygwin and MSYS/MinGW on
67     modern Windows versions will continue to be fully supported.
68
69   - Automake-provided scripts and makefile recipes might (finally!)
70     start assuming a POSIX shell in Automake 2.0.
71
72   - Starting from Automake 2.0, third-party m4 files located in the
73     system-wide aclocal directory, as well as in any directory listed
74     in the ACLOCAL_PATH environment variable, will take precedence
75     over "built-in" Automake macros.  For example (assuming Automake
76     is installed in the /usr/local hierarchy), a definition of the
77     AM_PROG_VALAC macro found in '/usr/local/share/aclocal/my-vala.m4'
78     should take precedence over the same-named automake-provided macro
79     (defined in '/usr/local/share/aclocal-2.0/vala.m4').
80
81 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82
83 New in 1.13.2:
84
85 * C compilation, and the AC_PROG_CC and AM_PROG_CC_C_O macros:
86
87   - The 'compile' script is now unconditionally required for all
88     packages that perform C compilation (note that if you are using
89     the '--add-missing' option, automake will fetch that script for
90     you, so you shouldn't need any explicit adjustment).
91     This new behaviour is needed to avoid obscure errors when the
92     'subdir-objects' option is used, and the compiler is an inferior
93     one that doesn't grasp the combined use of both the "-c -o"
94     options; see discussion about automake bug#13378 for more details:
95     <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13378#35>
96     <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13378#44>
97
98   - Automake will automatically enhance the AC_PROG_CC autoconf macro
99     to make it check, at configure time, that the C compiler supports
100     the combined use of both the "-c -o" options.  This "rewrite" of
101     AC_PROG_CC is only meant to be temporary, since future Autoconf
102     versions should provide all the features Automake needs.
103
104   - The AM_PROG_CC_C_O is no longer useful, and its use is a no-op
105     now.  Future Automake versions might start warning that this
106     macro is obsolete.  For better backward-compatibility, this macro
107     still sets a proper 'ac_cv_prog_cc_*_c_o' cache variable, and
108     define the 'NO_MINUS_C_MINUS_O' C preprocessor symbol, but you
109     should really stop relying on that.
110
111 * Texinfo support:
112
113   - Automake can now be instructed to place '.info' files generated from
114     Texinfo input in the builddir rather than in the srcdir; this is done
115     specifying the new automake option 'info-in-builddir'.  This feature
116     was requested by the developers of GCC, GDB, GNU binutils and the GNU
117     bfd library.  See the extensive discussion about automake bug#11034
118     for more details.
119
120   - For quite a long time, Automake has been implementing an undocumented
121     hack which ensured that '.info' files which appeared to be cleaned
122     (by e.g. being listed in the CLEANFILES or DISTCLEANFILES variables)
123     were built in the builddir rather than in the srcdir; this hack was
124     introduced to ensure better backward-compatibility with packages such
125     as Texinfo, which did things like:
126
127         info_TEXINFOS = texinfo.txi info-stnd.texi info.texi
128         DISTCLEANFILES = texinfo texinfo-* info*.info*
129         # Do not create info files for distribution.
130         dist-info:
131             @:
132
133     in order not to distribute generated '.info' files.
134
135     Now that we have the 'info-in-builddir' option that explicitly causes
136     generated '.info' files to be placed in the builddir, this hack should
137     be longer necessary, so we deprecate it with runtime warnings.  It will
138     likely be removed altogether in Automake 1.14.
139
140 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141
142 New in 1.13.2:
143
144 * Documentation fixes:
145
146   - The long-deprecated but still supported two-arguments invocation form
147     of AM_INIT_AUTOMAKE is documented once again.  This seems the sanest
148     thing to do, given that support for such an usage might need to remain
149     in place for a unspecified amount of time in order to cater for people
150     who want to define the version number for their package dynamically at
151     configure runtime (unfortunately, Autoconf does not yet support this
152     scenario, so we cannot delegate the work to it).
153
154   - The serial testsuite harness is no longer reported as "deprecated",
155     but as "discouraged".  We have no plan to remove it, not to make its
156     use cause runtime warnings.
157
158   - The parallel testsuite is no longer reported as "experimental"; it
159     is well tested, and should be stable now.
160
161   - The 'shar' and 'tarZ' distribution formats and the 'dist-shar' and
162     'dist-tarZ' options are obsolescent, and their use is deprecated
163     in the documentation.
164
165   - Other minor miscellaneous fixes and improvements; in particular,
166     some improvements in cross-references.
167
168 * Obsolescent features:
169
170   - Use of suffix-less info files (that can be specified through the
171     '@setfilename' macro in Texinfo input files) is discouraged, and
172     its use will raise warnings in the 'obsolete' category.  Simply
173     use the '.info' extension for all your info files, transforming
174     usages like:
175
176         @setfilename myprogram
177
178     into:
179
180         @setfilename myprogram.info
181
182   - Use of Texinfo input files with '.txi' or '.texinfo' extensions
183     is discouraged, and its use will raise warnings in the 'obsolete'
184     category.  You are advised to simply use the '.texi' extension
185     instead.
186
187 * Bugs fixed:
188
189   - The obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC work once
190     again, as they did in Automake 1.12.x (albeit printing runtime
191     warnings in the 'obsolete' category).  Removing them has turned
192     out to be a very bad idea, because it complicated distro packing
193     enormously.  Making them issue fatal warnings, as we did in
194     Automake 1.13, has turned out to be a similarly very bad idea,
195     for exactly the same reason.
196
197 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198
199 New in 1.13.1:
200
201 * Bugs fixed:
202
203   - Use of the obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC now
204     causes a clear and helpful error message, instead of obscure ones
205     (issue introduced in Automake 1.13).
206
207 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208
209 New in 1.13:
210
211 * Bugs fixed:
212
213   - ylwrap renames properly header guards in generated header files
214     (*.h), instead of leaving Y_TAB_H.
215
216   - ylwrap now also converts header guards in implementation files
217     (*.c).  Because ylwrap failed to rename properly #include in the
218     implementation files, current versions of Bison (e.g., 2.7)
219     duplicate the generated header file in the implementation file.
220     The header guard then protects the implementation file from
221     duplicate definitions from the header file.
222
223 * Version requirements:
224
225   - Autoconf 2.65 or greater is now required.
226
227   - The rules to build PDF and DVI output from Texinfo input now
228     require Texinfo 4.9 or later.
229
230 * Obsolete features:
231
232   - Support for the "Cygnus-style" trees (once enabled by the 'cygnus'
233     option) has been removed.  See discussion about automake bug#11034
234     for more background: <http://debbugs.gnu.org/11034>.
235
236   - The deprecated aclocal option '--acdir' has been removed.  You
237     should use the options '--automake-acdir' and '--system-acdir'
238     instead (which have been introduced in Automake 1.11.2).
239
240   - The following long-obsolete m4 macros have been removed:
241
242       AM_PROG_CC_STDC:    superseded by AC_PROG_CC since October 2002
243       fp_PROG_CC_STDC:    broken alias for AM_PROG_CC_STDC
244       fp_WITH_DMALLOC:    old alias for AM_WITH_DMALLOC
245       AM_CONFIG_HEADER:   superseded by AC_CONFIG_HEADERS since July 2002
246       ud_PATH_LISPDIR:    old alias for AM_PATH_LISPDIR
247       jm_MAINTAINER_MODE: old alias for AM_MAINTAINER_MODE
248       ud_GNU_GETTEXT:     old alias for AM_GNU_GETTEXT
249       gm_PROG_LIBTOOL:    old alias for AC_PROG_LIBTOOL
250       fp_C_PROTOTYPES:    old alias for AM_C_PROTOTYPES (which was part
251                           of the now-removed automatic de-ANSI-fication
252                           support of Automake)
253
254   - All the "old alias" macros in 'm4/obsolete.m4' have been removed.
255
256   - Use of the long-deprecated two- and three-arguments invocation forms
257     of the AM_INIT_AUTOMAKE is no longer documented.  It's still supported
258     though (albeit with a warning in the 'obsolete' category), to cater
259     for people who want to define the version number for their package
260     dynamically (e.g., from the current VCS revision).  We'll have to
261     continue this support until Autoconf itself is fixed to allow better
262     support for such dynamic version numbers.
263
264 * Elisp byte-compilation:
265
266   - The byte compilation of '.el' files into '.elc' files is now done
267     with a suffix rule.  This has simplified the compilation process, and
268     more importantly made it less brittle.  The downside is that emacs is
269     now invoked once for each '.el' files, which cause some noticeable
270     slowdowns.  These should however be mitigated on multicore machines
271     (which are becoming the norm today) if concurrent  make ("make -j")
272     is used.
273
274   - Elisp files placed in a subdirectory are now byte-compiled to '.elc'
275     files in the same subdirectory; for example, byte-compiling of file
276     'sub/foo.el' file will result in 'sub/foo.elc' rather than in
277     'foo.elc'.  This behaviour is backward-incompatible with older
278     Automake versions, but it is more natural and more sane.  See also
279     automake bug#7441.
280
281   - The Emacs invocation performing byte-compilation of '.el' files honors
282     the $(AM_ELCFLAGS) and $(ELCFLAGS) variables; as typical, the former
283     one is  developer-reserved and the latter one user-reserved.
284
285   - The 'elisp-comp' script, once provided by Automake, has been rendered
286     obsoleted by the just-described changes, and thus removed.
287
288 * Changes to Automake-generated testsuite harnesses:
289
290   - The parallel testsuite harness (previously only enabled by the
291     'parallel-tests' option) is the default one; the older serial
292     testsuite harness will still be available through the use of the
293     'serial-tests' option (introduced in Automake 1.12).
294
295   - The 'color-tests' option is now unconditionally activated by default.
296     In particular, this means that testsuite output is now colorized by
297     default if the attached terminal seems to support ANSI escapes, and
298     that the user can force output colorization by setting the variable
299     AM_COLOR_TESTS to "always".  The 'color-tests' is still recognized
300     for backward-compatibility, although it's a handled as a no-op now.
301
302 * Silent rules support:
303
304   - Support for silent rules is now always active in Automake-generated
305     Makefiles.  So, although the verbose output is still the default,
306     the user can now always use "./configure --enable-silent-rules" or
307     "make V=0" to enable quieter output in the package he's building.
308
309   - The 'silent-rules' option has now become a no-op, preserved for
310     backward-compatibility only.  In particular, its use no longer
311     disables the warnings in the 'portability-recursive' category.
312
313 * Texinfo Support:
314
315   - The rules to build PDF and DVI files from Texinfo input now require
316     Texinfo 4.9 or later.
317
318   - The rules to build PDF and DVI files from Texinfo input now use the
319     '--build-dir' option, to keep the auxiliary files used by texi2dvi
320     and texi2pdf around without cluttering the build directory, and to
321     make it possible to run the "dvi" and "pdf" recipes in parallel.
322
323 * Automatic remake rules and 'missing' script:
324
325   - The 'missing' script no longer tries to update the timestamp of
326     out-of-date files that require a maintainer-specific tool to be
327     remade, in case the user lacks such a tool (or has a too-old version
328     of it).  It just gives a useful warning, and in some cases also a
329     tip about how to obtain such a tool.
330
331   - The missing script has thus become useless as a (poor) way to work
332     around the sketched-timestamps issues that can happen for projects
333     that keep generated files committed in their VCS repository.  Such
334     projects are now encouraged to write a custom "fix-timestamps.sh"
335     script to avoid such issues; a simple example is provided in the
336     "CVS and generated files" chapter of the automake manual.
337
338 * Recursive targets:
339
340   - The user can now define his own recursive targets that recurse
341     in the directories specified in $(SUBDIRS).  This can be done by
342     specifying the name of such targets in invocations of the new
343     'AM_EXTRA_RECURSIVE_TARGETS' m4 macro.
344
345 * Tags:
346
347   - Any failure in the recipe of the "tags", "ctags", "cscope" or
348     "cscopelist" targets in a subdirectory is now propagated to the
349     top-level make invocation.
350
351   - Tags are correctly computed also for files in _SOURCES variables that
352     only list files with non-standard suffixes (see automake bug#12372).
353
354 * Improvements to aclocal and related rebuilds rules:
355
356   - Autoconf-provided macros AC_CONFIG_MACRO_DIR and AC_CONFIG_MACRO_DIRS
357     are now traced by aclocal, and can be used to declare the local m4
358     include directories.  Formerly, one had to specify it with an explicit
359     '-I' option to the 'aclocal' invocation.
360
361   - The special make variable ACLOCAL_AMFLAGS is deprecated; future
362     Automake versions will warn about its use, and later version will
363     remove support for it altogether.
364
365 * The depcomp script:
366
367   - Dropped support for libtool 1.4.
368
369   - Various internal refactorings.  They should cause no visible change,
370     but the chance for regression is there anyway, so please report any
371     unexpected or suspicious behaviour.
372
373   - Support for pre-8.0 versions of the Intel C Compiler has been dropped.
374     This should cause no problem, since icc 8.0 has been released in
375     December 2003 -- almost nine years ago.
376
377   - Support for tcc (the Tiny C Compiler) has been improved, and is now
378     handled through a dedicated 'tcc' mode.
379
380 * The ylwrap script:
381
382   - ylwrap generates header guards with a single '_' for series of non
383     alphabetic characters, instead of several.  This is what Bison >=
384     2.5.1 does.
385
386 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
387
388 Bugs fixed in 1.12.6:
389
390 * Python-related bugs:
391
392   - The default installation location for python modules has been improved
393     for Python 3 on Debian and Ubuntu systems, changing from:
394
395         ${prefix}/lib/python3/dist-packages
396
397     to
398
399         ${prefix}/lib/python3.x/site-packages
400
401     This change should ensure modules installed using the default ${prefix}
402     "/usr/local" are found by default by system python 3.x installations.
403     See automake bug#10227.
404
405   - Python byte-compilation supports the new layout mandated by PEP-3147,
406     with its __pycache__ directory (automake bug#8847).
407
408 * Build system issues:
409
410   - The maintainer rebuild rules for Makefiles and aclocal.m4 in
411     Automake's own build system works correctly again (bug introduced
412     in Automake 1.12.5).
413
414 * Testsuite issues:
415
416   - The Vala-related tests has been changed to adjust to the removal of
417     the 'posix' profile in the valac compiler.  See automake bug#12934
418     a.k.a. bug#12522.
419
420   - Some spurious testsuite failures related to older tools and systems
421     have been fixed.
422
423 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424
425 New in 1.12.5:
426
427 * Vala support:
428
429   - The AM_PROG_VALAC macro has been enhanced to takes two further
430     optional arguments; it's signature now being
431
432         AM_PROG_VALAC([MINIMUM-VERSION], [ACTION-IF-FOUND],
433                       [ACTION-IF-NOT-FOUND])
434
435   - By default, AM_PROG_VALAC no longer aborts the configure invocation
436     if the Vala compiler found is too old, but simply prints a warning
437     messages (as it did when the Vala compiler was not found).  This
438     should avoid unnecessary difficulties for end users that just want
439     to compile the unmodified, distributed Vala-generated C sources,
440     but happens to have an old Vala compiler in their PATH.  This fixes
441     automake bug#12688.
442
443   - If no proper Vala compiler is found at configure runtime, AM_PROG_VALAC
444     will set the AC_SUBST'd variable 'VALAC' to 'valac' rather than to ':'.
445     This is a better default, because with it a triggered makefile rule
446     invoking a Vala compilation will clearly fail with an informative error
447     message like "valac: command not found", rather than silently, with
448     the error possibly going unnoticed or triggering harder-to-diagnose
449     fallout failures in later steps.
450
451 * Miscellaneous changes:
452
453   - automake and aclocal no longer honours the 'perllibdir' environment
454     variable.  That had always been intended only as an hack required in
455     the testsuite, not meant for any use beyond that.
456
457 Bugs fixed in 1.12.5:
458
459 * Long-standing bugs:
460
461   - Automake no longer generates spurious remake rules invoking autoheader
462     to regenerate the template corresponding to header files specified after
463     the first one in AC_CONFIG_HEADERS (automake bug#12495).
464
465   - When wrapping Microsoft tools, the 'compile' script falls back to
466     finding classic 'libname.a' style libraries when 'name.lib' and
467     'name.dll.lib' aren't available.
468
469 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
470
471 New in 1.12.4:
472
473 * Warnings and deprecations:
474
475   - Warnings in the 'obsolete' category are enabled by default both in
476     automake and aclocal.
477
478 * Miscellaneous changes:
479
480   - Some testsuite weaknesses and spurious failures have been fixed.
481
482 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
483
484 New in 1.12.3:
485
486 * Miscellaneous changes:
487
488   - The '.m4' files provided by Automake no longer define serial numbers.
489     This should cause no difference in the behaviour of aclocal though.
490
491   - Some testsuite weaknesses and spurious failures have been fixed.
492
493   - There is initial support for automatic dependency tracking with the
494     Portland Group C/C++ compilers, thanks to the new new depmode 'pgcc'.
495
496 Bugs fixed in 1.12.3:
497
498 * Long-standing bugs:
499
500   - Instead of renaming only self-references of files (typically for
501     #lines), ylwrap now also renames references to the other generated
502     files.  This fixes support for GLR and C++ parsers from Bison (PR
503     automake/491 and automake bug#7648): 'parser.c' now properly
504     #includes 'parser.h' instead of 'y.tab.h'.
505
506   - Generated files unknown to ylwrap are now preserved.  This fixes
507     C++ support for Bison (automake bug#7648): location.hh and the
508     like are no longer discarded.
509
510 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
511
512 New in 1.12.2:
513
514 * Warnings and deprecations:
515
516   - Automake now issues a warning (in the 'portability' category) if
517     'configure.in' is used instead of 'configure.ac' as the Autoconf
518     input file.  Such a warning will also be present in the next
519     Autoconf version (2.70).
520
521 * Cleaning rules:
522
523   - Recursive cleaning rules descends into the $(SUBDIRS) in the natural
524     order (as done by the other recursive rules), rather than in the
525     inverse order.  They used to do that in order to work a round a
526     limitation in an older implementation of the automatic dependency
527     tracking support, but that limitation had been lifted years ago
528     already, when the automatic dependency tracking based on side-effects
529     of compilation had been introduced.
530
531   - Cleaning rules for compiled objects (both "plain" and libtool) work
532     better when subdir objects are involved, not triggering a distinct
533     'rm' invocation for each such object.  They do so by removing *any*
534     compiled object file that is in the same directory of a subdir
535     object.  See automake bug#10697.
536
537 * Silent rules support:
538
539   - A new predefined $(AM_V_P) make variable is provided; it expands
540     to a shell conditional that can be used in recipes to know whether
541     make is being run in silent or verbose mode.
542
543 Bugs fixed in 1.12.2:
544
545 * SECURITY VULNERABILITIES!
546
547   - The 'distcheck' recipe no longer grants temporary world-write
548     permissions on the extracted distdir.  Even if such rights were
549     only granted for a vanishingly small time window, the implied
550     race condition proved to be enough to allow a local attacker
551     to run arbitrary code with the privileges of the user running
552     "make distcheck".  This is CVE-2012-3386.
553
554 * Long-standing bugs:
555
556   - The "recheck" targets behaves better in the face of build failures
557     related to previously failed tests.  For example, if a test is a
558     compiled program that must be rerun by "make recheck", and its
559     compilation fails, it will still be rerun by further "make recheck"
560     invocations.  See automake bug#11791.
561
562 * Bugs introduced by 1.12.1:
563
564   - Automake provides once again the '$(mkdir_p)' make variable and the
565     '@mkdir_p@' substitution (both as simple aliases for '$(MKDIR_P)'),
566     for better backward-compatibility.
567
568 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
569
570 New in 1.12.1:
571
572 * New supported languages:
573
574   - Support for Objective C++ has been added; it should work similarly to
575     the support for Objective C.
576
577 * Deprecated obsolescent features:
578
579   - Use of the long-deprecated two- and three-arguments invocation forms
580     of the AM_INIT_AUTOMAKE macro now elicits a warning in the 'obsolete'
581     category.  Starting from some future major Automake release (likely
582     post-1.13), such usages will no longer be allowed.
583
584   - Support for the "Cygnus-style" trees (enabled by the 'cygnus' option) is
585     now deprecated (its use triggers a warning in the 'obsolete' category).
586     It will be removed in the next major Automake release (1.13).
587
588   - The long-obsolete (since 1.10) automake-provided $(mkdir_p) make
589     variable, @mkdir_p@ configure-time substitution and AM_PROG_MKDIR
590     m4 macro are deprecated, eliciting a warning in the 'obsolete'
591     category.
592
593 * Miscellaneous changes:
594
595   - The Automake test cases now require a proper POSIX-conforming shell.
596     Older non-POSIX Bourne shells (like Solaris 10 /bin/sh) will no longer
597     be accepted.  In most cases, the user shouldn't have to specify such
598     POSIX shell explicitly, since it will be looked up at configure time.
599     Still, when this lookup fails, or when the user wants to override its
600     conclusion, the variable 'AM_TEST_RUNNER_SHELL' can be used (pointing
601     to the shell that will be used to run the Automake test cases).
602
603 Bugs fixed in 1.12.1:
604
605 * Bugs introduced by 1.12:
606
607   - Several weaknesses in Automake's own build system and test suite
608     have been fixed.
609
610 * Bugs introduced by 1.11.3:
611
612   - When given non-option arguments, aclocal rejects them, instead of
613     silently ignoring them.
614
615 * Long-standing bugs:
616
617   - When the 'color-tests' option is in use, forcing of colored testsuite
618     output through "AM_COLOR_TESTS=always" works even if the terminal is
619     a non-ANSI one, i.e., if the TERM environment variable has a value of
620     "dumb".
621
622   - Several inefficiencies and poor performances in the implementation
623     of the parallel-tests 'check' and 'recheck' targets have been fixed.
624
625   - The post-processing of output "#line" directives done the ylwrap
626     script is more faithful w.r.t. files in a subdirectory; for example,
627     if the processed file is "src/grammar.y", ylwrap will correctly
628     produce directives like:
629         #line 7 "src/grammar.y"
630     rather than like
631         #line 7 "grammar.y"
632     as it did before.
633
634 * Bugs with new Perl versions:
635
636   - Aclocal works correctly with perl 5.16.0 (automake bug#11543).
637
638 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
639
640 New in 1.12:
641
642 * Obsolete features removed:
643
644   - The never documented nor truly used script 'acinstall' has been
645     removed.
646
647   - Support for automatic de-ANSI-fication has been removed.
648
649   - The support for the "obscure" multilib feature has been removed
650     from Automake core (but remains available in the 'contrib/'
651     directory of the Automake distribution).
652
653   - Support for ".log -> .html" conversion and the check-html and
654     recheck-html targets has been removed from Automake core (but
655     remains available in the 'contrib/' directory of the Automake
656     distribution).
657
658   - The deprecated 'lzma' compression format for distribution archives
659     has been removed, in favor of 'xz' and 'lzip'.
660
661   - The obsolete AM_WITH_REGEX macro has been removed.
662
663   - The long-deprecated options '--output-dir', '--Werror' and
664     '--Wno-error' have been removed.
665
666   - The chapter on the history of Automake has been moved out of the
667     reference manual, into a new dedicated Texinfo file.
668
669 * New targets:
670
671   - New 'cscope' target to build a cscope database for the source tree.
672
673 * Changes to Automake-generated testsuite harnesses:
674
675   - The new automake option 'serial-tests' has been introduced.  It can
676     be used to explicitly instruct automake to use the older serial
677     testsuite harness.  This is still the default at the moment, but it
678     might change in future versions.
679
680   - The 'recheck' target (provided by the parallel testsuite harness) now
681     depends on the 'all' target.  This allows for a better user-experience
682     in test-driven development.  See automake bug#11252.
683
684   - Test scripts that exit with status 99 to signal an "hard error" (e.g.,
685     and unexpected or internal error, or a failure to set up the test case
686     scenario) have their outcome reported as an 'ERROR' now.  Previous
687     versions of automake reported such an outcome as a 'FAIL' (the only
688     difference with normal failures being that hard errors were counted
689     as failures even when the test originating them was listed in
690     XFAIL_TESTS).
691
692   - The testsuite summary displayed by the parallel-test harness has a
693     completely new format, that always list the numbers of passed, failed,
694     xfailed, xpassed, skipped and errored tests, even when these numbers
695     are zero (but using smart coloring when the color-tests option is in
696     effect).
697
698   - The default testsuite driver offered by the 'parallel-tests' option is
699     now implemented (partly at least) with the help of automake-provided
700     auxiliary scripts (e.g., 'test-driver'), instead of relying entirely
701     on code in the generated Makefile.in.
702     This has two noteworthy implications.  The first one is that projects
703     using the 'parallel-tests' option should now either run automake with
704     the '--add-missing' option, or manually copy the 'test-driver' script
705     into their tree.  The second, and more important, implication is that
706     now, when the 'parallel-tests' option is in use, TESTS_ENVIRONMENT can
707     no longer be used to define a test runner, and the command specified
708     in LOG_COMPILER (and <ext>_LOG_COMPILER) must be a *real* executable
709     program or script.  For example, this is still a valid usage (albeit
710     a little contorted):
711
712       TESTS_ENVIRONMENT = \
713         if test -n '$(STRICT_TESTS)'; then \
714           maybe_errexit='-e'; \
715         else \
716           maybe_errexit=''; \
717         fi;
718       LOG_COMPILER = $(SHELL) $$maybe_errexit
719
720     OTOH, this is no longer a valid usage:
721
722       TESTS_ENVIRONMENT = \
723         $(SHELL) `test -n '$(STRICT_TESTS_CHECKING)' && echo ' -e'`
724
725     neither is this:
726
727       TESTS_ENVIRONMENT = \
728         run_with_perl_or_shell () \
729         { \
730           if grep -q '^#!.*perl' $$1; then
731             $(PERL) $$1; \
732           else \
733             $(SHELL) $$1; \
734           fi; \
735         }
736       LOG_COMPILER = run_with_perl_or_shell
737
738   - The package authors can now use customary testsuite drivers within
739     the framework provided by the 'parallel-tests' testsuite harness.
740     Consistently with the existing syntax, this can be done by defining
741     special makefile variables 'LOG_DRIVER' and '<ext>_LOG_DRIVER'.
742
743   - A new developer-reserved variable 'AM_TESTS_FD_REDIRECT' can be used
744     to redirect/define file descriptors used by the test scripts.
745
746   - The parallel-tests harness generates now, in addition the '.log' files
747     holding the output produced by the test scripts, a new set of '.trs'
748     files, holding "metadata" derived by the execution of the test scripts;
749     among such metadata are the outcomes of the test cases run by a script.
750
751   - Initial and still experimental support for the TAP test protocol is
752     now provided.
753
754 * Changes to Yacc and Lex support:
755
756   - C source and header files derived from non-distributed Yacc and/or
757     Lex sources are now removed by a simple "make clean" (while they were
758     previously removed only by "make maintainer-clean").
759
760   - Slightly backward-incompatible change, relevant only for use of Yacc
761     with C++: the extensions of the header files produced by the Yacc
762     rules are now modelled after the extension of the corresponding
763     sources.  For example, yacc files named "foo.y++" and "bar.yy" will
764     produce header files named "foo.h++" and "bar.hh" respectively, where
765     they would have previously produced header files named simply "foo.h"
766     and "bar.h".  This change offers better compatibility with 'bison -o'.
767
768 * Miscellaneous changes:
769
770   - The AM_PROG_VALAC macro now causes configure to exit with status 77,
771     rather than 1, if the vala compiler found is too old.
772
773   - The build system of Automake itself now avoids the use of make
774     recursion as much as possible.
775
776   - Automake now prefers to quote 'like this' or "like this", rather
777     than `like this', in diagnostic message and generated Makefiles,
778     to accommodate the new GNU Coding Standards recommendations.
779
780   - Automake has a new option '--print-libdir' that prints the path of the
781     directory containing the Automake-provided scripts and data files.
782
783   - The 'dist' and 'dist-all' targets now can run compressors in parallel.
784
785   - The rules to create pdf, dvi and ps output from Texinfo files now
786     works better with modern 'texi2dvi' script, by explicitly passing
787     it the '--clean' option to ensure stray auxiliary files are not
788     left to clutter the build directory.
789
790   - Automake can now generate silenced rules for texinfo outputs.
791
792   - Some auxiliary files that are automatically distributed by Automake
793     (e.g., 'install-sh', or the 'depcomp' script for packages compiling
794     C sources) might now be listed in the DIST_COMMON variable in many
795     Makefile.in files, rather than in the top-level one.
796
797   - Messages of types warning or error from 'automake' and 'aclocal'
798     are now prefixed with the respective type, and presence of -Werror
799     is noted.
800
801   - Automake's early configure-time sanity check now tries to avoid
802     sleeping for a second, which slowed down cached configure runs
803     noticeably.  In that case, it will check back at the end of the
804     configure script to ensure that at least one second has passed, to
805     avoid time stamp issues with makefile rules rerunning autotools
806     programs.
807
808   - The warnings in the category 'extra-portability' are now enabled by
809     '-Wall'.  In previous versions, one has to use '-Wextra-portability'
810     to enable them.
811
812 Bugs fixed in 1.12:
813
814   - Various minor bugfixes for recent or long-standing bugs.
815
816 * Bugs introduced by 1.11:
817
818   - The AM_COND_IF macro also works if the shell expression for the
819     conditional is no longer valid for the condition.
820
821   - The automake-provided parallel testsuite harness no longer fails
822     with BSD make used in parallel mode when there are test scripts in
823     a subdirectory, like in:
824
825       TESTS = sub/foo.test sub/bar.test
826
827 * Long-standing bugs:
828
829   - Automake's own build system finally have a real "installcheck" target.
830
831   - Vala-related cleanup rules are now more complete, and work better in
832     a VPATH setup.
833
834   - Files listed with the AC_REQUIRE_AUX_FILE macro in configure.ac are
835     now automatically distributed also if the directory of the auxiliary
836     files coincides with the top-level directory.
837
838   - Automake now detects the presence of the '-d' flag in the various
839     '*YFLAGS' variables even when their definitions involve indirections
840     through other variables, such as in:
841       foo_opts = -d
842       AM_YFLAGS = $(foo_opts)
843
844   - Automake now complains if a '*YFLAGS' variable has any conditional
845     content, not only a conditional definition.
846
847   - Explicit enabling and/or disabling of Automake warning categories
848     through the '-W...' options now always takes precedence over the
849     implicit warning level implied by Automake strictness (foreign, gnu
850     or gnits), regardless of the order in which such strictness and
851     warning flags appear.  For example, a setting like:
852       AUTOMAKE_OPTIONS = -Wall --foreign
853     will cause the warnings in category 'portability' to be enabled, even
854     if those warnings are by default disabled in 'foreign' strictness.
855
856 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857
858 Bugs fixed in 1.11.5:
859
860 * Bugs introduced by 1.11.3:
861
862   - Vala files with '.vapi' extension are now recognized and handled
863     correctly again.  See automake bug#11222.
864
865   - Vala support work again for projects that contain some program
866     built from '.vala' (and possibly '.c') sources and some other
867     program built from '.c' sources *only*.  See automake bug#11229.
868
869 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
870
871 New in 1.11.4:
872
873 * Miscellaneous changes:
874
875   - The 'ar-lib' script now ignores the "s" (symbol index) and "S" (no
876     symbol index) modifiers as well as the "s" action, as the symbol index
877     is created unconditionally by Microsoft lib.  Also, the "q" (quick)
878     action is now a synonym for "r" (replace).  Also, the script has been
879     ignoring the "v" (verbose) modifier already since Automake 1.11.3.
880
881   - When the 'compile' script is used to wrap MSVC, it now accepts an
882     optional space between the -I, -L and -l options and their respective
883     arguments, for better POSIX compliance.
884
885   - There is an initial, experimental support for automatic dependency
886     tracking with tcc (the Tiny C Compiler).  Its associated depmode is
887     currently recognized as "icc" (but this and other details are likely
888     to change in future versions).
889
890   - Automatic dependency tracking now works also with the IBM XL C/C++
891     compilers, thanks to the new new depmode 'xlc'.
892
893 Bugs fixed in 1.11.4:
894
895 * Bugs introduced by 1.11.2:
896
897   - A definition of 'noinst_PYTHON' before 'python_PYTHON' (or similar)
898     no longer cause spurious failures upon "make install".
899
900   - The user can now instruct the 'uninstall-info' rule not to update
901     the '${infodir}/dir' file by exporting the environment variable
902     'AM_UPDATE_INFO_DIR' to the value "no".  This is done for consistency
903     with how the 'install-info' rule operates since automake 1.11.2.
904
905 * Long-standing bugs:
906
907   - It is now possible for a foo_SOURCES variable to hold Vala sources
908     together with C header files, as well as with sources and headers for
909     other supported languages (e.g., C++).  Previously, only mixing C and
910     Vala sources was supported.
911
912   - If "aclocal --install" is used, and the first directory specified with
913     '-I' is non-existent, aclocal will now create it before trying to copy
914     files in it.
915
916   - An empty declaration of a "foo_PRIMARY" no longer cause the generated
917     install rules to create an empty $(foodir) directory; for example, if
918     Makefile.am contains something like:
919
920       pkglibexec_SCRIPTS =
921       if FALSE
922       pkglibexec_SCRIPTS += bar.sh
923       endif
924
925     the $(pkglibexec) directory will not be created upon "make install".
926
927 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
928
929 New in 1.11.3:
930
931 * Miscellaneous changes:
932
933   - Automake's own build system is more silent by default, making use of
934     the 'silent-rules' option.
935
936   - The master copy of the 'gnupload' script is now maintained in gnulib,
937     not in automake.
938
939   - The 'missing' script no longer tries to wrap calls to 'tar'.
940
941   - "make dist" no longer wraps 'tar' invocations with the 'missing'
942     script.  Similarly, the obsolescent variable '$(AMTAR)' (which you
943     shouldn't be using BTW ;-) no longer invokes the 'missing' script
944     to wrap tar, but simply invokes the 'tar' program itself.
945
946   - "make dist" can now create lzip-compressed tarballs.
947
948   - In the Automake info documentation, the Top node and the nodes about
949     the invocation of the automake and aclocal programs have been renamed;
950     now, calling "info automake" will open the Top node, while calling
951     "info automake-invocation" and "info aclocal-invocation" will access
952     the nodes about the invocation of respectively automake and aclocal.
953
954   - Automake is now distributed as a gzip-compressed and an xz-compressed
955     tarball.  Previously, bzip2 was used instead of xz.
956
957   - The last relics of Python 1.5 support have been removed from the
958     AM_PATH_PYTHON macro.
959
960   - For programs and libraries, automake now detects EXTRA_foo_DEPENDENCIES
961     and adds them to the normal list of dependencies, but without
962     overwriting the foo_DEPENDENCIES variable, which is normally computed
963     by automake.
964
965 Bugs fixed in 1.11.3:
966
967 * Bugs introduced by 1.11.2:
968
969   - Automake now correctly recognizes the prefix/primary combination
970    'pkglibexec_SCRIPTS' as valid.
971
972   - The parallel-tests harness no longer trips on sed implementations
973     with stricter limits on the length of input lines (problem seen at
974     least on Solaris 8).
975
976 * Long-standing bugs:
977
978   - The "deleted header file problem" for *.am files is avoided by stub
979     rules.  This allows 'make' to trigger a rerun of 'automake' also if
980     some previously needed '.am' file has been removed.
981
982   - The 'silent-rules' option now generates working makefiles even
983     for the uncommon 'make' implementations that do not support the
984     nested-variables extension to POSIX 2008.  For such 'make'
985     implementations, whether a build is silent is determined at
986     configure time, and cannot be overridden at make time with
987     "make V=0" or "make V=1".
988
989   - Vala support now works better in VPATH setups.
990
991 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
992
993 New in 1.11.2:
994
995 * Changes to aclocal:
996
997   - The `--acdir' option is deprecated.  Now you should use the new options
998     `--automake-acdir' and `--system-acdir' instead.
999
1000   - The `ACLOCAL_PATH' environment variable is now interpreted as a
1001     colon-separated list of additional directories to search after the
1002     automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION)
1003     and before the system acdir (by default ${prefix}/share/aclocal).
1004
1005 * Miscellaneous changes:
1006
1007   - The Automake support for automatic de-ANSI-fication has been
1008     deprecated.  It will probably be removed in the next major Automake
1009     release (1.12).
1010
1011   - The `lzma' compression scheme and associated automake option `dist-lzma'
1012     is obsoleted by `xz' and `dist-xz' due to upstream changes.
1013
1014   - You may adjust the compression options used in dist-xz and dist-bzip2.
1015     The default is now merely -e for xz, but still -9 for bzip;  you may
1016     specify a different level via the XZ_OPT and BZIP2 envvars respectively.
1017     E.g., "make dist-xz XZ_OPT=-7" or "make dist-bzip2 BZIP2=-5"
1018
1019   - The `compile' script now converts some options for MSVC for a better
1020     user experience.  Similarly, the new `ar-lib' script wraps Microsoft lib.
1021
1022   - The py-compile script now accepts empty arguments passed to the options
1023     `--destdir' and `--basedir', and complains about unrecognized options.
1024     Moreover, a non-option argument or a special `--' argument terminates
1025     the list of options.
1026
1027   - A developer that needs to pass specific flags to configure at "make
1028     distcheck" time can now, and indeed is advised to, do so by defining
1029     the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS,
1030     instead of the old DISTCHECK_CONFIGURE_FLAGS.
1031     The DISTCHECK_CONFIGURE_FLAGS variable should now be reserved for the
1032     user; still, the old Makefile.am files that used to define it will
1033     still continue to work as before.
1034
1035   - New macro AM_PROG_AR that looks for an archiver and wraps it in the new
1036     'ar-lib' auxiliary script if the selected archiver is Microsoft lib.
1037     This new macro is required for LIBRARIES and LTLIBRARIES when automake
1038     is run with -Wextra-portability and -Werror.
1039
1040   - When using DejaGnu-based testsuites, the user can extend the `site.exp'
1041     file generated by automake-provided rules by defining the special make
1042     variable `$(EXTRA_DEJAGNU_SITE_CONFIG)'.
1043
1044   - The `install-info' rule can now be instructed not to create/update
1045     the `${infodir}/dir' file, by exporting the new environment variable
1046     `AM_UPDATE_INFO_DIR' to the value "no".
1047
1048 Bugs fixed in 1.11.2:
1049
1050 * Bugs introduced by 1.11:
1051
1052   - The parallel-tests driver no longer produces erroneous results with
1053     Tru64/OSF 5.1 sh upon unreadable log files.
1054
1055   - The `parallel-tests' test driver does not report spurious successes
1056     when used with concurrent FreeBSD make (e.g., "make check -j3").
1057
1058   - When the parallel-tests driver is in use, automake now explicitly
1059     rejects invalid entries and conditional contents in TEST_EXTENSIONS,
1060     instead of issuing confusing and apparently unrelated error messages
1061     (e.g., "non-POSIX variable name", "bad characters in variable name",
1062     or "redefinition of TEST_EXTENSIONS), or even, in some situations,
1063     silently producing broken `Makefile.in' files.
1064
1065   - The `silent-rules' option now truly silences all compile rules, even
1066     when dependency tracking is disabled.  Also, when `silent-rules' is
1067     not used, `make' output no longer contains spurious backslash-only
1068     lines, thus once again matching what Automake did before 1.11.
1069
1070   - The AM_COND_IF macro also works if the shell expression for the
1071     conditional is no longer valid for the condition.
1072
1073 * Long-standing bugs:
1074
1075   - The order of Yacc and Lex flags is fixed to be consistent with other
1076     languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
1077     $(LFLAGS), so that the user variables override the developer variables.
1078
1079   - "make distcheck" now correctly complains also when "make uninstall"
1080     leaves one and only one file installed in $(prefix).
1081
1082   - A "make uninstall" issued before a "make install", or after a mere
1083     "make install-data" or a mere "make install-exec" does not spuriously
1084     fail anymore.
1085
1086   - Automake now warns about more primary/directory invalid combinations,
1087     such as "doc_LIBRARIES" or "pkglib_PROGRAMS".
1088
1089   - Rules generated by Automake now try harder to not change any files when
1090     `make -n' is invoked.  Fixes include compilation of Emacs Lisp, Vala, or
1091     Yacc source files and the rule to update config.h.
1092
1093   - Several scripts and the parallel-tests testsuite driver now exit with
1094     the right exit status upon receiving a signal.
1095
1096   - A per-Makefile.am setting of -Werror does not erroneously carry over
1097     to the handling of other Makefile.am files.
1098
1099   - The code for automatic dependency tracking works around a Solaris
1100     make bug triggered by sources containing repeated slashes when the
1101     `subdir-objects' option was used.
1102
1103   - The makedepend and hp depmodes now work better with VPATH builds.
1104
1105   - Java sources specified with check_JAVA are no longer compiled for
1106     "make all", but only for "make check".
1107
1108   - An usage like "java_JAVA = foo.java" will now cause Automake to warn
1109     and error out if `javadir' is undefined, instead of silently producing
1110     a broken Makefile.in.
1111
1112   - aclocal and automake now honour the configure-time definitions of
1113     AUTOCONF and AUTOM4TE when they spawn autoconf or autom4te processes.
1114
1115   - The `install-info' recipe no longer tries to guess whether the
1116     `install-info' program is from Debian or from GNU, and adaptively
1117     change its behaviour; this has proven to be frail and easy to
1118     regress.
1119
1120 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1121
1122 Bugs fixed in 1.11.1:
1123
1124   - Lots of minor bugfixes.
1125
1126 * Bugs introduced by 1.11:
1127
1128   - The `parallel-tests' test driver works around a GNU make 3.80 bug with
1129     trailing white space in the test list (`TESTS = foo $(EMPTY)').
1130
1131 * Long standing bugs:
1132
1133   - On Darwin 9, `pythondir' and `pyexecdir' pointed below `/Library/Python'
1134     even if the `--prefix' argument pointed outside of a system directory.
1135     AM_PATH_PYTHON has been fixed to ignore the value returned from python's
1136     `get_python_lib' function if it points outside the configured prefix,
1137     unless the `--prefix' argument was either `/usr' or below `/System'.
1138
1139   - The testsuite does not try to change the mode of `ltmain.sh' files from
1140     a Libtool installation (symlinked to test directories) any more.
1141
1142   - AM_PROG_GCJ uses AC_CHECK_TOOLS to look for `gcj' now, so that prefixed
1143     tools are preferred in a cross-compile setup.
1144
1145   - The distribution is tarred up with mode 755 now by the `dist*' targets.
1146     This fixes a race condition where untrusted users could modify files
1147     in the $(PACKAGE)-$(VERSION) distdir before packing if the toplevel
1148     build directory was world-searchable.  This is CVE-2009-4029.
1149
1150 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1151
1152 New in 1.11:
1153
1154 * Version requirements:
1155
1156   - Autoconf 2.62 or greater is required.
1157
1158 * Changes to aclocal:
1159
1160   - The autoconf version check implemented by aclocal in aclocal.m4
1161     (and new in Automake 1.10) is degraded to a warning.  This helps
1162     in the common case where the Autoconf versions used are compatible.
1163
1164 * Changes to automake:
1165
1166   - The automake program can run multiple threads for creating most
1167     Makefile.in files concurrently, if at least Perl 5.7.2 is available
1168     with interpreter-based threads enabled.  Set the environment variable
1169     AUTOMAKE_JOBS to the maximum number of threads to use, in order to
1170     enable this experimental feature.
1171
1172 * Changes to Libtool support:
1173
1174   - Libtool generic flags are now passed to the install and uninstall
1175     modes as well.
1176
1177   - distcheck works with Libtool 2.x even when LT_OUTPUT is used, as
1178     config.lt is removed correctly now.
1179
1180 * Languages changes:
1181
1182   - subdir-object mode works now with Fortran (F77, FC, preprocessed
1183     Fortran, and Ratfor).
1184
1185   - For files with extension .f90, .f95, .f03, or .f08, the flag
1186     $(FCFLAGS_f[09]x) computed by AC_FC_SRCEXT is now used in compile rules.
1187
1188   - Files with extension .sx are also treated as preprocessed assembler.
1189
1190   - The default source file extension (.c) can be overridden with
1191     AM_DEFAULT_SOURCE_EXT now.
1192
1193   - Python 3.0 is supported now, Python releases prior to 2.0 are no
1194     longer supported.
1195
1196   - AM_PATH_PYTHON honors python's idea about the site directory.
1197
1198   - There is initial support for the Vala programming language, when using
1199     Vala 0.7.0 or later.
1200
1201 * Miscellaneous changes:
1202
1203   - Automake development is done in a git repository on Savannah now, see
1204
1205       http://git.sv.gnu.org/gitweb/?p=automake.git
1206
1207     A read-only CVS mirror is provided at
1208
1209       cvs -d :pserver:anonymous@pserver.git.sv.gnu.org:/automake.git \
1210           checkout -d automake HEAD
1211
1212   - "make dist" can now create xz-compressed tarballs,
1213     as well as (deprecated?) lzma-compressed tarballs.
1214
1215   - `automake --add-missing' will by default install the GPLv3 file as
1216     COPYING if it is missing.  It will also warn that the license file
1217     should be added to source control.  Note that Automake will never
1218     overwrite an existing COPYING file, even when the `--force-missing'
1219     option is used.
1220
1221   - The manual is now distributed under the terms of the GNU FDL 1.3.
1222
1223   - Automake ships and installs man pages for automake and aclocal now.
1224
1225   - New shorthand `$(pkglibexecdir)' for `$(libexecdir)/@PACKAGE@'.
1226
1227   - install-sh supports -C, which does not update the installed file
1228     (and its time stamps) if the contents did not change.
1229
1230   - The `gnupload' script has been revamped.
1231
1232   - The `depcomp' and `compile' scripts now work with MSVC under MSYS.
1233
1234   - The targets `install' and `uninstall' are more efficient now, in that
1235     for example multiple files from one Automake variable such as
1236     `bin_SCRIPTS' are copied in one `install' (or `libtool --mode=install')
1237     invocation if they do not have to be renamed.
1238
1239     Both install and uninstall may sometimes enter (`cd' into) the target
1240     installation directory now, when no build-local scripts are used.
1241
1242     Both install and uninstall do not fail anymore but do nothing if an
1243     installation directory variable like `bindir' is set to the empty string.
1244
1245     For built-in rules, `make install' now fails reliably if installation
1246     of a file failed.  Conversely, `make uninstall' even succeeds when
1247     issued multiple times.
1248
1249     These changes may need some adjustments from users:  For example,
1250     some `install' programs refuse to install multiple copies of the
1251     same file in one invocation, so you may need to remove duplicate
1252     entries from file lists.
1253
1254     Also, within one set of files, say, nobase_data_DATA, the order of
1255     installation may be changed, or even unstable among different hosts,
1256     due to the use of associative arrays in awk.  The increased use of
1257     awk matches a similar move in Autoconf to provide for better scaling.
1258
1259     Further, most undocumented per-rule install command variables such as
1260     binSCRIPT_INSTALL have been removed because they are not needed any
1261     more.  Packages which use them should be using the appropriate one of
1262     INSTALL_{DATA,PROGRAM,SCRIPT} or their install_sh_{DATA,PROGRAM,SCRIPT}
1263     counterpart, depending on the type of files and the need for automatic
1264     target directory creation.
1265
1266   - The "deleted header file problem" for *.m4 files is avoided by
1267     stub rules.  This allows `make' to trigger a rerun of `aclocal'
1268     also if some previously needed macro file has been removed.
1269
1270   - Rebuild rules now also work for a removed `subdir/Makefile.in' in
1271     an otherwise up to date tree.
1272
1273   - The `color-tests' option causes colored test result output on terminals.
1274
1275   - The `parallel-tests' option enables a new test driver that allows for
1276     parallel test execution, inter-test dependencies, lazy test execution
1277     for unit-testing, re-testing only failed tests, and formatted result output
1278     as RST (reStructuredText) and HTML.  Enabling this option may require some
1279     changes to your test suite setup; see the manual for details.
1280
1281   - The `silent-rules' option enables Linux kernel-style silent build output.
1282     This option requires the widely supported but non-POSIX `make' feature
1283     of recursive variable expansion, so do not use it if your package needs
1284     to build with `make' implementations that do not support it.
1285
1286     To enable less verbose build output, the developer has to use the Automake
1287     option `silent-rules' in `AM_INIT_AUTOMAKE', or call the `AM_SILENT_RULES'
1288     macro.  The user may then set the default verbosity by passing the
1289     `--enable-silent-rules' option to `configure'.  At `make' run time, this
1290     default may be overridden using `make V=0' for less verbose, and `make V=1'
1291     for backward-compatible verbose output.
1292
1293   - New prefix `notrans_' for manpages which should not be transformed
1294     by --program-transform.
1295
1296   - New macro AM_COND_IF for conditional evaluation and conditional
1297     config files.
1298
1299   - For AC_CONFIG_LINKS, if source and destination are equal, do not
1300     remove the file in a non-VPATH build.  Such setups work with Autoconf
1301     2.62 or newer.
1302
1303   - AM_MAINTAINER_MODE now allows for an optional argument specifying
1304     the default setting.
1305
1306   - AM_SUBST_NOTMAKE may prevent substitution of AC_SUBSTed variables,
1307     useful especially for multi-line values.
1308
1309   - Automake's early configure-time sanity check now diagnoses an
1310     unsafe absolute source directory name and makes configure fail.
1311
1312   - The Automake macros and rules cope better with whitespace in the
1313     current directory name, as long as the relative path to `configure'
1314     does not contain whitespace.  To this end, the values of `$(MISSING)'
1315     and `$(install_sh)' may contain suitable quoting, and their expansion
1316     might need `eval'uation if used outside of a makefile.  These
1317     undocumented variables may be used in several documented macros such
1318     as $(AUTOCONF) or $(MAKEINFO).
1319
1320 Bugs fixed in 1.11:
1321
1322 * Long-standing bugs:
1323
1324   - Fix aix dependency tracking for libtool objects.
1325
1326   - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to
1327     unnecessary use of the `compile' script.
1328
1329   - For nobase_*_LTLIBRARIES with nonempty directory components, the
1330     correct `-rpath' argument is used now.
1331
1332   - `config.status --file=Makefile depfiles' now also works with the
1333     extra quoting used internally by Autoconf 2.62 and newer
1334     (it used to work only without the `--file=' bit).
1335
1336   - The `missing' script works better with versioned tool names.
1337
1338   - Semantics for `missing help2man' have been revamped:
1339
1340     Previously, if `help2man' was not present, `missing help2man' would have
1341     the following semantics: if some man page was out of date but present, then
1342     a warning would be printed, but the exit status was 0.  If the man page was
1343     not present at all, then `missing' would create a replacement man page
1344     containing an error message, and exit with a status of 2.  This does not play
1345     well with `make': the next run will see this particular man page as being up
1346     to date, and will only error out on the next generated man page, if any;
1347     repeat until all pages are done.  This was not desirable.
1348
1349     These are the new semantics: if some man page is not present, and help2man
1350     is not either, then `missing' will warn and generate the replacement page
1351     containing the error message, but exit successfully.  However, `make dist'
1352     will ensure that no such bogus man pages are packaged into a tarball.
1353
1354   - Targets provided by automake behave better with `make -n', in that they
1355     take care not to create files.
1356
1357   - `config.status Makefile... depfiles' works fine again in the presence of
1358     disabled dependency tracking.
1359
1360   - The default no-op recursive rules for these targets also work with BSD make
1361     now: html, install-html, install-dvi, install-pdf, install-pdf, install-info.
1362
1363   - `make distcheck' works also when both a directory and some file below it
1364     have been added to a distribution variable, such as EXTRA_DIST or *_SOURCES.
1365
1366   - Texinfo dvi, ps, pdf, and html output files are not removed upon
1367     `make mostlyclean' any more; only the LaTeX by-products are.
1368
1369   - Renamed objects also work with the `subdir-objects' option and
1370     source file languages which Automake does not know itself.
1371
1372   - `automake' now correctly complains about variable assignments which are
1373     preceded by a comment, extend over multiple lines with backslash-escaped
1374     newlines, and end in a comment sign.  Previous versions would silently
1375     and wrongly ignore such assignments completely.
1376
1377 * Bugs introduced by 1.10:
1378
1379   - Fix output of dummy dependency files in presence of post-processed
1380     Makefile.in's again, but also cope with long lines.
1381
1382   - $(EXEEXT) is automatically appended to filenames of XFAIL_TESTS
1383     that have been declared as programs in the same Makefile.
1384     This is for consistency with the analogous change to TESTS in 1.10.
1385
1386   - Fix order of standard includes to again be `-I. -I$(srcdir)',
1387     followed by directories containing config headers.
1388
1389 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1390
1391 New in 1.10:
1392
1393 * Version requirements:
1394
1395   - Autoconf 2.60 or greater is required.
1396
1397   - Perl 5.6 or greater is required.
1398
1399 * Changes to aclocal:
1400
1401   - aclocal now also supports -Wmumble and -Wno-mumble options.
1402
1403   - `dirlist' entries (for the aclocal search path) may use shell
1404     wildcards such as `*', `?', or `[...]'.
1405
1406   - aclocal supports an --install option that will cause system-wide
1407     third-party macros to be installed in the local directory
1408     specified with the first -I flag.  This option also uses #serial
1409     lines in M4 files to upgrade local macros.
1410
1411     The new aclocal options --dry-run and --diff help to review changes
1412     before they are installed.
1413
1414   - aclocal now outputs an autoconf version check in aclocal.m4 in
1415     projects using automake.
1416
1417     For a few years, automake and aclocal have been calling autoconf
1418     (or its underlying engine autom4te) to accurately retrieve the
1419     data they need from configure.ac and its siblings.  Doing so can
1420     only work if all autotools use the same version of autoconf.  For
1421     instance a Makefile.in generated by automake for one version of
1422     autoconf may stop working if configure is regenerated with another
1423     version of autoconf, and vice versa.
1424
1425     This new version check ensures that the whole build system has
1426     been generated using the same autoconf version.
1427
1428 * Support for new Autoconf macros:
1429
1430   - The new AC_REQUIRE_AUX_FILE Autoconf macro is supported.
1431
1432   - If `subdir-objects' is set, and AC_CONFIG_LIBOBJ_DIR is specified,
1433     $(LIBOBJS), $(LTLIBOBJS), $(ALLOCA), and $(LTALLOCA) can be used
1434     in different directories.  However, only one instance of such a
1435     library objects directory is supported.
1436
1437 * Change to Libtool support:
1438
1439   - Libtool generic flags (those that go before the --mode=MODE option)
1440     can be specified using AM_LIBTOOLFLAGS and target_LIBTOOLFLAGS.
1441
1442 * Yacc and Lex changes:
1443
1444   - The rebuild rules for distributed Yacc and Lex output will avoid
1445     overwriting existing files if AM_MAINTAINER_MODE and maintainer-mode
1446     is not enabled.
1447
1448   - ylwrap is now always used for lex and yacc source files,
1449     regardless of whether there is more than one source per directory.
1450
1451 * Languages changes:
1452
1453   - Preprocessed assembler (*.S) compilation now honors CPPFLAGS,
1454     AM_CPPFLAGS and per-target _CPPFLAGS, and supports dependency
1455     tracking, unlike non-preprocessed assembler (*.s).
1456
1457   - subdir-object mode works now with Assembler.  Automake assumes
1458     that the compiler understands `-c -o'.
1459
1460   - Preprocessed assembler (*.S) compilation now also honors
1461     $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES).
1462
1463   - Improved support for Objective C:
1464     - Autoconf's new AC_PROG_OBJC will enable automatic dependency tracking.
1465     - A new section of the manual documents the support.
1466
1467   - New support for Unified Parallel C:
1468     - AM_PROG_UPC looks for a UPC compiler.
1469     - A new section of the manual documents the support.
1470
1471   - Per-target flags are now correctly handled in link rules.
1472
1473     For instance maude_CFLAGS correctly overrides AM_CFLAGS; likewise
1474     for maude_LDFLAGS and AM_LDFLAGS.  Previous versions bogusly
1475     preferred AM_CFLAGS over maude_CFLAGS while linking, and they
1476     used both AM_LDFLAGS and maude_LDFLAGS on the same link command.
1477
1478     The fix for compiler flags (i.e., using maude_CFLAGS instead of
1479     AM_CFLAGS) should not hurt any package since that is how _CFLAGS
1480     is expected to work (and actually works during compilation).
1481
1482     However using maude_LDFLAGS "instead of" AM_LDFLAGS rather than
1483     "in addition to" breaks backward compatibility with older versions.
1484     If your package used both variables, as in
1485
1486       AM_LDFLAGS = common flags
1487       bin_PROGRAMS = a b c
1488       a_LDFLAGS = more flags
1489       ...
1490
1491     and assumed *_LDFLAGS would sum up, you should rewrite it as
1492
1493       AM_LDFLAGS = common flags
1494       bin_PROGRAMS = a b c
1495       a_LDFLAGS = $(AM_LDFLAGS) more flags
1496       ...
1497
1498     This new behavior of *_LDFLAGS is more coherent with other
1499     per-target variables, and the way *_LDFLAGS variables were
1500     considered internally.
1501
1502 * New installation targets:
1503
1504   - New targets mandated by GNU Coding Standards:
1505       install-dvi
1506       install-html
1507       install-ps
1508       install-pdf
1509     By default they will only install Texinfo manuals.
1510     You can customize them with *-local variants:
1511       install-dvi-local
1512       install-html-local
1513       install-ps-local
1514       install-pdf-local
1515
1516   - The undocumented recursive target `uninstall-info' no longer exists.
1517     (`uninstall' is in charge of removing all possible documentation
1518     flavors, including optional formats such as dvi, ps, or info even
1519     when `no-installinfo' is used.)
1520
1521 * Miscellaneous changes:
1522
1523   - Automake no longer complains if input files for AC_CONFIG_FILES
1524     are specified using shell variables.
1525
1526   - clean, distribution, or rebuild rules are normally disabled for
1527     inputs and outputs of AC_CONFIG_FILES, AC_CONFIG_HEADERS, and
1528     AC_CONFIG_LINK specified using shell variables.  However, if these
1529     variables are used as ${VAR}, and AC_SUBSTed, then Automake will
1530     be able to output rules anyway.
1531     (See the Automake documentation for AC_CONFIG_FILES.)
1532
1533   - $(EXEEXT) is automatically appended to filenames of TESTS
1534     that have been declared as programs in the same Makefile.
1535     This is mostly useful when some check_PROGRAMS are listed in TESTS.
1536
1537   - `-Wportability' has finally been turned on by default for `gnu' and
1538     `gnits' strictness.  This means, automake will complain about %-rules
1539     or $(GNU Make functions) unless you switch to `foreign' strictness or
1540     use `-Wno-portability'.
1541
1542   - Automake now uses AC_PROG_MKDIR_P (new in Autoconf 2.60), and uses
1543     $(MKDIR_P) instead of $(mkdir_p) to create directories.  The
1544     $(mkdir_p) variable is still defined (to the same value as
1545     $(MKDIR_P)) but should be considered obsolete.  If you are using
1546     $(mkdir_p) in some of your rules, please plan to update them to
1547     $(MKDIR_P) at some point.
1548
1549   - AM_C_PROTOTYPES and ansi2knr are now documented as being obsolete.
1550     They still work in this release, but may be withdrawn in a future one.
1551
1552   - Inline compilation rules for gcc3-style dependency tracking are
1553     more readable.
1554
1555   - Automake installs a "Hello World!" example package in $(docdir).
1556     This example is used throughout the new "Autotools Introduction"
1557     chapter of the manual.
1558
1559 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1560
1561 New in 1.9:
1562
1563 * Makefile.in bloat reduction:
1564
1565   - Inference rules are used to compile sources in subdirectories when
1566     the `subdir-objects' option is used and no per-target flags are
1567     used.  This should reduce the size of some projects a lot, because
1568     Automake used to output an explicit rule for each such object in
1569     the past.
1570
1571   - Automake no longer outputs three rules (.o, .obj, .lo) for each
1572     object that must be built with explicit rules.  It just outputs
1573     the rules required to build the kind of object considered: either
1574     the two .o and .obj rules for usual objects, or the .lo rule for
1575     libtool objects.
1576
1577 * Change to Libtool support:
1578
1579   - Libtool tags are used with libtool versions that support them.
1580     (I.e., with Libtool 1.5 or greater.)
1581
1582   - Automake is now able to handle setups where a libtool library is
1583     conditionally installed in different directories, as in
1584
1585       if COND
1586         lib_LTLIBRARIES = liba.la
1587       else
1588         pkglib_LTLIBRARIES = liba.la
1589       endif
1590       liba_la_SOURCES = ...
1591
1592 * Changes to aclocal:
1593
1594   - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
1595     really evaluated, before it decides to include them in aclocal.m4.
1596     This solves nasty problems with conditional redefinitions of
1597     Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
1598     *.m4 files to be included in any project using these macros.
1599     (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
1600     most famous instance of this bug.)
1601
1602   - Do not complain about missing conditionally AC_REQUIREd macros
1603     that are not actually used.  In 1.8.x aclocal would correctly
1604     determine which of these macros were really needed (and include
1605     only these in the package); unfortunately it would also require
1606     all of them to be present in order to run.  This created
1607     situations were aclocal would not work on a tarball distributing
1608     all the macros it uses.  For instance running aclocal on a project
1609     containing only the subset of the Gettext macros in use by the
1610     project did not work, because gettext conditionally requires other
1611     macros.
1612
1613 * Portability improvements:
1614
1615   - Tar format can be chosen with the new options tar-v7, tar-ustar, and
1616     tar-pax.  The new option filename-length-max=99 helps diagnosing
1617     filenames that are too long for tar-v7.  (PR/414)
1618
1619   - Variables aumented with `+=' are now automatically flattened (i.e.,
1620     trailing backslashes removed) and then wrapped around 80 colummns
1621     (adding trailing backslashes).  In previous versions, a long series
1622     of
1623       VAR += value1
1624       VAR += value2
1625       VAR += value3
1626       ...
1627     would result in a single-line definition of VAR that could possibly
1628     exceed the maximum line length of some make implementations.
1629
1630     Non-augmented variables are still output as they are defined in
1631     the Makefile.am.
1632
1633 * Miscellaneous:
1634
1635   - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
1636     Works the same as the old Fortran 77 implementation; just replace
1637     F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
1638     Requires a version of autoconf which provides AC_PROG_FC (>=2.59).
1639
1640   - Support for conditional _LISP.
1641
1642   - Support for conditional -hook and -local rules (PR/428).
1643
1644   - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)
1645
1646   - Automake will not write any Makefile.ins after the first error it
1647     encounters.  The previous Makefile.ins (if any) will be left in
1648     place.  (Warnings will not prevent output, but remember they can
1649     be turned into errors with -Werror.)
1650
1651   - The restriction that SUBDIRS must contain direct children is gone.
1652     Do not abuse.
1653
1654   - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
1655     It also gives an example of nested packages using AC_CONFIG_SUBDIRS.
1656
1657 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1658
1659 Bugs fixed in 1.8.5:
1660
1661 * Long-standing bugs:
1662
1663   - Define DIST_SUBDIRS even when the `no-dist' or `cygnus' options are used
1664     so that `make distclean' and `make maintainer-clean' can work.
1665
1666   - Define AR and ARFLAGS even when only EXTRA_LIBRARIES are defined.
1667
1668   - Fix many rules to please FreeBSD make, which runs commands with `sh -e'.
1669
1670   - Polish diagnostic when no input file is found.
1671
1672 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1673
1674 Bugs fixed in 1.8.4:
1675
1676 * Long-standing bugs:
1677
1678   - Fix AM_PATH_PYTHON to correctly display $PYTHON when it has been
1679     overridden by the user.
1680
1681   - Honor PATH_SEPARATOR in various places of the Automake package, for
1682     the sake of OS/2.
1683
1684   - Adjust dependency tracking mode detection to ICC 8.0's new output.
1685     (PR/416)
1686
1687   - Fix install-sh so it can install the `mv' binary... using `mv'.
1688
1689   - Fix tru64 dependency tracking for libtool objects.
1690
1691   - Work around Exuberant Ctags when creating a TAGS files in a directory
1692     without files to scan but with subdirectories to include.
1693
1694 * Bugs introduced by 1.8:
1695
1696   - Fix an "internal error" when @LIBOBJS@ is used in a variable that is
1697     not defined in the same conditions as the _LDADD that uses it.
1698
1699   - Do not warn when JAVAROOT is overridden, this is legitimate.
1700
1701 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1702
1703 Bugs fixed in 1.8.3:
1704
1705 * Long-standing bugs:
1706
1707   - Quote filenames in installation rules, in case $DESTDIR, $prefix,
1708     or any of the other *dir variables contain a space.
1709
1710     Please note that Automake does not and cannot support spaces in
1711     filenames that are involved during the build.  This change affects
1712     only installation paths, so that `make install' does not bomb out
1713     in packages configured with
1714       ./configure --prefix '/c/Program Files'
1715
1716   - Fix the depfiles output so it works with GNU sed (<4.1) even when
1717     POSIXLY_CORRECT is set.
1718
1719   - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX.  This macro was unusable
1720     since Autoconf 2.54, which defines LIBOBJS itself.
1721
1722   - Fix a potential (but unlikely) race condition in parallel elisp
1723     builds.  (Introduced in 1.7.3.)
1724
1725   - Do not assume that users override _DEPENDENCIES in all conditions
1726     where Automake will try to define them.
1727
1728   - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
1729     Solaris 8's `mkdir -p' is not thread-safe and can break parallel
1730     builds.
1731
1732     This fix also affects the $(mkdir_p) variable defined since
1733     Automake 1.8.  It will be set to `mkdir -p' only if mkdir is GNU
1734     mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
1735
1736   - Secure temporary directory creation in `make distcheck'. (PR/413)
1737
1738   - Do not generate two build rules for `parser.h' when the
1739     parser appears in two different conditionals.
1740
1741   - Work around a Solaris 8 /bin/sh bug in the test for dependency
1742     checking.  Usually ./configure will not pick this shell; so this
1743     fix only helps cases where the shell is forced to /bin/sh.
1744
1745 * Bugs introduced by 1.8:
1746
1747   - In some situations (hand-written `m4_include's), aclocal would
1748     call the `File::Spec->rel2abs' method, which was only introduced
1749     in Perl 5.6.  This new version reestablish support Perl 5.005.
1750
1751     It is likely that the next major Automake releases will require at
1752     least Perl 5.6.  Consider upgrading your development environment
1753     if you are still using the five-year-old Perl 5.005.
1754
1755   - Automake would sometimes fail to define rules for targets listed
1756     in variables defined in multiple conditions.  For instance on
1757       if C1
1758         bin_PROGRAMS = a
1759       else
1760         bin_PROGRAMS = b
1761       endif
1762     it would define only the `a.$(OBJEXT): a.c' rule and omit the
1763     `b.$(OBJEXT): b.c' rule.
1764
1765 * New sections in manual:
1766
1767   - Third-Party Makefiles: how to interface third party Makefiles.
1768   - Upgrading: upgrading packages to newer Automake versions.
1769   - Multiple Outputs: handling tools that produce many outputs.
1770
1771 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1772
1773 Bug fixed in 1.8.2:
1774
1775 * A (well known) portability bug slipped in the changes made to
1776   install-sh in Automake 1.8.1.  The broken install-sh would refuse to
1777   install anything on Tru64.
1778
1779 * Fix install rules for conditionally built python files.  (This never
1780   really worked.)
1781
1782 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1783
1784 Bug fixed in 1.8.1:
1785
1786 * Bugs introduced by 1.8:
1787
1788   - Fix Config.pm import error with old Perl versions (at least
1789     5.005_03).  One symptom is that aclocal could not find its macro
1790     directory.
1791
1792   - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
1793     created by `make install' are always world readable, even if the
1794     installer happens to have an overly restrictive umask (e.g. 077).
1795     This was a mistake and has been reverted.  There are at least two
1796     reasons why we must not use `-m 0755':
1797       - it causes special bits like SGID to be ignored,
1798       - it may be too restrictive (some setups expect 775 directories).
1799
1800   - Fix aclocal to honor definitions located in files which have been
1801     m4_included manually.  aclocal 1.8 had been updated to check
1802     m4_included files for new requirements, but forgot that these
1803     m4_included files can also provide new definitions.
1804
1805     Note that if you have such a setup, we recommend you get rid of
1806     it.  In the past, there was a reason to m4_include files manually:
1807     aclocal used to duplicate entire M4 files into aclocal.m4, even
1808     files that were distributed.  Some packages were therefore
1809     m4_including the distributed file directly, and playing some
1810     tricks to ensure aclocal would not copy that file to aclocal.m4,
1811     in order to limit the amount of duplication.  Since aclocal 1.8.x
1812     will precisely output m4_includes for local M4 files, we recommend
1813     that you clean up your setup, removing all manual m4_includes and
1814     letting aclocal output them.
1815
1816   - Output detailed menus in the Info version if the Automake manual,
1817     so that Emacs can locate the indexes.
1818
1819   - configure.ac and configure were listed twice in DIST_COMMON (an
1820     internal variable where Automake lists configury files to
1821     distribute).  This was harmless, but unaesthetic.
1822
1823   - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
1824     This was an issue only in the Automake package itself, not in
1825     its output.
1826
1827   - Automake assumed that all AC_CONFIG_LINKS arguments had the form
1828     DEST:SRC.  This was wrong, as some packages do
1829     AC_CONFIG_LINKS($computedlinks).  This version no longer abort in
1830     that situation.
1831
1832   - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
1833     argument.  This caused two kinds of failures:
1834       - Rules installing data in a conditionally defined directory
1835         failed when that directory was undefined.  In this case no
1836         argument was supplied.
1837       - `make installdirs' failed, because several directories were
1838         passed to $(mkdir_p).  This was an issue only on platform
1839         were $(mkdir_p) is implemented with `install-sh -d'.
1840     $(mkdir_p) as been changed to accept 0 or more arguments, as
1841     mkinstalldirs did.
1842
1843 * Long-standing bugs:
1844
1845   - Fix an unexpected diagnostic occurring when users attempt
1846     to override some internal variables that Automake appends to.
1847
1848   - aclocal now scans configure.ac for macro definitions (PR/319).
1849
1850   - Fix a portability issue with OSF1/Tru64 Make.  If a directory
1851     distributes files which are outside itself (this usually occurs
1852     when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
1853     from a parent package), then `make distcheck' fails due to an
1854     optimization performed by OSF1/Tru64 Make in its VPATH handling.
1855     (tests/subpkg2.test failure)
1856
1857   - Fix another portability issue with Sun and OSF1/Tru64 Make.
1858     In a VPATH-build configuration, `make install' would install
1859     nobase_ files to wrong locations.
1860
1861   - Fix a Perl `uninitialized value' diagnostic occurring when
1862     automake complains that a Texinfo file does not have a
1863     @setfilename statement.
1864
1865   - Erase config.status.lineno during `make distclean'.  This file
1866     can be created by config.status.  Automake already knew about
1867     configure.lineno, but forgot config.status.lineno.
1868
1869   - Distribute all files, even those which are built and installed
1870     conditionally.  This change affects files listed in conditionally
1871     defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
1872     as well as those listed in conditionally defined dist_*_DATA,
1873     dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
1874
1875   - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
1876     doesn't conform to POSIX.
1877
1878   - Normalize help strings for configure variables and options added
1879     by Automake macros.
1880
1881 * Anticipation:
1882
1883   - Check for python2.4 in AM_PATH_PYTHON.
1884
1885 * Spurious failures in test suite:
1886
1887   - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
1888     tests/ltconv.test: fix failures with CVS Libtool.
1889   - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
1890   - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
1891     fix failures with old Texinfo versions.
1892
1893 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1894
1895 New in 1.8:
1896
1897 * Meta-News
1898
1899   - The NEWS file is more verbose.
1900
1901 * Requirements
1902
1903   - Autoconf 2.58 or greater is required.
1904
1905 * New features
1906
1907   - Default source file names in the absence of a _SOURCES declaration
1908     are made by removing any target extension before appending `.c', so
1909     to make the libtool module `foo.la' from `foo.c', you only need to
1910     do this:
1911
1912         lib_LTLIBRARIES = foo.la
1913         foo_la_LDFLAGS  = -module
1914
1915     For backward compatibility, foo_la.c will be used instead of
1916     foo.c if this file exists or is the explicit target of a rule.
1917     However -Wobsolete will warn about this deprecated naming.
1918
1919   - AR's `cru' flags are now set in a global ARFLAGS variable instead
1920     of being hard-coded in each $(AR) invocation, so they can be
1921     substituted from configure.ac.  This has been requested by people
1922     dealing with non-POSIX ar implementations.
1923
1924   - New warning option: -Woverride.  This will warn about any user
1925     target or variable definitions which override Automake
1926     definitions.
1927
1928   - Texinfo rules back up and restore info files when makeinfo fails.
1929
1930   - Texinfo rules now support the `html' target.
1931     Running this requires Texinfo 4.0 or greater.
1932
1933     `html' is a new recursive target, so if your package mixes
1934     hand-crafted `Makefile.in's with Automake-generated
1935     `Makefile.in's, you should adjust the former to support (or
1936     ignore) this target so that `make html' recurses successfully.  If
1937     you had a custom `html' rule in your `Makefile.am', it's better to
1938     rename it as `html-local', otherwise your rule will override
1939     Automake's new rule (you can check that by running `automake
1940     -Woverride') and that will stop the recursion to subdirectories.
1941
1942     Last but not least, this `html' rule is declared PHONY, even when
1943     overridden.  Fortunately, it appears that few packages use a
1944     non-PHONY `html' rule.
1945
1946   - Any file which is m4_included from configure.ac will appear as a
1947     configure and Makefile.in dependency, and will be automatically
1948     distributed.
1949
1950   - The rules for rebuilding Makefiles and Makefile.ins will now
1951     rebuild all Makefiles and all Makefile.ins at once when one of
1952     configure's dependencies has changed.  This is considerably faster
1953     than previous implementations, where config.status and automake
1954     were run separately in each directory (this still happens when you
1955     change a Makefile.am locally, without touching configure.ac or
1956     friends).  Doing this also solves a longstanding issue: these
1957     rebuild rules failed to work when adding new directories to the
1958     tree, forcing you to run automake manually.
1959
1960   - For similar reasons, the rules to rebuild configure,
1961     config.status, and aclocal.m4 are now defined in all directories.
1962     Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
1963     CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
1964     should better define them in all directories.  This is easily done
1965     using an AC_SUBST (make sure you prefix these dependencies with
1966     $(top_srcdir) since this variable will appear at different
1967     levels of the build tree).
1968
1969   - aclocal will now use `m4_include' instead of copying local m4
1970     files into aclocal.m4.  (Local m4 files are those you ship with
1971     your project, other files will be copied as usual.)
1972
1973     Because m4_included files are automatically distributed, it means
1974     for most projects there is no point in EXTRA_DISTing the list of
1975     m4 files which are used.  (You can probably get rid of
1976     m4/Makefile.am if you had one.)
1977
1978   - aclocal will avoid touching aclocal.m4 when possible, so that
1979     Autom4te's cache isn't needlessly invalidated.  This behavior can
1980     be switched off with the new `--force' option.
1981
1982   - aclocal now uses Autoconf's --trace to detect macros which are
1983     actually used and will no longer include unused macros simply
1984     because they where mentioned.  This was often the case for macros
1985     called conditionally.
1986
1987   - New options no-dist and no-dist-gzip.
1988
1989   - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
1990     py-compile, and ylwrap, now all understand --version and --help.
1991
1992   - Automake will now recognize AC_CONFIG_LINKS so far as removing created
1993     links as part of the distclean target and including source files in
1994     distributions.
1995
1996   - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
1997     argument.  The latter can be used to override the default behavior
1998     (which is to abort).
1999
2000   - Automake will exit with $? = 63 on version mismatch.  (So does
2001     Autoconf 2.58)  missing knows this, and in this case it will
2002     emulate the tools as if they were absent.  Because older versions
2003     of Automake and Autoconf did not use this exit code, this change
2004     will only be useful in projects generated with future versions of
2005     these tools.
2006
2007   - When using AC_CONFIG_FILES with multiple input files, Automake
2008     generates the first ".in" input file for which a ".am" exists.
2009     (Former versions would try to use only the first input file.)
2010
2011   - lisp_DATA is now allowed.  If you are using the empty ELCFILES
2012     idiom to disable byte-compilation of lisp_LISP files, it is
2013     recommended that you switch to using lisp_DATA.  Note that
2014     this is not strictly equivalent: lisp_DATA will install elisp
2015     files even if emacs is not installed, while *_LISP do not
2016     install anything unless emacs is found.
2017
2018   - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
2019     available.  This selection is achieved through the Makefile
2020     variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
2021     `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
2022     `$(install_sh) -m 0755 -d'.
2023
2024 * Obsolete features
2025
2026   - Because `mkdir -p' is available on most platforms, and we can use
2027     `install-sh -d' when it is not, the use of the mkinstalldirs
2028     script is being phased out.  `automake --add-missing' no longer
2029     installs it, and if you remove mkinstalldirs from your package,
2030     automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
2031
2032     Gettext 0.12.1 still requires mkinstalldirs.  Fortunately
2033     gettextize and autopoint will install it when needed.  Automake
2034     will continue to define the $(mkinstalldirs) and to distribute
2035     mkinstalldirs when this script is in the source tree.
2036
2037   - AM_PROG_CC_STDC is now empty.  The content of this macro was
2038     merged in AC_PROG_CC.  If your code uses $am_cv_prog_cc_stdc, you
2039     should adjust it to use $ac_cv_prog_cc_stdc instead.  (This
2040     renaming should be safe, even if you have to support several,
2041     versions of Automake, because AC_PROG_CC defines this variable
2042     since Autoconf 2.54.)
2043
2044   - Some users where using the undocumented ACLOCAL_M4_SOURCES
2045     variable to override the aclocal.m4 dependencies computed
2046     (inaccurately) by older versions of Automake.  Because Automake
2047     now tracks configure's m4 dependencies accurately (see m4_include
2048     above), the use of ACLOCAL_M4_SOURCES should be considered
2049     obsolete and will be flagged as such when running `automake
2050     -Wobsolete'.
2051
2052 * Bug fixes
2053
2054   - Defining programs conditionally using Automake conditionals no
2055     longer leads to a combinatorial explosion.  The following
2056     construct used to be troublesome when used with dozens of
2057     conditions.
2058
2059       bin_PROGRAMS = a
2060       if COND1
2061         bin_PROGRAMS += a1
2062       endif
2063       if COND2
2064         bin_PROGRAMS += a2
2065       endif
2066       if COND3
2067         bin_PROGRAMS += a3
2068       endif
2069       ...
2070
2071     Likewise for _SOURCES, _LDADD, and _LIBADD variables.
2072
2073   - Due to implementation constraints, previous versions of Automake
2074     proscribed multiple conditional definitions of some variables
2075     like bin_PROGRAMS:
2076
2077       if COND1
2078         bin_PROGRAMS = a1
2079       endif
2080       if COND2
2081         bin_PROGRAMS = a2
2082       endif
2083
2084     All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
2085     This restriction has been lifted, and these variables now
2086     support multiple conditional definitions as do other variables.
2087
2088   - Cleanup the definitions of $(distdir) and $(top_distdir).
2089     $(top_distdir) now points to the root of the distribution
2090     directory created during `make dist', as it did in Automake 1.4,
2091     not to the root of the build tree as it did in intervening
2092     versions.  Furthermore these two variables are now only defined in
2093     the top level Makefile, and passed to sub-directories when running
2094     `make dist'.
2095
2096   - The --no-force option now correctly checks the Makefile.in's
2097     dependencies before deciding not to update it.
2098
2099   - Do not assume that make files are called Makefile in cleaning rules.
2100
2101   - Update .info files in the source tree, not in the build tree.  This
2102     is what the GNU Coding Standard recommend.  Only Automake 1.7.x
2103     used to update these files in the build tree (previous versions did
2104     it in the source tree too), and it caused several problems, varying
2105     from mere annoyance to portability issues.
2106
2107   - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
2108     when --add-missing and --force-missing are used.  For backward
2109     compatibility --add-missing will continue to install COPYING (in
2110     `gnu' strictness) when none of these three files exist, but this
2111     use is deprecated: you should better choose a license yourself and
2112     install it once for all in your source tree (and in your code
2113     management system).
2114
2115   - Fix ylwrap so that it does not overwrite header files that haven't
2116     changed, as the inline rule already does.
2117
2118   - User-defined rules override automake-defined rules for the same
2119     targets, even when rules do not have commands.  This is not new
2120     (and was documented), however some of the automake-generated
2121     rules have escaped this principle in former Automake versions.
2122     Rules for the following targets are affected by this fix:
2123
2124        clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
2125        info, info-am, install-data-am, install-exec-am, install-info,
2126        install-info-am, install-man, installcheck-am, maintainer-clean,
2127        maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
2128        ps, ps-am, uninstall-am, uninstall-info, uninstall-man
2129
2130     Practically it means that an attempt to supplement the dependencies
2131     of some target, as in
2132
2133        clean: my-clean-rule
2134
2135     will now *silently override* the automake definition of the
2136     rule for this target.  Running `automake -Woverride' will diagnose
2137     all such overriding definitions.
2138
2139     It should be noted that almost all of these targets support a *-local
2140     variant that is meant to supplement the automake-defined rule
2141     (See node `Extending' in the manual).  The above rule should
2142     be rewritten as
2143
2144       clean-local: my-clean-rule
2145
2146     These *-local targets have been documented since at least
2147     Automake 1.2, so you should not fear the change if you have
2148     to support multiple automake versions.
2149
2150 * Miscellaneous
2151
2152   - The Automake manual is now distributed under the terms of the GNU FDL.
2153
2154   - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
2155
2156   - core dumps are no longer removed by the cleaning rules.  There are
2157     at least three reasons for this:
2158       1. These files should not be created by any build step,
2159          so their removal do not fit any of the cleaning rules.
2160          Actually, they may be precious to the developer.
2161       2. If such file is created during a build, then it's clearly a
2162          bug Automake should not hide.  Not removing the file will
2163          cause `make distcheck' to complain about its presence.
2164       3. Operating systems have different naming conventions for
2165          core dump files.  A core file on one system might be a
2166          completely legitimate data file on another system.
2167
2168   - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
2169     defined by Automake.  This means that any definition in the
2170     environment will be used, unless overridden in the Makefile.am or
2171     on the command line.  The old behavior, where these variables were
2172     defined empty in each Makefile, can be obtained by AC_SUBSTing or
2173     AC_ARG_VARing each variable from configure.ac.
2174
2175   - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
2176     documented.  (The is not a new feature, these variables have
2177     been there since at least Automake 1.4.)
2178
2179 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2180
2181 Bugs fixed in 1.7.9:
2182 * Fix install-strip to work with nobase_ binaries.
2183 * Fix renaming of #line directives in ylwrap.
2184 * Rebuild with Autoconf 2.59.  (1.7.8 was not installable with pdksh.)
2185
2186 Bugs fixed in 1.7.8:
2187 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
2188 * Fix detection of Debian's install-info, broken since version 1.5.
2189   (Debian bug #213524).
2190 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
2191   This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
2192
2193 Bugs fixed in 1.7.7:
2194 * The implementation of automake's --no-force option is unreliable,
2195   so this option is ignored in this version.  A real fix will appear in
2196   Automake 1.8.  (Debian Bug #206299)
2197 * AM_PATH_PYTHON: really check the whole list of interpreters if no
2198   argument is given.  (PR/399)
2199 * Do not warn about leading `_' in variable names, even with -Wportability.
2200 * Support user redefinitions of TEXINFO_TEX.
2201 * depcomp: support AIX Compiler version 6.
2202 * Fix missing rebuilds during `make dist' with BSD make.
2203   (Could produce tarballs containing out-of-date files.)
2204 * Resurrect multilib support.
2205 * Noteworthy manual updates:
2206   - Extending aclocal: how to write m4 macros that won't trigger warnings
2207     with Automake 1.8.
2208   - A Shared Library: Rewrite and split into subsections.
2209
2210 Bugs fixed in 1.7.6:
2211 * Fix depcomp's icc mode for ICC 7.1.
2212 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
2213 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
2214 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
2215 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
2216 * Remove Latin-1 characters from elisp-comp.
2217 * Update the manual's @dircategory to match the Free Software Directory.
2218
2219 Bugs fixed in 1.7.5:
2220 * Update install-sh's license to remove an advertising clause.
2221   (Debian bug #191717)
2222 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
2223   that caused invalid Makefile.ins to be generated.
2224 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
2225 * New FAQ entry: renamed objects.
2226
2227 Bugs fixed in 1.7.4:
2228 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
2229   the Emacs implementation)
2230 * Fix output of aclocal.m4 dependencies in subdirectories.
2231 * Use `mv -f' instead of `mv' in fastdep rules.
2232 * Upgrade mdate-sh to work on OS/2.
2233 * Don't byte-compile elisp files when ELCFILES is set empty.
2234   (this documented feature was broken by 1.7.3)
2235 * Diagnose trailing backslashes on last line of Makefile.am.
2236 * Diagnose whitespace following trailing backslashes.
2237 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
2238 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
2239   Makefiles. (PR/389)
2240 * `make install' will build `BUILT_SOURCES' first.
2241 * Minor documentation fixes.
2242
2243 Bugs fixed in 1.7.3:
2244 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
2245 * Query distutils for `pythondir' and `pythonexecdir', instead of
2246   using an hardcoded path.  This should allow builds on 64-bit
2247   distributions that usually use lib64/ instead of lib/.
2248 * AM_PATH_PYTHON will also search for python2.3.
2249 * elisp files are now built all at once instead of one by one. Besides
2250   incurring a speed-up, this is required to support interdependent elisp files.
2251 * Support for DJGPP:
2252   - `make distcheck' will now work in `_inst/' and `_build' instead
2253     of `=inst/' and `=build/'
2254   - use `_dirstamp' when the file-system doesn't support `.dirstamp'
2255   - install/uninstall `*.i[0-9][0-9]'-style info files
2256   - more changes that affect only the Automake package (not its output)
2257 * Fix some incompatibilities with upcoming perl-5.10.
2258 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
2259   PACKAGE and VERSION.
2260 * depcomp fixes:
2261   - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
2262     is troublesome with gcc and Solaris compilers. (PR/385)
2263   - makedepend mode: work with Libtool. (PR/385 too)
2264   - support for ICC.
2265 * better support for unusual gettext setups, such as multiple po/ directories
2266   (PR/381):
2267   - Flag missing po/ and intl/ directories as warnings, not errors.
2268   - Disable these warnings if po/ does not exist.
2269 * Noteworthy manual updates:
2270   - New FAQ chapter.
2271   - Document how AC_CONFIG_AUX_DIR interacts with missing files.
2272     (Debian Bug #39542)
2273   - Document `AM_YFLAGS = -d'.  (PR/382)
2274
2275 Bugs fixed in 1.7.2:
2276 * Fix installation and uninstallation of Info files built in subdirectories.
2277 * Do not run `./configure --with-included-gettext' during `make distcheck'
2278   if AM_GNU_GETTEXT([external]) is used.
2279 * Correctly uninstall renamed man pages.
2280 * Do not strip escaped newline in variables defined in one condition
2281   and augmented in another condition.
2282 * Fix ansi2knr rules for LIBOBJS sources.
2283 * Clean all known Texinfo index files, not only those which appear to
2284   be used, because we cannot know which indexes are used in included files.
2285   (PR/375, Debian Bug #168671)
2286 * Honor only the first @setfilename seen in a Texinfo file.
2287 * Treat "required file X not found" diagnostics as errors (exit status 1).
2288 * Don't complain that a required file is not found when it is a Makefile
2289   target. (PR/357)
2290 * Don't use single suffix inference rules when building `.info'-less
2291   Info files, for the sake of Solaris make.
2292 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
2293 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
2294 * Warn about multiple inference rules when -Wportability is used. (PR/372)
2295 * Fix building of deansified files from subdirectories. (PR/370)
2296 * Add missing `fi' in the .c->.obj rules.
2297 * Improve install-sh to work even when names contain spaces or certain
2298   (but not all) shell metachars.
2299 * Fix the following spurious failures in the test suite:
2300   depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
2301 * Noteworthy manual updates:
2302   - Augment the section about BUILT_SOURCES.
2303   - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
2304
2305 Bugs fixed in 1.7.1:
2306 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
2307   flags.
2308 * Aclocal should now recognize macro names containing parentheses, e.g.
2309   AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
2310 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
2311   (Debian Bug#153697)
2312 * Install Python files even if they were built.  (PR/369)
2313 * Have stamp-vti dependent upon configure instead of configure.ac, as the
2314   version might not be defined in the latter. (PR/358)
2315 * Reorder arguments passed to a couple of commands, so things works
2316   when POSIXLY_CORRECT=1.
2317 * Fix a regex that can cause Perl to segfault on large input.
2318   (Debian Bug#162583)
2319 * Fix distribution of packages that have some sources defined conditionally,
2320   as in the `Conditional compilation using Automake conditionals' example
2321   of the manual.
2322 * Fix spurious test suite failures on IRIX.
2323 * Don't report a required variable as undefined if it has been
2324   defined conditionally for the "right" conditions.
2325 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
2326   `make distcheck' fails.
2327 * Fix distribution of included Makefile fragment, so we don't create
2328   spurious directories in the distribution. (PR/366)
2329 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
2330
2331 New in 1.7:
2332 * Autoconf 2.54 is required.
2333 * `aclocal' and `automake' will no longer warn about obsolete
2334   configure macros.  This is done by `autoconf -Wobsolete'.
2335 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
2336   AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
2337   supported).  You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
2338   and AC_HEADER_TIOCGWINSZ instead.  `autoupdate' can upgrade
2339   `configure.ac' for you.
2340 * Support for per-program and per-library `_CPPFLAGS'.
2341 * New `ctags' target (builds CTAGS files).
2342 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
2343   (see `automake --help' or the manual for a list of them).
2344 * Honor the WARNINGS environment variable.
2345 * Omit the call to depcomp when using gcc3: call the compiler directly.
2346 * A new option, std-options, tests that programs support --help and --version
2347   when `make installcheck' is run.  This is enabled by --gnits.
2348 * Texinfo rules now support the `ps' and `pdf' targets.
2349 * Info files are now created in the build directory, not the source directory.
2350 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
2351   or greater).
2352 * `make distcheck' will enforce DESTDIR support by attempting
2353   a DESTDIR install.
2354 * `+=' can be used in conditionals, even if the augmented variable
2355   was defined for another condition.
2356 * Makefile fragments (inserted with `include') are always distributed.
2357 * Use Autoconf's --trace interface to inspect configure.ac and get
2358   a more accurate view of it.
2359 * Add support for extending aclocal's default macro search path
2360   using a `dirlist' file within the aclocal directory.
2361 * automake --output-dir is deprecated.
2362 * The part of the distcheck target that checks whether uninstall actually
2363   removes all installed files has been moved in a separate target,
2364   distuninstallcheck, so it can be overridden easily.
2365 * Many bug fixes.
2366
2367 New in 1.6.3:
2368 * Support for AM_INIT_GETTEXT([external])
2369 * Bug fixes, including:
2370   - Fix Automake's own `make install' so it works even if `ln' doesn't.
2371   - nobase_ programs and scripts honor --program-transform correctly.
2372   - Erase configure.lineno during `make distclean'.
2373   - Erase YACC and LEX outputs during `make maintainer-clean'.
2374
2375 New in 1.6.2:
2376 * Many bug fixes, including:
2377   - Requiring the current version works.
2378   - Fix "$@" portability issues (for Zsh).
2379   - Fix output of dummy dependency files in presence of post-processed
2380     Makefile.in's.
2381   - Don't compute dependencies in background to avoid races with libtool.
2382   - Fix handling of _OBJECTS variables for targets sharing source variables.
2383   - Check dependency mode for Java when AM_PROG_GCJ is used.
2384
2385 New in 1.6.1:
2386 * automake --output-dir is deprecated
2387 * Many bug fixes, including:
2388   - Don't choke on AM_LDFLAGS definitions.
2389   - Clean libtool objects from subdirectories.
2390   - Allow configure variables with reserved suffix and unknown prefix
2391     (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
2392   - Fix the definition of AUTOMAKE and ACLOCAL in configure.
2393
2394 New in 1.6:
2395 * Autoconf 2.52 is required.
2396 * automake no longer run libtoolize.
2397   This is the job of autoreconf (from GNU Autoconf).
2398 * `dist' generates all the archive flavors, as did `dist-all'.
2399 * `dist-gzip' generates the Gzip tar file only.
2400 * Combining Automake Makefile conditionals no longer lead to a combinatorial
2401   explosion.  Makefile.in's keep a reasonable size.
2402 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
2403   are no longer shipped, since Autoconf 2.52 provides them (both as AM_
2404   and AC_).
2405 * `#line' of Lex and Yacc files are properly set.
2406 * EXTRA_DIST can contain generated directories.
2407 * Support for dot-less extensions in suffix rules.
2408 * The part of the distcheck target that checks whether distclean actually
2409   cleans all built files has been moved in a separate target, distcleancheck,
2410   so it can be overridden easily.
2411 * `make distcheck' will pass additional options defined in
2412   $(DISTCHECK_CONFIGURE_FLAGS) to configure.
2413 * Fixed CDPATH portability problems, in particular for MacOS X.
2414 * Fixed handling of nobase_ targets.
2415 * Fixed support of implicit rules leading to .lo objects.
2416 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
2417 * Added uninstall-hook target
2418 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
2419   You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
2420   (Note that "pkgname" is not "tarname", see the manual for details.)
2421   It is also possible to pass a list of global Automake options as
2422   first argument to this new form of AM_INIT_AUTOMAKE.
2423 * Compiler-based assembler is now called `CCAS'; people expected `AS'
2424   to be a real assembler.
2425 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it.  Adding
2426   AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
2427 * aclocal and automake are also installed with the version number
2428   appended, and some of the install directory names have changed.
2429   This lets you have multiple versions installed simultaneously.
2430 * Support for parsers and lexers in subdirectories.
2431
2432 New in 1.5:
2433 * Support for `configure.ac'.
2434 * Support for `else COND', `endif COND' and negated conditions `!COND'.
2435 * `make dist-all' is much faster.
2436 * Allows '@' AC_SUBSTs in macro names.
2437 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
2438 * User-side dependency tracking.  Developers no longer need GNU make
2439 * Python support
2440 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
2441 * Most files are correctly handled if they appear in subdirs
2442   For instance, a _DATA file can appear in a subdir
2443 * GNU tar is no longer required for `make dist'
2444 * Added support for `dist_' and `nodist_' prefixes
2445 * Added support for `nobase_' prefix
2446 * Compiled Java support
2447 * Support for per-executable and per-library compilation flags
2448 * Many bug fixes
2449
2450 New in 1.4:
2451 * Added support for the Fortran 77 programming language.
2452 * Re-indexed the Automake Texinfo manual.
2453 * Added `AM_FOOFLAGS' variable for each compiler invocation;
2454   e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
2455 * Support for latest autoconf, including support for objext
2456 * Can now put `.' in SUBDIRS to control build order
2457 * `include' command and `+=' support for macro assignment
2458 * Dependency tracking no long susceptible to deleted header file problem
2459 * Maintainer mode now a conditional.  @MAINT@ is now an anachronism.
2460 * Bug fixes
2461
2462 New in 1.3:
2463 * Bug fixes
2464 * Better Cygwin32 support
2465 * Support for suffix rules with _SOURCES variables
2466 * New options `readme-alpha' and `check-news'; Gnits mode sets these
2467 * @LEXLIB@ no longer required when lex source seen
2468   Lex support in `missing', and new lex macro.  Update your missing script.
2469 * Built-in support for assembly
2470 * aclocal gives error if `AM_' macro not found
2471 * Passed YFLAGS, not YACCFLAGS, to yacc
2472 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
2473 * Dependencies computed as a side effect of compilation
2474 * Preliminary support for Java
2475 * DESTDIR support at "make install" time
2476 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
2477
2478 New in 1.2:
2479 * Bug fixes
2480 * Better DejaGnu support
2481 * Added no-installinfo option
2482 * Added Emacs Lisp support
2483 * Added --no-force option
2484 * Included `aclocal' program
2485 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
2486 * Now uses `AM_' macro names everywhere
2487 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
2488   ansi2knr now works correctly on K&R sources
2489 * Better C++, yacc, lex support
2490 * Will compute _DEPENDENCIES variables automatically if not supplied
2491 * Will interpolate $(...) and ${...} when examining contents of a variable
2492 * .deps files now in build directory, not source directory; dependency
2493   handling generally rewritten
2494 * DATA, MANS and BUILT_SOURCES no longer included in distribution
2495 * can now put config.h into a subdir
2496 * Added dist-all target
2497 * Support for install-info program (see texinfo 3.9)
2498 * Support for "yacc -d"
2499 * configure substitutions are automatically discovered and included
2500   in generated Makefile.in
2501 * Special --cygnus mode
2502 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
2503   when making distribution.  Some dependencies are auto-ignored.
2504 * Changed how libraries are specified in _LIBRARIES variable
2505 * Full libtool support, from Gord Matzigkeit
2506 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
2507   AM_CONFIG_HEADER handles it automatically
2508 * Texinfo output files no longer need .info extension
2509 * Added `missing' support
2510 * Cygwin32 support
2511 * Conditionals in Makefile.am, from Ian Taylor
2512
2513 New in 1.0:
2514 * Bug fixes
2515 * distcheck target runs install and installcheck targets
2516 * Added preliminary support for DejaGnu.
2517
2518 New in 0.33:
2519 * More bug fixes
2520 * More checking
2521 * More libtool fixes from Gord Matzigkeit; libtool support is still
2522   preliminary however
2523 * Added support for jm_MAINTAINER_MODE
2524 * dist-zip support
2525 * New "distcheck" target
2526
2527 New in 0.32:
2528 * Many bug fixes
2529 * mkinstalldirs and mdate-sh now appear in directory specified by
2530   AC_CONFIG_AUX_DIR.
2531 * Removed DIST_SUBDIRS, DIST_OTHER
2532 * AC_ARG_PROGRAM only required when an actual program exists
2533 * dist-hook target now run before distribution packaged up; idea from
2534   Dieter Baron.  Other hooks exist, too.
2535 * Preliminary (unfinished) support for libtool
2536 * Added short option names.
2537 * Better "dist" support when gluing together multiple packages
2538
2539 New in 0.31:
2540 * Bug fixes
2541 * Documentation updates (many from François Pinard)
2542 * strictness `normal' now renamed to `foreign'
2543 * Renamed --install-missing to --add-missing
2544 * Now handles AC_CONFIG_AUX_DIR
2545 * Now handles TESTS macro
2546 * DIST_OTHER renamed to EXTRA_DIST
2547 * DIST_SUBDIRS is deprecated
2548 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
2549 * Better error messages in many cases
2550 * Program names are canonicalized
2551 * Added "check" prefix; from Gord Matzigkeit
2552
2553 New in 0.30:
2554 * Bug fixes
2555 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
2556 * Beginnings of a test suite
2557 * Automatically adds -I options for $(srcdir), ".", and path to config.h
2558 * Doesn't print anything when running
2559 * Beginnings of MAINT_CHARSET support
2560 * Can specify version in AUTOMAKE_OPTIONS
2561 * Most errors recognizable by Emacs' M-x next-error
2562 * Added --verbose option
2563 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
2564   configure-generated names
2565 * Required macros now distributed in aclocal.m4
2566 * New documentation
2567 * --strictness=gnu is default
2568
2569 New in 0.29:
2570 * Many bug fixes
2571 * More sophisticated configure.in scanning; now understands ALLOCA and
2572   LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
2573 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
2574 * CONFIG_HEADER variable now obsolete
2575 * Can handle multiple Texinfo sources
2576 * Allow hierarchies deeper than 2.  From Gord Matzigkeit.
2577 * HEADERS variable no longer needed; now can put .h files directly into
2578   foo_SOURCES variable.
2579 * Automake automatically rebuilds files listed in AC_OUTPUT.  The
2580   corresponding ".in" files are included in the distribution.
2581
2582 New in 0.28:
2583 * Added --gnu and --gnits options
2584 * More standards checking
2585 * Bug fixes
2586 * Cleaned up 'dist' targets
2587 * Added AUTOMAKE_OPTIONS variable and several options
2588 * Now scans configure.in to get some information (preliminary)
2589
2590 New in 0.27:
2591 * Works with Perl 4 again
2592
2593 New in 0.26:
2594 * Added --install-missing option.
2595 * Pretty-prints generated macros and rules
2596 * Comments in Makefile.am are placed more intelligently in Makefile.in
2597 * Generates .PHONY target
2598 * Rule or macro in Makefile.am now overrides contents of Automake file
2599 * Substantial cleanups from François Pinard
2600
2601 New in 0.25:
2602 * Bug fixes.
2603 * Works with Perl 4 again.
2604
2605 New in 0.24:
2606 * New uniform naming scheme.
2607 * --strictness option
2608 * Works with Perl 5
2609 * '.c' files corresponding to '.y' or '.l' files are automatically
2610   distributed.
2611 * Many bug fixes and cleanups
2612
2613 New in 0.23:
2614 * Allow objects to be conditionally included in libraries via lib_LIBADD.
2615
2616 New in 0.22:
2617 * Bug fixes in 'clean' code.
2618 * Now generates 'installdirs' target.
2619 * man page installation reworked.
2620 * 'make dist' no longer re-creates all Makefile.in's.
2621
2622 New in 0.21:
2623 * Reimplemented in Perl
2624 * Added --amdir option (for debugging)
2625 * Texinfo support cleaned up.
2626 * Automatic de-ANSI-fication cleaned up.
2627 * Cleaned up 'clean' targets.
2628
2629 New in 0.20:
2630 * Automatic dependency tracking
2631 * More documentation
2632 * New variables DATA and PACKAGEDATA
2633 * SCRIPTS installed using $(INSTALL_SCRIPT)
2634 * No longer uses double-colon rules
2635 * Bug fixes
2636 * Changes in advance of internationalization
2637
2638 -----
2639
2640 Copyright (C) 1995-2013 Free Software Foundation, Inc.
2641
2642 This program is free software; you can redistribute it and/or modify
2643 it under the terms of the GNU General Public License as published by
2644 the Free Software Foundation; either version 2, or (at your option)
2645 any later version.
2646
2647 This program is distributed in the hope that it will be useful,
2648 but WITHOUT ANY WARRANTY; without even the implied warranty of
2649 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2650 GNU General Public License for more details.
2651
2652 You should have received a copy of the GNU General Public License
2653 along with this program.  If not, see <http://www.gnu.org/licenses/>.