tests: fix a spurious testsuite failure on Solaris
[automake.git] / NEWS
blobc59389651ccc6d17db891dbc35d502f4d79520d8
1 New in 1.12.6:
3 * WARNING: Future backward-incompatibilities!
5   - Future versions of Automake will likely drop support for the
6     long-deprecated 'configure.in' name for the Autoconf input file.
7     You are advised to use the recommended name 'configure.ac' instead.
9   - Support for the "Cygnus-style" trees (as enabled by the 'cygnus'
10     option) will be removed in the next major Automake release (1.13).
12   - The long-obsolete (since automake 1.10) AM_PROG_MKDIR m4 macro will
13     be removed in Automake 1.13.  The $(mkdir_p) make variable and the
14     @mkdir_p@ substitution will still remain available (as aliases of
15     $(MKDIR_P)) for the moment, for better backward compatibility.
17   - Autoconf 2.65 or later will be required by the next major Automake
18     version (1.13).  Until now, Automake has required Autoconf version
19     2.62 or later.
21   - Starting from the next major Automake version (1.13), the rules
22     to build pdf, ps and dvi output from Texinfo input will use the
23     '--build-dir' option by default.  Since such an option was only
24     introduced in Texinfo 4.9, this means that Makefiles generated by
25     future Automake versions will require at least that version of
26     Texinfo.
28   - Starting from the next major Automake version (1.13), the parallel
29     testsuite harness (previously only enabled by the 'parallel-tests'
30     option) will become the default one; the older serial testsuite
31     harness will still be available through the use of the 'serial-tests'
32     option.
34   - The following long-obsolete m4 macros will be removed in the
35     next major Automake version (1.13):
37       AM_PROG_CC_STDC:    superseded by AC_PROG_CC since October 2002
38       fp_PROG_CC_STDC:    broken alias for AM_PROG_CC_STDC
39       fp_WITH_DMALLOC:    old alias for AM_WITH_DMALLOC
40       AM_CONFIG_HEADER:   superseded by AC_CONFIG_HEADERS since July 2002
41       ud_PATH_LISPDIR:    old alias for AM_PATH_LISPDIR
42       jm_MAINTAINER_MODE: old alias for AM_MAINTAINER_MODE
43       ud_GNU_GETTEXT:     old alias for AM_GNU_GETTEXT
44       gm_PROG_LIBTOOL:    old alias for AC_PROG_LIBTOOL
45       fp_C_PROTOTYPES:    old alias for AM_C_PROTOTYPES (which was part
46                           of the now-removed automatic de-ANSI-fication
47                           support of Automake)
49   - All the "old alias" macros in 'm4/obsolete.m4' will be removed in
50     the next major Automake version (1.13).
52   - The '--acdir' option of aclocal is deprecated, and will probably
53     be removed in the next major Automake release (1.13).  You should
54     use the options '--automake-acdir' and '--system-acdir' instead
55     (which have been introduced in Automake 1.11.2).
57   - The 'missing' script will no longer try to update the timestamp
58     of out-of-date files that require a maintainer-specific tool to be
59     remade, in case the user lacks such a tool (or has a too-old version
60     of it).  In fact, starting from Automake 1.13, all it'll do will be
61     giving more useful warnings than a bare "command not found" from a
62     make recipe would.
64 Bugs fixed in 1.12.6:
66 * Bugs introduced in 1.12.5:
68   - The maintainer rebuild rules for Makefiles and aclocal.m4 in Automake's
69     own build system works correctly again.
71 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 New in 1.12.5:
75 * Vala support:
77   - The AM_PROG_VALAC macro has been enhanced to takes two further
78     optional arguments; it's signature now being
80         AM_PROG_VALAC([MINIMUM-VERSION], [ACTION-IF-FOUND],
81                       [ACTION-IF-NOT-FOUND])
83   - By default, AM_PROG_VALAC no longer aborts the configure invocation
84     if the Vala compiler found is too old, but simply prints a warning
85     messages (as it did when the Vala compiler was not found).  This
86     should avoid unnecessary difficulties for end users that just want
87     to compile the unmodified, distributed Vala-generated C sources,
88     but happens to have an old Vala compiler in their PATH.  This fixes
89     automake bug#12688.
91   - If no proper Vala compiler is found at configure runtime, AM_PROG_VALAC
92     will set the AC_SUBST'd variable 'VALAC' to 'valac' rather than to ':'.
93     This is a better default, because with it a triggered makefile rule
94     invoking a Vala compilation will clearly fail with an informative error
95     message like "valac: command not found", rather than silently, with
96     the error possibly going unnoticed or triggering harder-to-diagnose
97     fallout failures in later steps.
99 * Miscellaneous changes:
101   - automake and aclocal no longer honours the 'perllibdir' environment
102     variable.  That had always been intended only as an hack required in
103     the testsuite, not meant for any use beyond that.
105 Bugs fixed in 1.12.5:
107 * Long-standing bugs:
109   - Automake no longer generates spurious remake rules invoking autoheader
110     to regenerate the template corresponding to header files specified after
111     the first one in AC_CONFIG_HEADERS (automake bug#12495).
113   - When wrapping Microsoft tools, the 'compile' script falls back to
114     finding classic 'libname.a' style libraries when 'name.lib' and
115     'name.dll.lib' aren't available.
117   - Python byte-compilation supports the new layout mandated by PEP-3147,
118     with its __pycache__ directory (automake bug#8847).
120 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 New in 1.12.4:
124 * Warnings and deprecations:
126   - Warnings in the 'obsolete' category are enabled by default both in
127     automake and aclocal.
129 * Miscellaneous changes:
131   - Some testsuite weaknesses and spurious failures have been fixed.
133 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 New in 1.12.3:
137 * Miscellaneous changes:
139   - The '.m4' files provided by Automake no longer define serial numbers.
140     This should cause no difference in the behaviour of aclocal though.
142   - Some testsuite weaknesses and spurious failures have been fixed.
144   - There is initial support for automatic dependency tracking with the
145     Portland Group C/C++ compilers, thanks to the new new depmode 'pgcc'.
147 Bugs fixed in 1.12.3:
149 * Long-standing bugs:
151   - Instead of renaming only self-references of files (typically for
152     #lines), ylwrap now also renames references to the other generated
153     files.  This fixes support for GLR and C++ parsers from Bison (PR
154     automake/491 and automake bug#7648): 'parser.c' now properly
155     #includes 'parser.h' instead of 'y.tab.h'.
157   - Generated files unknown to ylwrap are now preserved.  This fixes
158     C++ support for Bison (automake bug#7648): location.hh and the
159     like are no longer discarded.
161 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 New in 1.12.2:
165 * Warnings and deprecations:
167   - Automake now issues a warning (in the 'portability' category) if
168     'configure.in' is used instead of 'configure.ac' as the Autoconf
169     input file.  Such a warning will also be present in the next
170     Autoconf version (2.70).
172 * Cleaning rules:
174   - Recursive cleaning rules descends into the $(SUBDIRS) in the natural
175     order (as done by the other recursive rules), rather than in the
176     inverse order.  They used to do that in order to work a round a
177     limitation in an older implementation of the automatic dependency
178     tracking support, but that limitation had been lifted years ago
179     already, when the automatic dependency tracking based on side-effects
180     of compilation had been introduced.
182   - Cleaning rules for compiled objects (both "plain" and libtool) work
183     better when subdir objects are involved, not triggering a distinct
184     'rm' invocation for each such object.  They do so by removing *any*
185     compiled object file that is in the same directory of a subdir
186     object.  See automake bug#10697.
188 * Silent rules support:
190   - A new predefined $(AM_V_P) make variable is provided; it expands
191     to a shell conditional that can be used in recipes to know whether
192     make is being run in silent or verbose mode.
194 Bugs fixed in 1.12.2:
196 * SECURITY VULNERABILITIES!
198   - The 'distcheck' recipe no longer grants temporary world-write
199     permissions on the extracted distdir.  Even if such rights were
200     only granted for a vanishingly small time window, the implied
201     race condition proved to be enough to allow a local attacker
202     to run arbitrary code with the privileges of the user running
203     "make distcheck".  This is CVE-2012-3386.
205 * Long-standing bugs:
207   - The "recheck" targets behaves better in the face of build failures
208     related to previously failed tests.  For example, if a test is a
209     compiled program that must be rerun by "make recheck", and its
210     compilation fails, it will still be rerun by further "make recheck"
211     invocations.  See automake bug#11791.
213 * Bugs introduced by 1.12.1:
215   - Automake provides once again the '$(mkdir_p)' make variable and the
216     '@mkdir_p@' substitution (both as simple aliases for '$(MKDIR_P)'),
217     for better backward-compatibility.
219 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 New in 1.12.1:
223 * New supported languages:
225   - Support for Objective C++ has been added; it should work similarly to
226     the support for Objective C.
228 * Deprecated obsolescent features:
230   - Use of the long-deprecated two- and three-arguments invocation forms
231     of the AM_INIT_AUTOMAKE macro now elicits a warning in the 'obsolete'
232     category.  Starting from some future major Automake release (likely
233     post-1.13), such usages will no longer be allowed.
235   - Support for the "Cygnus-style" trees (enabled by the 'cygnus' option) is
236     now deprecated (its use triggers a warning in the 'obsolete' category).
237     It will be removed in the next major Automake release (1.13).
239   - The long-obsolete (since 1.10) automake-provided $(mkdir_p) make
240     variable, @mkdir_p@ configure-time substitution and AM_PROG_MKDIR
241     m4 macro are deprecated, eliciting a warning in the 'obsolete'
242     category.
244 * Miscellaneous changes:
246   - The Automake test cases now require a proper POSIX-conforming shell.
247     Older non-POSIX Bourne shells (like Solaris 10 /bin/sh) will no longer
248     be accepted.  In most cases, the user shouldn't have to specify such
249     POSIX shell explicitly, since it will be looked up at configure time.
250     Still, when this lookup fails, or when the user wants to override its
251     conclusion, the variable 'AM_TEST_RUNNER_SHELL' can be used (pointing
252     to the shell that will be used to run the Automake test cases).
254 Bugs fixed in 1.12.1:
256 * Bugs introduced by 1.12:
258   - Several weaknesses in Automake's own build system and test suite
259     have been fixed.
261 * Bugs introduced by 1.11.3:
263   - When given non-option arguments, aclocal rejects them, instead of
264     silently ignoring them.
266 * Long-standing bugs:
268   - When the 'color-tests' option is in use, forcing of colored testsuite
269     output through "AM_COLOR_TESTS=always" works even if the terminal is
270     a non-ANSI one, i.e., if the TERM environment variable has a value of
271     "dumb".
273   - Several inefficiencies and poor performances in the implementation
274     of the parallel-tests 'check' and 'recheck' targets have been fixed.
276   - The post-processing of output "#line" directives done the ylwrap
277     script is more faithful w.r.t. files in a subdirectory; for example,
278     if the processed file is "src/grammar.y", ylwrap will correctly
279     produce directives like:
280         #line 7 "src/grammar.y"
281     rather than like
282         #line 7 "grammar.y"
283     as it did before.
285 * Bugs with new Perl versions:
287   - Aclocal works correctly with perl 5.16.0 (automake bug#11543).
289 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 New in 1.12:
293 * Obsolete features removed:
295   - The never documented nor truly used script 'acinstall' has been
296     removed.
298   - Support for automatic de-ANSI-fication has been removed.
300   - The support for the "obscure" multilib feature has been removed
301     from Automake core (but remains available in the 'contrib/'
302     directory of the Automake distribution).
304   - Support for ".log -> .html" conversion and the check-html and
305     recheck-html targets has been removed from Automake core (but
306     remains available in the 'contrib/' directory of the Automake
307     distribution).
309   - The deprecated 'lzma' compression format for distribution archives
310     has been removed, in favor of 'xz' and 'lzip'.
312   - The obsolete AM_WITH_REGEX macro has been removed.
314   - The long-deprecated options '--output-dir', '--Werror' and
315     '--Wno-error' have been removed.
317   - The chapter on the history of Automake has been moved out of the
318     reference manual, into a new dedicated Texinfo file.
320 * New targets:
322   - New 'cscope' target to build a cscope database for the source tree.
324 * Changes to Automake-generated testsuite harnesses:
326   - The new automake option 'serial-tests' has been introduced.  It can
327     be used to explicitly instruct automake to use the older serial
328     testsuite harness.  This is still the default at the moment, but it
329     might change in future versions.
331   - The 'recheck' target (provided by the parallel testsuite harness) now
332     depends on the 'all' target.  This allows for a better user-experience
333     in test-driven development.  See automake bug#11252.
335   - Test scripts that exit with status 99 to signal an "hard error" (e.g.,
336     and unexpected or internal error, or a failure to set up the test case
337     scenario) have their outcome reported as an 'ERROR' now.  Previous
338     versions of automake reported such an outcome as a 'FAIL' (the only
339     difference with normal failures being that hard errors were counted
340     as failures even when the test originating them was listed in
341     XFAIL_TESTS).
343   - The testsuite summary displayed by the parallel-test harness has a
344     completely new format, that always list the numbers of passed, failed,
345     xfailed, xpassed, skipped and errored tests, even when these numbers
346     are zero (but using smart coloring when the color-tests option is in
347     effect).
349   - The default testsuite driver offered by the 'parallel-tests' option is
350     now implemented (partly at least) with the help of automake-provided
351     auxiliary scripts (e.g., 'test-driver'), instead of relying entirely
352     on code in the generated Makefile.in.
353     This has two noteworthy implications.  The first one is that projects
354     using the 'parallel-tests' option should now either run automake with
355     the '--add-missing' option, or manually copy the 'test-driver' script
356     into their tree.  The second, and more important, implication is that
357     now, when the 'parallel-tests' option is in use, TESTS_ENVIRONMENT can
358     no longer be used to define a test runner, and the command specified
359     in LOG_COMPILER (and <ext>_LOG_COMPILER) must be a *real* executable
360     program or script.  For example, this is still a valid usage (albeit
361     a little contorted):
363       TESTS_ENVIRONMENT = \
364         if test -n '$(STRICT_TESTS)'; then \
365           maybe_errexit='-e'; \
366         else \
367           maybe_errexit=''; \
368         fi;
369       LOG_COMPILER = $(SHELL) $$maybe_errexit
371     OTOH, this is no longer a valid usage:
373       TESTS_ENVIRONMENT = \
374         $(SHELL) `test -n '$(STRICT_TESTS_CHECKING)' && echo ' -e'`
376     neither is this:
378       TESTS_ENVIRONMENT = \
379         run_with_perl_or_shell () \
380         { \
381           if grep -q '^#!.*perl' $$1; then
382             $(PERL) $$1; \
383           else \
384             $(SHELL) $$1; \
385           fi; \
386         }
387       LOG_COMPILER = run_with_perl_or_shell
389   - The package authors can now use customary testsuite drivers within
390     the framework provided by the 'parallel-tests' testsuite harness.
391     Consistently with the existing syntax, this can be done by defining
392     special makefile variables 'LOG_DRIVER' and '<ext>_LOG_DRIVER'.
394   - A new developer-reserved variable 'AM_TESTS_FD_REDIRECT' can be used
395     to redirect/define file descriptors used by the test scripts.
397   - The parallel-tests harness generates now, in addition the '.log' files
398     holding the output produced by the test scripts, a new set of '.trs'
399     files, holding "metadata" derived by the execution of the test scripts;
400     among such metadata are the outcomes of the test cases run by a script.
402   - Initial and still experimental support for the TAP test protocol is
403     now provided.
405 * Changes to Yacc and Lex support:
407   - C source and header files derived from non-distributed Yacc and/or
408     Lex sources are now removed by a simple "make clean" (while they were
409     previously removed only by "make maintainer-clean").
411   - Slightly backward-incompatible change, relevant only for use of Yacc
412     with C++: the extensions of the header files produced by the Yacc
413     rules are now modelled after the extension of the corresponding
414     sources.  For example, yacc files named "foo.y++" and "bar.yy" will
415     produce header files named "foo.h++" and "bar.hh" respectively, where
416     they would have previously produced header files named simply "foo.h"
417     and "bar.h".  This change offers better compatibility with 'bison -o'.
419 * Miscellaneous changes:
421   - The AM_PROG_VALAC macro now causes configure to exit with status 77,
422     rather than 1, if the vala compiler found is too old.
424   - The build system of Automake itself now avoids the use of make
425     recursion as much as possible.
427   - Automake now prefers to quote 'like this' or "like this", rather
428     than `like this', in diagnostic message and generated Makefiles,
429     to accommodate the new GNU Coding Standards recommendations.
431   - Automake has a new option '--print-libdir' that prints the path of the
432     directory containing the Automake-provided scripts and data files.
434   - The 'dist' and 'dist-all' targets now can run compressors in parallel.
436   - The rules to create pdf, dvi and ps output from Texinfo files now
437     works better with modern 'texi2dvi' script, by explicitly passing
438     it the '--clean' option to ensure stray auxiliary files are not
439     left to clutter the build directory.
441   - Automake can now generate silenced rules for texinfo outputs.
443   - Some auxiliary files that are automatically distributed by Automake
444     (e.g., 'install-sh', or the 'depcomp' script for packages compiling
445     C sources) might now be listed in the DIST_COMMON variable in many
446     Makefile.in files, rather than in the top-level one.
448   - Messages of types warning or error from 'automake' and 'aclocal'
449     are now prefixed with the respective type, and presence of -Werror
450     is noted.
452   - Automake's early configure-time sanity check now tries to avoid
453     sleeping for a second, which slowed down cached configure runs
454     noticeably.  In that case, it will check back at the end of the
455     configure script to ensure that at least one second has passed, to
456     avoid time stamp issues with makefile rules rerunning autotools
457     programs.
459   - The warnings in the category 'extra-portability' are now enabled by
460     '-Wall'.  In previous versions, one has to use '-Wextra-portability'
461     to enable them.
463 Bugs fixed in 1.12:
465   - Various minor bugfixes for recent or long-standing bugs.
467 * Bugs introduced by 1.11:
469   - The AM_COND_IF macro also works if the shell expression for the
470     conditional is no longer valid for the condition.
472   - The automake-provided parallel testsuite harness no longer fails
473     with BSD make used in parallel mode when there are test scripts in
474     a subdirectory, like in:
476       TESTS = sub/foo.test sub/bar.test
478 * Long-standing bugs:
480   - Automake's own build system finally have a real "installcheck" target.
482   - Vala-related cleanup rules are now more complete, and work better in
483     a VPATH setup.
485   - Files listed with the AC_REQUIRE_AUX_FILE macro in configure.ac are
486     now automatically distributed also if the directory of the auxiliary
487     files coincides with the top-level directory.
489   - Automake now detects the presence of the '-d' flag in the various
490     '*YFLAGS' variables even when their definitions involve indirections
491     through other variables, such as in:
492       foo_opts = -d
493       AM_YFLAGS = $(foo_opts)
495   - Automake now complains if a '*YFLAGS' variable has any conditional
496     content, not only a conditional definition.
498   - Explicit enabling and/or disabling of Automake warning categories
499     through the '-W...' options now always takes precedence over the
500     implicit warning level implied by Automake strictness (foreign, gnu
501     or gnits), regardless of the order in which such strictness and
502     warning flags appear.  For example, a setting like:
503       AUTOMAKE_OPTIONS = -Wall --foreign
504     will cause the warnings in category 'portability' to be enabled, even
505     if those warnings are by default disabled in 'foreign' strictness.
507 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
509 Bugs fixed in 1.11.5:
511 * Bugs introduced by 1.11.3:
513   - Vala files with '.vapi' extension are now recognized and handled
514     correctly again.  See automake bug#11222.
516   - Vala support work again for projects that contain some program
517     built from '.vala' (and possibly '.c') sources and some other
518     program built from '.c' sources *only*.  See automake bug#11229.
520 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
522 New in 1.11.4:
524 * Miscellaneous changes:
526   - The 'ar-lib' script now ignores the "s" (symbol index) and "S" (no
527     symbol index) modifiers as well as the "s" action, as the symbol index
528     is created unconditionally by Microsoft lib.  Also, the "q" (quick)
529     action is now a synonym for "r" (replace).  Also, the script has been
530     ignoring the "v" (verbose) modifier already since Automake 1.11.3.
532   - When the 'compile' script is used to wrap MSVC, it now accepts an
533     optional space between the -I, -L and -l options and their respective
534     arguments, for better POSIX compliance.
536   - There is an initial, experimental support for automatic dependency
537     tracking with tcc (the Tiny C Compiler).  Its associated depmode is
538     currently recognized as "icc" (but this and other details are likely
539     to change in future versions).
541   - Automatic dependency tracking now works also with the IBM XL C/C++
542     compilers, thanks to the new new depmode 'xlc'.
544 Bugs fixed in 1.11.4:
546 * Bugs introduced by 1.11.2:
548   - A definition of 'noinst_PYTHON' before 'python_PYTHON' (or similar)
549     no longer cause spurious failures upon "make install".
551   - The user can now instruct the 'uninstall-info' rule not to update
552     the '${infodir}/dir' file by exporting the environment variable
553     'AM_UPDATE_INFO_DIR' to the value "no".  This is done for consistency
554     with how the 'install-info' rule operates since automake 1.11.2.
556 * Long-standing bugs:
558   - It is now possible for a foo_SOURCES variable to hold Vala sources
559     together with C header files, as well as with sources and headers for
560     other supported languages (e.g., C++).  Previously, only mixing C and
561     Vala sources was supported.
563   - If "aclocal --install" is used, and the first directory specified with
564     '-I' is non-existent, aclocal will now create it before trying to copy
565     files in it.
567   - An empty declaration of a "foo_PRIMARY" no longer cause the generated
568     install rules to create an empty $(foodir) directory; for example, if
569     Makefile.am contains something like:
571       pkglibexec_SCRIPTS =
572       if FALSE
573       pkglibexec_SCRIPTS += bar.sh
574       endif
576     the $(pkglibexec) directory will not be created upon "make install".
578 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
580 New in 1.11.3:
582 * Miscellaneous changes:
584   - Automake's own build system is more silent by default, making use of
585     the 'silent-rules' option.
587   - The master copy of the 'gnupload' script is now maintained in gnulib,
588     not in automake.
590   - The 'missing' script no longer tries to wrap calls to 'tar'.
592   - "make dist" no longer wraps 'tar' invocations with the 'missing'
593     script.  Similarly, the obsolescent variable '$(AMTAR)' (which you
594     shouldn't be using BTW ;-) no longer invokes the 'missing' script
595     to wrap tar, but simply invokes the 'tar' program itself.
597   - "make dist" can now create lzip-compressed tarballs.
599   - In the Automake info documentation, the Top node and the nodes about
600     the invocation of the automake and aclocal programs have been renamed;
601     now, calling "info automake" will open the Top node, while calling
602     "info automake-invocation" and "info aclocal-invocation" will access
603     the nodes about the invocation of respectively automake and aclocal.
605   - Automake is now distributed as a gzip-compressed and an xz-compressed
606     tarball.  Previously, bzip2 was used instead of xz.
608   - The last relics of Python 1.5 support have been removed from the
609     AM_PATH_PYTHON macro.
611   - For programs and libraries, automake now detects EXTRA_foo_DEPENDENCIES
612     and adds them to the normal list of dependencies, but without
613     overwriting the foo_DEPENDENCIES variable, which is normally computed
614     by automake.
616 Bugs fixed in 1.11.3:
618 * Bugs introduced by 1.11.2:
620   - Automake now correctly recognizes the prefix/primary combination
621    'pkglibexec_SCRIPTS' as valid.
623   - The parallel-tests harness no longer trips on sed implementations
624     with stricter limits on the length of input lines (problem seen at
625     least on Solaris 8).
627 * Long-standing bugs:
629   - The "deleted header file problem" for *.am files is avoided by stub
630     rules.  This allows 'make' to trigger a rerun of 'automake' also if
631     some previously needed '.am' file has been removed.
633   - The 'silent-rules' option now generates working makefiles even
634     for the uncommon 'make' implementations that do not support the
635     nested-variables extension to POSIX 2008.  For such 'make'
636     implementations, whether a build is silent is determined at
637     configure time, and cannot be overridden at make time with
638     "make V=0" or "make V=1".
640   - Vala support now works better in VPATH setups.
642 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
644 New in 1.11.2:
646 * Changes to aclocal:
648   - The `--acdir' option is deprecated.  Now you should use the new options
649     `--automake-acdir' and `--system-acdir' instead.
651   - The `ACLOCAL_PATH' environment variable is now interpreted as a
652     colon-separated list of additional directories to search after the
653     automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION)
654     and before the system acdir (by default ${prefix}/share/aclocal).
656 * Miscellaneous changes:
658   - The Automake support for automatic de-ANSI-fication has been
659     deprecated.  It will probably be removed in the next major Automake
660     release (1.12).
662   - The `lzma' compression scheme and associated automake option `dist-lzma'
663     is obsoleted by `xz' and `dist-xz' due to upstream changes.
665   - You may adjust the compression options used in dist-xz and dist-bzip2.
666     The default is now merely -e for xz, but still -9 for bzip;  you may
667     specify a different level via the XZ_OPT and BZIP2 envvars respectively.
668     E.g., "make dist-xz XZ_OPT=-7" or "make dist-bzip2 BZIP2=-5"
670   - The `compile' script now converts some options for MSVC for a better
671     user experience.  Similarly, the new `ar-lib' script wraps Microsoft lib.
673   - The py-compile script now accepts empty arguments passed to the options
674     `--destdir' and `--basedir', and complains about unrecognized options.
675     Moreover, a non-option argument or a special `--' argument terminates
676     the list of options.
678   - A developer that needs to pass specific flags to configure at "make
679     distcheck" time can now, and indeed is advised to, do so by defining
680     the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS,
681     instead of the old DISTCHECK_CONFIGURE_FLAGS.
682     The DISTCHECK_CONFIGURE_FLAGS variable should now be reserved for the
683     user; still, the old Makefile.am files that used to define it will
684     still continue to work as before.
686   - New macro AM_PROG_AR that looks for an archiver and wraps it in the new
687     'ar-lib' auxiliary script if the selected archiver is Microsoft lib.
688     This new macro is required for LIBRARIES and LTLIBRARIES when automake
689     is run with -Wextra-portability and -Werror.
691   - When using DejaGnu-based testsuites, the user can extend the `site.exp'
692     file generated by automake-provided rules by defining the special make
693     variable `$(EXTRA_DEJAGNU_SITE_CONFIG)'.
695   - The `install-info' rule can now be instructed not to create/update
696     the `${infodir}/dir' file, by exporting the new environment variable
697     `AM_UPDATE_INFO_DIR' to the value "no".
699 Bugs fixed in 1.11.2:
701 * Bugs introduced by 1.11:
703   - The parallel-tests driver no longer produces erroneous results with
704     Tru64/OSF 5.1 sh upon unreadable log files.
706   - The `parallel-tests' test driver does not report spurious successes
707     when used with concurrent FreeBSD make (e.g., "make check -j3").
709   - When the parallel-tests driver is in use, automake now explicitly
710     rejects invalid entries and conditional contents in TEST_EXTENSIONS,
711     instead of issuing confusing and apparently unrelated error messages
712     (e.g., "non-POSIX variable name", "bad characters in variable name",
713     or "redefinition of TEST_EXTENSIONS), or even, in some situations,
714     silently producing broken `Makefile.in' files.
716   - The `silent-rules' option now truly silences all compile rules, even
717     when dependency tracking is disabled.  Also, when `silent-rules' is
718     not used, `make' output no longer contains spurious backslash-only
719     lines, thus once again matching what Automake did before 1.11.
721   - The AM_COND_IF macro also works if the shell expression for the
722     conditional is no longer valid for the condition.
724 * Long-standing bugs:
726   - The order of Yacc and Lex flags is fixed to be consistent with other
727     languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
728     $(LFLAGS), so that the user variables override the developer variables.
730   - "make distcheck" now correctly complains also when "make uninstall"
731     leaves one and only one file installed in $(prefix).
733   - A "make uninstall" issued before a "make install", or after a mere
734     "make install-data" or a mere "make install-exec" does not spuriously
735     fail anymore.
737   - Automake now warns about more primary/directory invalid combinations,
738     such as "doc_LIBRARIES" or "pkglib_PROGRAMS".
740   - Rules generated by Automake now try harder to not change any files when
741     `make -n' is invoked.  Fixes include compilation of Emacs Lisp, Vala, or
742     Yacc source files and the rule to update config.h.
744   - Several scripts and the parallel-tests testsuite driver now exit with
745     the right exit status upon receiving a signal.
747   - A per-Makefile.am setting of -Werror does not erroneously carry over
748     to the handling of other Makefile.am files.
750   - The code for automatic dependency tracking works around a Solaris
751     make bug triggered by sources containing repeated slashes when the
752     `subdir-objects' option was used.
754   - The makedepend and hp depmodes now work better with VPATH builds.
756   - Java sources specified with check_JAVA are no longer compiled for
757     "make all", but only for "make check".
759   - An usage like "java_JAVA = foo.java" will now cause Automake to warn
760     and error out if `javadir' is undefined, instead of silently producing
761     a broken Makefile.in.
763   - aclocal and automake now honour the configure-time definitions of
764     AUTOCONF and AUTOM4TE when they spawn autoconf or autom4te processes.
766   - The `install-info' recipe no longer tries to guess whether the
767     `install-info' program is from Debian or from GNU, and adaptively
768     change its behaviour; this has proven to be frail and easy to
769     regress.
771 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
773 Bugs fixed in 1.11.1:
775   - Lots of minor bugfixes.
777 * Bugs introduced by 1.11:
779   - The `parallel-tests' test driver works around a GNU make 3.80 bug with
780     trailing white space in the test list (`TESTS = foo $(EMPTY)').
782 * Long standing bugs:
784   - On Darwin 9, `pythondir' and `pyexecdir' pointed below `/Library/Python'
785     even if the `--prefix' argument pointed outside of a system directory.
786     AM_PATH_PYTHON has been fixed to ignore the value returned from python's
787     `get_python_lib' function if it points outside the configured prefix,
788     unless the `--prefix' argument was either `/usr' or below `/System'.
790   - The testsuite does not try to change the mode of `ltmain.sh' files from
791     a Libtool installation (symlinked to test directories) any more.
793   - AM_PROG_GCJ uses AC_CHECK_TOOLS to look for `gcj' now, so that prefixed
794     tools are preferred in a cross-compile setup.
796   - The distribution is tarred up with mode 755 now by the `dist*' targets.
797     This fixes a race condition where untrusted users could modify files
798     in the $(PACKAGE)-$(VERSION) distdir before packing if the toplevel
799     build directory was world-searchable.  This is CVE-2009-4029.
801 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
803 New in 1.11:
805 * Version requirements:
807   - Autoconf 2.62 or greater is required.
809 * Changes to aclocal:
811   - The autoconf version check implemented by aclocal in aclocal.m4
812     (and new in Automake 1.10) is degraded to a warning.  This helps
813     in the common case where the Autoconf versions used are compatible.
815 * Changes to automake:
817   - The automake program can run multiple threads for creating most
818     Makefile.in files concurrently, if at least Perl 5.7.2 is available
819     with interpreter-based threads enabled.  Set the environment variable
820     AUTOMAKE_JOBS to the maximum number of threads to use, in order to
821     enable this experimental feature.
823 * Changes to Libtool support:
825   - Libtool generic flags are now passed to the install and uninstall
826     modes as well.
828   - distcheck works with Libtool 2.x even when LT_OUTPUT is used, as
829     config.lt is removed correctly now.
831 * Languages changes:
833   - subdir-object mode works now with Fortran (F77, FC, preprocessed
834     Fortran, and Ratfor).
836   - For files with extension .f90, .f95, .f03, or .f08, the flag
837     $(FCFLAGS_f[09]x) computed by AC_FC_SRCEXT is now used in compile rules.
839   - Files with extension .sx are also treated as preprocessed assembler.
841   - The default source file extension (.c) can be overridden with
842     AM_DEFAULT_SOURCE_EXT now.
844   - Python 3.0 is supported now, Python releases prior to 2.0 are no
845     longer supported.
847   - AM_PATH_PYTHON honors python's idea about the site directory.
849   - There is initial support for the Vala programming language, when using
850     Vala 0.7.0 or later.
852 * Miscellaneous changes:
854   - Automake development is done in a git repository on Savannah now, see
856       http://git.sv.gnu.org/gitweb/?p=automake.git
858     A read-only CVS mirror is provided at
860       cvs -d :pserver:anonymous@pserver.git.sv.gnu.org:/automake.git \
861           checkout -d automake HEAD
863   - "make dist" can now create xz-compressed tarballs,
864     as well as (deprecated?) lzma-compressed tarballs.
866   - `automake --add-missing' will by default install the GPLv3 file as
867     COPYING if it is missing.  It will also warn that the license file
868     should be added to source control.  Note that Automake will never
869     overwrite an existing COPYING file, even when the `--force-missing'
870     option is used.
872   - The manual is now distributed under the terms of the GNU FDL 1.3.
874   - Automake ships and installs man pages for automake and aclocal now.
876   - New shorthand `$(pkglibexecdir)' for `$(libexecdir)/@PACKAGE@'.
878   - install-sh supports -C, which does not update the installed file
879     (and its time stamps) if the contents did not change.
881   - The `gnupload' script has been revamped.
883   - The `depcomp' and `compile' scripts now work with MSVC under MSYS.
885   - The targets `install' and `uninstall' are more efficient now, in that
886     for example multiple files from one Automake variable such as
887     `bin_SCRIPTS' are copied in one `install' (or `libtool --mode=install')
888     invocation if they do not have to be renamed.
890     Both install and uninstall may sometimes enter (`cd' into) the target
891     installation directory now, when no build-local scripts are used.
893     Both install and uninstall do not fail anymore but do nothing if an
894     installation directory variable like `bindir' is set to the empty string.
896     For built-in rules, `make install' now fails reliably if installation
897     of a file failed.  Conversely, `make uninstall' even succeeds when
898     issued multiple times.
900     These changes may need some adjustments from users:  For example,
901     some `install' programs refuse to install multiple copies of the
902     same file in one invocation, so you may need to remove duplicate
903     entries from file lists.
905     Also, within one set of files, say, nobase_data_DATA, the order of
906     installation may be changed, or even unstable among different hosts,
907     due to the use of associative arrays in awk.  The increased use of
908     awk matches a similar move in Autoconf to provide for better scaling.
910     Further, most undocumented per-rule install command variables such as
911     binSCRIPT_INSTALL have been removed because they are not needed any
912     more.  Packages which use them should be using the appropriate one of
913     INSTALL_{DATA,PROGRAM,SCRIPT} or their install_sh_{DATA,PROGRAM,SCRIPT}
914     counterpart, depending on the type of files and the need for automatic
915     target directory creation.
917   - The "deleted header file problem" for *.m4 files is avoided by
918     stub rules.  This allows `make' to trigger a rerun of `aclocal'
919     also if some previously needed macro file has been removed.
921   - Rebuild rules now also work for a removed `subdir/Makefile.in' in
922     an otherwise up to date tree.
924   - The `color-tests' option causes colored test result output on terminals.
926   - The `parallel-tests' option enables a new test driver that allows for
927     parallel test execution, inter-test dependencies, lazy test execution
928     for unit-testing, re-testing only failed tests, and formatted result output
929     as RST (reStructuredText) and HTML.  Enabling this option may require some
930     changes to your test suite setup; see the manual for details.
932   - The `silent-rules' option enables Linux kernel-style silent build output.
933     This option requires the widely supported but non-POSIX `make' feature
934     of recursive variable expansion, so do not use it if your package needs
935     to build with `make' implementations that do not support it.
937     To enable less verbose build output, the developer has to use the Automake
938     option `silent-rules' in `AM_INIT_AUTOMAKE', or call the `AM_SILENT_RULES'
939     macro.  The user may then set the default verbosity by passing the
940     `--enable-silent-rules' option to `configure'.  At `make' run time, this
941     default may be overridden using `make V=0' for less verbose, and `make V=1'
942     for backward-compatible verbose output.
944   - New prefix `notrans_' for manpages which should not be transformed
945     by --program-transform.
947   - New macro AM_COND_IF for conditional evaluation and conditional
948     config files.
950   - For AC_CONFIG_LINKS, if source and destination are equal, do not
951     remove the file in a non-VPATH build.  Such setups work with Autoconf
952     2.62 or newer.
954   - AM_MAINTAINER_MODE now allows for an optional argument specifying
955     the default setting.
957   - AM_SUBST_NOTMAKE may prevent substitution of AC_SUBSTed variables,
958     useful especially for multi-line values.
960   - Automake's early configure-time sanity check now diagnoses an
961     unsafe absolute source directory name and makes configure fail.
963   - The Automake macros and rules cope better with whitespace in the
964     current directory name, as long as the relative path to `configure'
965     does not contain whitespace.  To this end, the values of `$(MISSING)'
966     and `$(install_sh)' may contain suitable quoting, and their expansion
967     might need `eval'uation if used outside of a makefile.  These
968     undocumented variables may be used in several documented macros such
969     as $(AUTOCONF) or $(MAKEINFO).
971 Bugs fixed in 1.11:
973 * Long-standing bugs:
975   - Fix aix dependency tracking for libtool objects.
977   - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to
978     unnecessary use of the `compile' script.
980   - For nobase_*_LTLIBRARIES with nonempty directory components, the
981     correct `-rpath' argument is used now.
983   - `config.status --file=Makefile depfiles' now also works with the
984     extra quoting used internally by Autoconf 2.62 and newer
985     (it used to work only without the `--file=' bit).
987   - The `missing' script works better with versioned tool names.
989   - Semantics for `missing help2man' have been revamped:
991     Previously, if `help2man' was not present, `missing help2man' would have
992     the following semantics: if some man page was out of date but present, then
993     a warning would be printed, but the exit status was 0.  If the man page was
994     not present at all, then `missing' would create a replacement man page
995     containing an error message, and exit with a status of 2.  This does not play
996     well with `make': the next run will see this particular man page as being up
997     to date, and will only error out on the next generated man page, if any;
998     repeat until all pages are done.  This was not desirable.
1000     These are the new semantics: if some man page is not present, and help2man
1001     is not either, then `missing' will warn and generate the replacement page
1002     containing the error message, but exit successfully.  However, `make dist'
1003     will ensure that no such bogus man pages are packaged into a tarball.
1005   - Targets provided by automake behave better with `make -n', in that they
1006     take care not to create files.
1008   - `config.status Makefile... depfiles' works fine again in the presence of
1009     disabled dependency tracking.
1011   - The default no-op recursive rules for these targets also work with BSD make
1012     now: html, install-html, install-dvi, install-pdf, install-pdf, install-info.
1014   - `make distcheck' works also when both a directory and some file below it
1015     have been added to a distribution variable, such as EXTRA_DIST or *_SOURCES.
1017   - Texinfo dvi, ps, pdf, and html output files are not removed upon
1018     `make mostlyclean' any more; only the LaTeX by-products are.
1020   - Renamed objects also work with the `subdir-objects' option and
1021     source file languages which Automake does not know itself.
1023   - `automake' now correctly complains about variable assignments which are
1024     preceded by a comment, extend over multiple lines with backslash-escaped
1025     newlines, and end in a comment sign.  Previous versions would silently
1026     and wrongly ignore such assignments completely.
1028 * Bugs introduced by 1.10:
1030   - Fix output of dummy dependency files in presence of post-processed
1031     Makefile.in's again, but also cope with long lines.
1033   - $(EXEEXT) is automatically appended to filenames of XFAIL_TESTS
1034     that have been declared as programs in the same Makefile.
1035     This is for consistency with the analogous change to TESTS in 1.10.
1037   - Fix order of standard includes to again be `-I. -I$(srcdir)',
1038     followed by directories containing config headers.
1040 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1042 New in 1.10:
1044 * Version requirements:
1046   - Autoconf 2.60 or greater is required.
1048   - Perl 5.6 or greater is required.
1050 * Changes to aclocal:
1052   - aclocal now also supports -Wmumble and -Wno-mumble options.
1054   - `dirlist' entries (for the aclocal search path) may use shell
1055     wildcards such as `*', `?', or `[...]'.
1057   - aclocal supports an --install option that will cause system-wide
1058     third-party macros to be installed in the local directory
1059     specified with the first -I flag.  This option also uses #serial
1060     lines in M4 files to upgrade local macros.
1062     The new aclocal options --dry-run and --diff help to review changes
1063     before they are installed.
1065   - aclocal now outputs an autoconf version check in aclocal.m4 in
1066     projects using automake.
1068     For a few years, automake and aclocal have been calling autoconf
1069     (or its underlying engine autom4te) to accurately retrieve the
1070     data they need from configure.ac and its siblings.  Doing so can
1071     only work if all autotools use the same version of autoconf.  For
1072     instance a Makefile.in generated by automake for one version of
1073     autoconf may stop working if configure is regenerated with another
1074     version of autoconf, and vice versa.
1076     This new version check ensures that the whole build system has
1077     been generated using the same autoconf version.
1079 * Support for new Autoconf macros:
1081   - The new AC_REQUIRE_AUX_FILE Autoconf macro is supported.
1083   - If `subdir-objects' is set, and AC_CONFIG_LIBOBJ_DIR is specified,
1084     $(LIBOBJS), $(LTLIBOBJS), $(ALLOCA), and $(LTALLOCA) can be used
1085     in different directories.  However, only one instance of such a
1086     library objects directory is supported.
1088 * Change to Libtool support:
1090   - Libtool generic flags (those that go before the --mode=MODE option)
1091     can be specified using AM_LIBTOOLFLAGS and target_LIBTOOLFLAGS.
1093 * Yacc and Lex changes:
1095   - The rebuild rules for distributed Yacc and Lex output will avoid
1096     overwriting existing files if AM_MAINTAINER_MODE and maintainer-mode
1097     is not enabled.
1099   - ylwrap is now always used for lex and yacc source files,
1100     regardless of whether there is more than one source per directory.
1102 * Languages changes:
1104   - Preprocessed assembler (*.S) compilation now honors CPPFLAGS,
1105     AM_CPPFLAGS and per-target _CPPFLAGS, and supports dependency
1106     tracking, unlike non-preprocessed assembler (*.s).
1108   - subdir-object mode works now with Assembler.  Automake assumes
1109     that the compiler understands `-c -o'.
1111   - Preprocessed assembler (*.S) compilation now also honors
1112     $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES).
1114   - Improved support for Objective C:
1115     - Autoconf's new AC_PROG_OBJC will enable automatic dependency tracking.
1116     - A new section of the manual documents the support.
1118   - New support for Unified Parallel C:
1119     - AM_PROG_UPC looks for a UPC compiler.
1120     - A new section of the manual documents the support.
1122   - Per-target flags are now correctly handled in link rules.
1124     For instance maude_CFLAGS correctly overrides AM_CFLAGS; likewise
1125     for maude_LDFLAGS and AM_LDFLAGS.  Previous versions bogusly
1126     preferred AM_CFLAGS over maude_CFLAGS while linking, and they
1127     used both AM_LDFLAGS and maude_LDFLAGS on the same link command.
1129     The fix for compiler flags (i.e., using maude_CFLAGS instead of
1130     AM_CFLAGS) should not hurt any package since that is how _CFLAGS
1131     is expected to work (and actually works during compilation).
1133     However using maude_LDFLAGS "instead of" AM_LDFLAGS rather than
1134     "in addition to" breaks backward compatibility with older versions.
1135     If your package used both variables, as in
1137       AM_LDFLAGS = common flags
1138       bin_PROGRAMS = a b c
1139       a_LDFLAGS = more flags
1140       ...
1142     and assumed *_LDFLAGS would sum up, you should rewrite it as
1144       AM_LDFLAGS = common flags
1145       bin_PROGRAMS = a b c
1146       a_LDFLAGS = $(AM_LDFLAGS) more flags
1147       ...
1149     This new behavior of *_LDFLAGS is more coherent with other
1150     per-target variables, and the way *_LDFLAGS variables were
1151     considered internally.
1153 * New installation targets:
1155   - New targets mandated by GNU Coding Standards:
1156       install-dvi
1157       install-html
1158       install-ps
1159       install-pdf
1160     By default they will only install Texinfo manuals.
1161     You can customize them with *-local variants:
1162       install-dvi-local
1163       install-html-local
1164       install-ps-local
1165       install-pdf-local
1167   - The undocumented recursive target `uninstall-info' no longer exists.
1168     (`uninstall' is in charge of removing all possible documentation
1169     flavors, including optional formats such as dvi, ps, or info even
1170     when `no-installinfo' is used.)
1172 * Miscellaneous changes:
1174   - Automake no longer complains if input files for AC_CONFIG_FILES
1175     are specified using shell variables.
1177   - clean, distribution, or rebuild rules are normally disabled for
1178     inputs and outputs of AC_CONFIG_FILES, AC_CONFIG_HEADERS, and
1179     AC_CONFIG_LINK specified using shell variables.  However, if these
1180     variables are used as ${VAR}, and AC_SUBSTed, then Automake will
1181     be able to output rules anyway.
1182     (See the Automake documentation for AC_CONFIG_FILES.)
1184   - $(EXEEXT) is automatically appended to filenames of TESTS
1185     that have been declared as programs in the same Makefile.
1186     This is mostly useful when some check_PROGRAMS are listed in TESTS.
1188   - `-Wportability' has finally been turned on by default for `gnu' and
1189     `gnits' strictness.  This means, automake will complain about %-rules
1190     or $(GNU Make functions) unless you switch to `foreign' strictness or
1191     use `-Wno-portability'.
1193   - Automake now uses AC_PROG_MKDIR_P (new in Autoconf 2.60), and uses
1194     $(MKDIR_P) instead of $(mkdir_p) to create directories.  The
1195     $(mkdir_p) variable is still defined (to the same value as
1196     $(MKDIR_P)) but should be considered obsolete.  If you are using
1197     $(mkdir_p) in some of your rules, please plan to update them to
1198     $(MKDIR_P) at some point.
1200   - AM_C_PROTOTYPES and ansi2knr are now documented as being obsolete.
1201     They still work in this release, but may be withdrawn in a future one.
1203   - Inline compilation rules for gcc3-style dependency tracking are
1204     more readable.
1206   - Automake installs a "Hello World!" example package in $(docdir).
1207     This example is used throughout the new "Autotools Introduction"
1208     chapter of the manual.
1210 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1212 New in 1.9:
1214 * Makefile.in bloat reduction:
1216   - Inference rules are used to compile sources in subdirectories when
1217     the `subdir-objects' option is used and no per-target flags are
1218     used.  This should reduce the size of some projects a lot, because
1219     Automake used to output an explicit rule for each such object in
1220     the past.
1222   - Automake no longer outputs three rules (.o, .obj, .lo) for each
1223     object that must be built with explicit rules.  It just outputs
1224     the rules required to build the kind of object considered: either
1225     the two .o and .obj rules for usual objects, or the .lo rule for
1226     libtool objects.
1228 * Change to Libtool support:
1230   - Libtool tags are used with libtool versions that support them.
1231     (I.e., with Libtool 1.5 or greater.)
1233   - Automake is now able to handle setups where a libtool library is
1234     conditionally installed in different directories, as in
1236       if COND
1237         lib_LTLIBRARIES = liba.la
1238       else
1239         pkglib_LTLIBRARIES = liba.la
1240       endif
1241       liba_la_SOURCES = ...
1243 * Changes to aclocal:
1245   - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
1246     really evaluated, before it decides to include them in aclocal.m4.
1247     This solves nasty problems with conditional redefinitions of
1248     Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
1249     *.m4 files to be included in any project using these macros.
1250     (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
1251     most famous instance of this bug.)
1253   - Do not complain about missing conditionally AC_REQUIREd macros
1254     that are not actually used.  In 1.8.x aclocal would correctly
1255     determine which of these macros were really needed (and include
1256     only these in the package); unfortunately it would also require
1257     all of them to be present in order to run.  This created
1258     situations were aclocal would not work on a tarball distributing
1259     all the macros it uses.  For instance running aclocal on a project
1260     containing only the subset of the Gettext macros in use by the
1261     project did not work, because gettext conditionally requires other
1262     macros.
1264 * Portability improvements:
1266   - Tar format can be chosen with the new options tar-v7, tar-ustar, and
1267     tar-pax.  The new option filename-length-max=99 helps diagnosing
1268     filenames that are too long for tar-v7.  (PR/414)
1270   - Variables aumented with `+=' are now automatically flattened (i.e.,
1271     trailing backslashes removed) and then wrapped around 80 colummns
1272     (adding trailing backslashes).  In previous versions, a long series
1273     of
1274       VAR += value1
1275       VAR += value2
1276       VAR += value3
1277       ...
1278     would result in a single-line definition of VAR that could possibly
1279     exceed the maximum line length of some make implementations.
1281     Non-augmented variables are still output as they are defined in
1282     the Makefile.am.
1284 * Miscellaneous:
1286   - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
1287     Works the same as the old Fortran 77 implementation; just replace
1288     F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
1289     Requires a version of autoconf which provides AC_PROG_FC (>=2.59).
1291   - Support for conditional _LISP.
1293   - Support for conditional -hook and -local rules (PR/428).
1295   - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)
1297   - Automake will not write any Makefile.ins after the first error it
1298     encounters.  The previous Makefile.ins (if any) will be left in
1299     place.  (Warnings will not prevent output, but remember they can
1300     be turned into errors with -Werror.)
1302   - The restriction that SUBDIRS must contain direct children is gone.
1303     Do not abuse.
1305   - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
1306     It also gives an example of nested packages using AC_CONFIG_SUBDIRS.
1308 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1310 Bugs fixed in 1.8.5:
1312 * Long-standing bugs:
1314   - Define DIST_SUBDIRS even when the `no-dist' or `cygnus' options are used
1315     so that `make distclean' and `make maintainer-clean' can work.
1317   - Define AR and ARFLAGS even when only EXTRA_LIBRARIES are defined.
1319   - Fix many rules to please FreeBSD make, which runs commands with `sh -e'.
1321   - Polish diagnostic when no input file is found.
1323 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1325 Bugs fixed in 1.8.4:
1327 * Long-standing bugs:
1329   - Fix AM_PATH_PYTHON to correctly display $PYTHON when it has been
1330     overridden by the user.
1332   - Honor PATH_SEPARATOR in various places of the Automake package, for
1333     the sake of OS/2.
1335   - Adjust dependency tracking mode detection to ICC 8.0's new output.
1336     (PR/416)
1338   - Fix install-sh so it can install the `mv' binary... using `mv'.
1340   - Fix tru64 dependency tracking for libtool objects.
1342   - Work around Exuberant Ctags when creating a TAGS files in a directory
1343     without files to scan but with subdirectories to include.
1345 * Bugs introduced by 1.8:
1347   - Fix an "internal error" when @LIBOBJS@ is used in a variable that is
1348     not defined in the same conditions as the _LDADD that uses it.
1350   - Do not warn when JAVAROOT is overridden, this is legitimate.
1352 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1354 Bugs fixed in 1.8.3:
1356 * Long-standing bugs:
1358   - Quote filenames in installation rules, in case $DESTDIR, $prefix,
1359     or any of the other *dir variables contain a space.
1361     Please note that Automake does not and cannot support spaces in
1362     filenames that are involved during the build.  This change affects
1363     only installation paths, so that `make install' does not bomb out
1364     in packages configured with
1365       ./configure --prefix '/c/Program Files'
1367   - Fix the depfiles output so it works with GNU sed (<4.1) even when
1368     POSIXLY_CORRECT is set.
1370   - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX.  This macro was unusable
1371     since Autoconf 2.54, which defines LIBOBJS itself.
1373   - Fix a potential (but unlikely) race condition in parallel elisp
1374     builds.  (Introduced in 1.7.3.)
1376   - Do not assume that users override _DEPENDENCIES in all conditions
1377     where Automake will try to define them.
1379   - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
1380     Solaris 8's `mkdir -p' is not thread-safe and can break parallel
1381     builds.
1383     This fix also affects the $(mkdir_p) variable defined since
1384     Automake 1.8.  It will be set to `mkdir -p' only if mkdir is GNU
1385     mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
1387   - Secure temporary directory creation in `make distcheck'. (PR/413)
1389   - Do not generate two build rules for `parser.h' when the
1390     parser appears in two different conditionals.
1392   - Work around a Solaris 8 /bin/sh bug in the test for dependency
1393     checking.  Usually ./configure will not pick this shell; so this
1394     fix only helps cases where the shell is forced to /bin/sh.
1396 * Bugs introduced by 1.8:
1398   - In some situations (hand-written `m4_include's), aclocal would
1399     call the `File::Spec->rel2abs' method, which was only introduced
1400     in Perl 5.6.  This new version reestablish support Perl 5.005.
1402     It is likely that the next major Automake releases will require at
1403     least Perl 5.6.  Consider upgrading your development environment
1404     if you are still using the five-year-old Perl 5.005.
1406   - Automake would sometimes fail to define rules for targets listed
1407     in variables defined in multiple conditions.  For instance on
1408       if C1
1409         bin_PROGRAMS = a
1410       else
1411         bin_PROGRAMS = b
1412       endif
1413     it would define only the `a.$(OBJEXT): a.c' rule and omit the
1414     `b.$(OBJEXT): b.c' rule.
1416 * New sections in manual:
1418   - Third-Party Makefiles: how to interface third party Makefiles.
1419   - Upgrading: upgrading packages to newer Automake versions.
1420   - Multiple Outputs: handling tools that produce many outputs.
1422 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1424 Bug fixed in 1.8.2:
1426 * A (well known) portability bug slipped in the changes made to
1427   install-sh in Automake 1.8.1.  The broken install-sh would refuse to
1428   install anything on Tru64.
1430 * Fix install rules for conditionally built python files.  (This never
1431   really worked.)
1433 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1435 Bug fixed in 1.8.1:
1437 * Bugs introduced by 1.8:
1439   - Fix Config.pm import error with old Perl versions (at least
1440     5.005_03).  One symptom is that aclocal could not find its macro
1441     directory.
1443   - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
1444     created by `make install' are always world readable, even if the
1445     installer happens to have an overly restrictive umask (e.g. 077).
1446     This was a mistake and has been reverted.  There are at least two
1447     reasons why we must not use `-m 0755':
1448       - it causes special bits like SGID to be ignored,
1449       - it may be too restrictive (some setups expect 775 directories).
1451   - Fix aclocal to honor definitions located in files which have been
1452     m4_included manually.  aclocal 1.8 had been updated to check
1453     m4_included files for new requirements, but forgot that these
1454     m4_included files can also provide new definitions.
1456     Note that if you have such a setup, we recommend you get rid of
1457     it.  In the past, there was a reason to m4_include files manually:
1458     aclocal used to duplicate entire M4 files into aclocal.m4, even
1459     files that were distributed.  Some packages were therefore
1460     m4_including the distributed file directly, and playing some
1461     tricks to ensure aclocal would not copy that file to aclocal.m4,
1462     in order to limit the amount of duplication.  Since aclocal 1.8.x
1463     will precisely output m4_includes for local M4 files, we recommend
1464     that you clean up your setup, removing all manual m4_includes and
1465     letting aclocal output them.
1467   - Output detailed menus in the Info version if the Automake manual,
1468     so that Emacs can locate the indexes.
1470   - configure.ac and configure were listed twice in DIST_COMMON (an
1471     internal variable where Automake lists configury files to
1472     distribute).  This was harmless, but unaesthetic.
1474   - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
1475     This was an issue only in the Automake package itself, not in
1476     its output.
1478   - Automake assumed that all AC_CONFIG_LINKS arguments had the form
1479     DEST:SRC.  This was wrong, as some packages do
1480     AC_CONFIG_LINKS($computedlinks).  This version no longer abort in
1481     that situation.
1483   - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
1484     argument.  This caused two kinds of failures:
1485       - Rules installing data in a conditionally defined directory
1486         failed when that directory was undefined.  In this case no
1487         argument was supplied.
1488       - `make installdirs' failed, because several directories were
1489         passed to $(mkdir_p).  This was an issue only on platform
1490         were $(mkdir_p) is implemented with `install-sh -d'.
1491     $(mkdir_p) as been changed to accept 0 or more arguments, as
1492     mkinstalldirs did.
1494 * Long-standing bugs:
1496   - Fix an unexpected diagnostic occurring when users attempt
1497     to override some internal variables that Automake appends to.
1499   - aclocal now scans configure.ac for macro definitions (PR/319).
1501   - Fix a portability issue with OSF1/Tru64 Make.  If a directory
1502     distributes files which are outside itself (this usually occurs
1503     when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
1504     from a parent package), then `make distcheck' fails due to an
1505     optimization performed by OSF1/Tru64 Make in its VPATH handling.
1506     (tests/subpkg2.test failure)
1508   - Fix another portability issue with Sun and OSF1/Tru64 Make.
1509     In a VPATH-build configuration, `make install' would install
1510     nobase_ files to wrong locations.
1512   - Fix a Perl `uninitialized value' diagnostic occurring when
1513     automake complains that a Texinfo file does not have a
1514     @setfilename statement.
1516   - Erase config.status.lineno during `make distclean'.  This file
1517     can be created by config.status.  Automake already knew about
1518     configure.lineno, but forgot config.status.lineno.
1520   - Distribute all files, even those which are built and installed
1521     conditionally.  This change affects files listed in conditionally
1522     defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
1523     as well as those listed in conditionally defined dist_*_DATA,
1524     dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
1526   - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
1527     doesn't conform to POSIX.
1529   - Normalize help strings for configure variables and options added
1530     by Automake macros.
1532 * Anticipation:
1534   - Check for python2.4 in AM_PATH_PYTHON.
1536 * Spurious failures in test suite:
1538   - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
1539     tests/ltconv.test: fix failures with CVS Libtool.
1540   - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
1541   - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
1542     fix failures with old Texinfo versions.
1544 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1546 New in 1.8:
1548 * Meta-News
1550   - The NEWS file is more verbose.
1552 * Requirements
1554   - Autoconf 2.58 or greater is required.
1556 * New features
1558   - Default source file names in the absence of a _SOURCES declaration
1559     are made by removing any target extension before appending `.c', so
1560     to make the libtool module `foo.la' from `foo.c', you only need to
1561     do this:
1563         lib_LTLIBRARIES = foo.la
1564         foo_la_LDFLAGS  = -module
1566     For backward compatibility, foo_la.c will be used instead of
1567     foo.c if this file exists or is the explicit target of a rule.
1568     However -Wobsolete will warn about this deprecated naming.
1570   - AR's `cru' flags are now set in a global ARFLAGS variable instead
1571     of being hard-coded in each $(AR) invocation, so they can be
1572     substituted from configure.ac.  This has been requested by people
1573     dealing with non-POSIX ar implementations.
1575   - New warning option: -Woverride.  This will warn about any user
1576     target or variable definitions which override Automake
1577     definitions.
1579   - Texinfo rules back up and restore info files when makeinfo fails.
1581   - Texinfo rules now support the `html' target.
1582     Running this requires Texinfo 4.0 or greater.
1584     `html' is a new recursive target, so if your package mixes
1585     hand-crafted `Makefile.in's with Automake-generated
1586     `Makefile.in's, you should adjust the former to support (or
1587     ignore) this target so that `make html' recurses successfully.  If
1588     you had a custom `html' rule in your `Makefile.am', it's better to
1589     rename it as `html-local', otherwise your rule will override
1590     Automake's new rule (you can check that by running `automake
1591     -Woverride') and that will stop the recursion to subdirectories.
1593     Last but not least, this `html' rule is declared PHONY, even when
1594     overridden.  Fortunately, it appears that few packages use a
1595     non-PHONY `html' rule.
1597   - Any file which is m4_included from configure.ac will appear as a
1598     configure and Makefile.in dependency, and will be automatically
1599     distributed.
1601   - The rules for rebuilding Makefiles and Makefile.ins will now
1602     rebuild all Makefiles and all Makefile.ins at once when one of
1603     configure's dependencies has changed.  This is considerably faster
1604     than previous implementations, where config.status and automake
1605     were run separately in each directory (this still happens when you
1606     change a Makefile.am locally, without touching configure.ac or
1607     friends).  Doing this also solves a longstanding issue: these
1608     rebuild rules failed to work when adding new directories to the
1609     tree, forcing you to run automake manually.
1611   - For similar reasons, the rules to rebuild configure,
1612     config.status, and aclocal.m4 are now defined in all directories.
1613     Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
1614     CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
1615     should better define them in all directories.  This is easily done
1616     using an AC_SUBST (make sure you prefix these dependencies with
1617     $(top_srcdir) since this variable will appear at different
1618     levels of the build tree).
1620   - aclocal will now use `m4_include' instead of copying local m4
1621     files into aclocal.m4.  (Local m4 files are those you ship with
1622     your project, other files will be copied as usual.)
1624     Because m4_included files are automatically distributed, it means
1625     for most projects there is no point in EXTRA_DISTing the list of
1626     m4 files which are used.  (You can probably get rid of
1627     m4/Makefile.am if you had one.)
1629   - aclocal will avoid touching aclocal.m4 when possible, so that
1630     Autom4te's cache isn't needlessly invalidated.  This behavior can
1631     be switched off with the new `--force' option.
1633   - aclocal now uses Autoconf's --trace to detect macros which are
1634     actually used and will no longer include unused macros simply
1635     because they where mentioned.  This was often the case for macros
1636     called conditionally.
1638   - New options no-dist and no-dist-gzip.
1640   - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
1641     py-compile, and ylwrap, now all understand --version and --help.
1643   - Automake will now recognize AC_CONFIG_LINKS so far as removing created
1644     links as part of the distclean target and including source files in
1645     distributions.
1647   - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
1648     argument.  The latter can be used to override the default behavior
1649     (which is to abort).
1651   - Automake will exit with $? = 63 on version mismatch.  (So does
1652     Autoconf 2.58)  missing knows this, and in this case it will
1653     emulate the tools as if they were absent.  Because older versions
1654     of Automake and Autoconf did not use this exit code, this change
1655     will only be useful in projects generated with future versions of
1656     these tools.
1658   - When using AC_CONFIG_FILES with multiple input files, Automake
1659     generates the first ".in" input file for which a ".am" exists.
1660     (Former versions would try to use only the first input file.)
1662   - lisp_DATA is now allowed.  If you are using the empty ELCFILES
1663     idiom to disable byte-compilation of lisp_LISP files, it is
1664     recommended that you switch to using lisp_DATA.  Note that
1665     this is not strictly equivalent: lisp_DATA will install elisp
1666     files even if emacs is not installed, while *_LISP do not
1667     install anything unless emacs is found.
1669   - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
1670     available.  This selection is achieved through the Makefile
1671     variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
1672     `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
1673     `$(install_sh) -m 0755 -d'.
1675 * Obsolete features
1677   - Because `mkdir -p' is available on most platforms, and we can use
1678     `install-sh -d' when it is not, the use of the mkinstalldirs
1679     script is being phased out.  `automake --add-missing' no longer
1680     installs it, and if you remove mkinstalldirs from your package,
1681     automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
1683     Gettext 0.12.1 still requires mkinstalldirs.  Fortunately
1684     gettextize and autopoint will install it when needed.  Automake
1685     will continue to define the $(mkinstalldirs) and to distribute
1686     mkinstalldirs when this script is in the source tree.
1688   - AM_PROG_CC_STDC is now empty.  The content of this macro was
1689     merged in AC_PROG_CC.  If your code uses $am_cv_prog_cc_stdc, you
1690     should adjust it to use $ac_cv_prog_cc_stdc instead.  (This
1691     renaming should be safe, even if you have to support several,
1692     versions of Automake, because AC_PROG_CC defines this variable
1693     since Autoconf 2.54.)
1695   - Some users where using the undocumented ACLOCAL_M4_SOURCES
1696     variable to override the aclocal.m4 dependencies computed
1697     (inaccurately) by older versions of Automake.  Because Automake
1698     now tracks configure's m4 dependencies accurately (see m4_include
1699     above), the use of ACLOCAL_M4_SOURCES should be considered
1700     obsolete and will be flagged as such when running `automake
1701     -Wobsolete'.
1703 * Bug fixes
1705   - Defining programs conditionally using Automake conditionals no
1706     longer leads to a combinatorial explosion.  The following
1707     construct used to be troublesome when used with dozens of
1708     conditions.
1710       bin_PROGRAMS = a
1711       if COND1
1712         bin_PROGRAMS += a1
1713       endif
1714       if COND2
1715         bin_PROGRAMS += a2
1716       endif
1717       if COND3
1718         bin_PROGRAMS += a3
1719       endif
1720       ...
1722     Likewise for _SOURCES, _LDADD, and _LIBADD variables.
1724   - Due to implementation constraints, previous versions of Automake
1725     proscribed multiple conditional definitions of some variables
1726     like bin_PROGRAMS:
1728       if COND1
1729         bin_PROGRAMS = a1
1730       endif
1731       if COND2
1732         bin_PROGRAMS = a2
1733       endif
1735     All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
1736     This restriction has been lifted, and these variables now
1737     support multiple conditional definitions as do other variables.
1739   - Cleanup the definitions of $(distdir) and $(top_distdir).
1740     $(top_distdir) now points to the root of the distribution
1741     directory created during `make dist', as it did in Automake 1.4,
1742     not to the root of the build tree as it did in intervening
1743     versions.  Furthermore these two variables are now only defined in
1744     the top level Makefile, and passed to sub-directories when running
1745     `make dist'.
1747   - The --no-force option now correctly checks the Makefile.in's
1748     dependencies before deciding not to update it.
1750   - Do not assume that make files are called Makefile in cleaning rules.
1752   - Update .info files in the source tree, not in the build tree.  This
1753     is what the GNU Coding Standard recommend.  Only Automake 1.7.x
1754     used to update these files in the build tree (previous versions did
1755     it in the source tree too), and it caused several problems, varying
1756     from mere annoyance to portability issues.
1758   - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
1759     when --add-missing and --force-missing are used.  For backward
1760     compatibility --add-missing will continue to install COPYING (in
1761     `gnu' strictness) when none of these three files exist, but this
1762     use is deprecated: you should better choose a license yourself and
1763     install it once for all in your source tree (and in your code
1764     management system).
1766   - Fix ylwrap so that it does not overwrite header files that haven't
1767     changed, as the inline rule already does.
1769   - User-defined rules override automake-defined rules for the same
1770     targets, even when rules do not have commands.  This is not new
1771     (and was documented), however some of the automake-generated
1772     rules have escaped this principle in former Automake versions.
1773     Rules for the following targets are affected by this fix:
1775        clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
1776        info, info-am, install-data-am, install-exec-am, install-info,
1777        install-info-am, install-man, installcheck-am, maintainer-clean,
1778        maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
1779        ps, ps-am, uninstall-am, uninstall-info, uninstall-man
1781     Practically it means that an attempt to supplement the dependencies
1782     of some target, as in
1784        clean: my-clean-rule
1786     will now *silently override* the automake definition of the
1787     rule for this target.  Running `automake -Woverride' will diagnose
1788     all such overriding definitions.
1790     It should be noted that almost all of these targets support a *-local
1791     variant that is meant to supplement the automake-defined rule
1792     (See node `Extending' in the manual).  The above rule should
1793     be rewritten as
1795       clean-local: my-clean-rule
1797     These *-local targets have been documented since at least
1798     Automake 1.2, so you should not fear the change if you have
1799     to support multiple automake versions.
1801 * Miscellaneous
1803   - The Automake manual is now distributed under the terms of the GNU FDL.
1805   - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
1807   - core dumps are no longer removed by the cleaning rules.  There are
1808     at least three reasons for this:
1809       1. These files should not be created by any build step,
1810          so their removal do not fit any of the cleaning rules.
1811          Actually, they may be precious to the developer.
1812       2. If such file is created during a build, then it's clearly a
1813          bug Automake should not hide.  Not removing the file will
1814          cause `make distcheck' to complain about its presence.
1815       3. Operating systems have different naming conventions for
1816          core dump files.  A core file on one system might be a
1817          completely legitimate data file on another system.
1819   - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
1820     defined by Automake.  This means that any definition in the
1821     environment will be used, unless overridden in the Makefile.am or
1822     on the command line.  The old behavior, where these variables were
1823     defined empty in each Makefile, can be obtained by AC_SUBSTing or
1824     AC_ARG_VARing each variable from configure.ac.
1826   - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
1827     documented.  (The is not a new feature, these variables have
1828     been there since at least Automake 1.4.)
1830 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1832 Bugs fixed in 1.7.9:
1833 * Fix install-strip to work with nobase_ binaries.
1834 * Fix renaming of #line directives in ylwrap.
1835 * Rebuild with Autoconf 2.59.  (1.7.8 was not installable with pdksh.)
1837 Bugs fixed in 1.7.8:
1838 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
1839 * Fix detection of Debian's install-info, broken since version 1.5.
1840   (Debian bug #213524).
1841 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
1842   This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
1844 Bugs fixed in 1.7.7:
1845 * The implementation of automake's --no-force option is unreliable,
1846   so this option is ignored in this version.  A real fix will appear in
1847   Automake 1.8.  (Debian Bug #206299)
1848 * AM_PATH_PYTHON: really check the whole list of interpreters if no
1849   argument is given.  (PR/399)
1850 * Do not warn about leading `_' in variable names, even with -Wportability.
1851 * Support user redefinitions of TEXINFO_TEX.
1852 * depcomp: support AIX Compiler version 6.
1853 * Fix missing rebuilds during `make dist' with BSD make.
1854   (Could produce tarballs containing out-of-date files.)
1855 * Resurrect multilib support.
1856 * Noteworthy manual updates:
1857   - Extending aclocal: how to write m4 macros that won't trigger warnings
1858     with Automake 1.8.
1859   - A Shared Library: Rewrite and split into subsections.
1861 Bugs fixed in 1.7.6:
1862 * Fix depcomp's icc mode for ICC 7.1.
1863 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
1864 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
1865 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
1866 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
1867 * Remove Latin-1 characters from elisp-comp.
1868 * Update the manual's @dircategory to match the Free Software Directory.
1870 Bugs fixed in 1.7.5:
1871 * Update install-sh's license to remove an advertising clause.
1872   (Debian bug #191717)
1873 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
1874   that caused invalid Makefile.ins to be generated.
1875 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
1876 * New FAQ entry: renamed objects.
1878 Bugs fixed in 1.7.4:
1879 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
1880   the Emacs implementation)
1881 * Fix output of aclocal.m4 dependencies in subdirectories.
1882 * Use `mv -f' instead of `mv' in fastdep rules.
1883 * Upgrade mdate-sh to work on OS/2.
1884 * Don't byte-compile elisp files when ELCFILES is set empty.
1885   (this documented feature was broken by 1.7.3)
1886 * Diagnose trailing backslashes on last line of Makefile.am.
1887 * Diagnose whitespace following trailing backslashes.
1888 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
1889 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
1890   Makefiles. (PR/389)
1891 * `make install' will build `BUILT_SOURCES' first.
1892 * Minor documentation fixes.
1894 Bugs fixed in 1.7.3:
1895 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
1896 * Query distutils for `pythondir' and `pythonexecdir', instead of
1897   using an hardcoded path.  This should allow builds on 64-bit
1898   distributions that usually use lib64/ instead of lib/.
1899 * AM_PATH_PYTHON will also search for python2.3.
1900 * elisp files are now built all at once instead of one by one. Besides
1901   incurring a speed-up, this is required to support interdependent elisp files.
1902 * Support for DJGPP:
1903   - `make distcheck' will now work in `_inst/' and `_build' instead
1904     of `=inst/' and `=build/'
1905   - use `_dirstamp' when the file-system doesn't support `.dirstamp'
1906   - install/uninstall `*.i[0-9][0-9]'-style info files
1907   - more changes that affect only the Automake package (not its output)
1908 * Fix some incompatibilities with upcoming perl-5.10.
1909 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
1910   PACKAGE and VERSION.
1911 * depcomp fixes:
1912   - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
1913     is troublesome with gcc and Solaris compilers. (PR/385)
1914   - makedepend mode: work with Libtool. (PR/385 too)
1915   - support for ICC.
1916 * better support for unusual gettext setups, such as multiple po/ directories
1917   (PR/381):
1918   - Flag missing po/ and intl/ directories as warnings, not errors.
1919   - Disable these warnings if po/ does not exist.
1920 * Noteworthy manual updates:
1921   - New FAQ chapter.
1922   - Document how AC_CONFIG_AUX_DIR interacts with missing files.
1923     (Debian Bug #39542)
1924   - Document `AM_YFLAGS = -d'.  (PR/382)
1926 Bugs fixed in 1.7.2:
1927 * Fix installation and uninstallation of Info files built in subdirectories.
1928 * Do not run `./configure --with-included-gettext' during `make distcheck'
1929   if AM_GNU_GETTEXT([external]) is used.
1930 * Correctly uninstall renamed man pages.
1931 * Do not strip escaped newline in variables defined in one condition
1932   and augmented in another condition.
1933 * Fix ansi2knr rules for LIBOBJS sources.
1934 * Clean all known Texinfo index files, not only those which appear to
1935   be used, because we cannot know which indexes are used in included files.
1936   (PR/375, Debian Bug #168671)
1937 * Honor only the first @setfilename seen in a Texinfo file.
1938 * Treat "required file X not found" diagnostics as errors (exit status 1).
1939 * Don't complain that a required file is not found when it is a Makefile
1940   target. (PR/357)
1941 * Don't use single suffix inference rules when building `.info'-less
1942   Info files, for the sake of Solaris make.
1943 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
1944 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
1945 * Warn about multiple inference rules when -Wportability is used. (PR/372)
1946 * Fix building of deansified files from subdirectories. (PR/370)
1947 * Add missing `fi' in the .c->.obj rules.
1948 * Improve install-sh to work even when names contain spaces or certain
1949   (but not all) shell metachars.
1950 * Fix the following spurious failures in the test suite:
1951   depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
1952 * Noteworthy manual updates:
1953   - Augment the section about BUILT_SOURCES.
1954   - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
1956 Bugs fixed in 1.7.1:
1957 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
1958   flags.
1959 * Aclocal should now recognize macro names containing parentheses, e.g.
1960   AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
1961 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
1962   (Debian Bug#153697)
1963 * Install Python files even if they were built.  (PR/369)
1964 * Have stamp-vti dependent upon configure instead of configure.ac, as the
1965   version might not be defined in the latter. (PR/358)
1966 * Reorder arguments passed to a couple of commands, so things works
1967   when POSIXLY_CORRECT=1.
1968 * Fix a regex that can cause Perl to segfault on large input.
1969   (Debian Bug#162583)
1970 * Fix distribution of packages that have some sources defined conditionally,
1971   as in the `Conditional compilation using Automake conditionals' example
1972   of the manual.
1973 * Fix spurious test suite failures on IRIX.
1974 * Don't report a required variable as undefined if it has been
1975   defined conditionally for the "right" conditions.
1976 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
1977   `make distcheck' fails.
1978 * Fix distribution of included Makefile fragment, so we don't create
1979   spurious directories in the distribution. (PR/366)
1980 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
1982 New in 1.7:
1983 * Autoconf 2.54 is required.
1984 * `aclocal' and `automake' will no longer warn about obsolete
1985   configure macros.  This is done by `autoconf -Wobsolete'.
1986 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
1987   AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
1988   supported).  You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
1989   and AC_HEADER_TIOCGWINSZ instead.  `autoupdate' can upgrade
1990   `configure.ac' for you.
1991 * Support for per-program and per-library `_CPPFLAGS'.
1992 * New `ctags' target (builds CTAGS files).
1993 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
1994   (see `automake --help' or the manual for a list of them).
1995 * Honor the WARNINGS environment variable.
1996 * Omit the call to depcomp when using gcc3: call the compiler directly.
1997 * A new option, std-options, tests that programs support --help and --version
1998   when `make installcheck' is run.  This is enabled by --gnits.
1999 * Texinfo rules now support the `ps' and `pdf' targets.
2000 * Info files are now created in the build directory, not the source directory.
2001 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
2002   or greater).
2003 * `make distcheck' will enforce DESTDIR support by attempting
2004   a DESTDIR install.
2005 * `+=' can be used in conditionals, even if the augmented variable
2006   was defined for another condition.
2007 * Makefile fragments (inserted with `include') are always distributed.
2008 * Use Autoconf's --trace interface to inspect configure.ac and get
2009   a more accurate view of it.
2010 * Add support for extending aclocal's default macro search path
2011   using a `dirlist' file within the aclocal directory.
2012 * automake --output-dir is deprecated.
2013 * The part of the distcheck target that checks whether uninstall actually
2014   removes all installed files has been moved in a separate target,
2015   distuninstallcheck, so it can be overridden easily.
2016 * Many bug fixes.
2018 New in 1.6.3:
2019 * Support for AM_INIT_GETTEXT([external])
2020 * Bug fixes, including:
2021   - Fix Automake's own `make install' so it works even if `ln' doesn't.
2022   - nobase_ programs and scripts honor --program-transform correctly.
2023   - Erase configure.lineno during `make distclean'.
2024   - Erase YACC and LEX outputs during `make maintainer-clean'.
2026 New in 1.6.2:
2027 * Many bug fixes, including:
2028   - Requiring the current version works.
2029   - Fix "$@" portability issues (for Zsh).
2030   - Fix output of dummy dependency files in presence of post-processed
2031     Makefile.in's.
2032   - Don't compute dependencies in background to avoid races with libtool.
2033   - Fix handling of _OBJECTS variables for targets sharing source variables.
2034   - Check dependency mode for Java when AM_PROG_GCJ is used.
2036 New in 1.6.1:
2037 * automake --output-dir is deprecated
2038 * Many bug fixes, including:
2039   - Don't choke on AM_LDFLAGS definitions.
2040   - Clean libtool objects from subdirectories.
2041   - Allow configure variables with reserved suffix and unknown prefix
2042     (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
2043   - Fix the definition of AUTOMAKE and ACLOCAL in configure.
2045 New in 1.6:
2046 * Autoconf 2.52 is required.
2047 * automake no longer run libtoolize.
2048   This is the job of autoreconf (from GNU Autoconf).
2049 * `dist' generates all the archive flavors, as did `dist-all'.
2050 * `dist-gzip' generates the Gzip tar file only.
2051 * Combining Automake Makefile conditionals no longer lead to a combinatorial
2052   explosion.  Makefile.in's keep a reasonable size.
2053 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
2054   are no longer shipped, since Autoconf 2.52 provides them (both as AM_
2055   and AC_).
2056 * `#line' of Lex and Yacc files are properly set.
2057 * EXTRA_DIST can contain generated directories.
2058 * Support for dot-less extensions in suffix rules.
2059 * The part of the distcheck target that checks whether distclean actually
2060   cleans all built files has been moved in a separate target, distcleancheck,
2061   so it can be overridden easily.
2062 * `make distcheck' will pass additional options defined in
2063   $(DISTCHECK_CONFIGURE_FLAGS) to configure.
2064 * Fixed CDPATH portability problems, in particular for MacOS X.
2065 * Fixed handling of nobase_ targets.
2066 * Fixed support of implicit rules leading to .lo objects.
2067 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
2068 * Added uninstall-hook target
2069 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
2070   You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
2071   (Note that "pkgname" is not "tarname", see the manual for details.)
2072   It is also possible to pass a list of global Automake options as
2073   first argument to this new form of AM_INIT_AUTOMAKE.
2074 * Compiler-based assembler is now called `CCAS'; people expected `AS'
2075   to be a real assembler.
2076 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it.  Adding
2077   AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
2078 * aclocal and automake are also installed with the version number
2079   appended, and some of the install directory names have changed.
2080   This lets you have multiple versions installed simultaneously.
2081 * Support for parsers and lexers in subdirectories.
2083 New in 1.5:
2084 * Support for `configure.ac'.
2085 * Support for `else COND', `endif COND' and negated conditions `!COND'.
2086 * `make dist-all' is much faster.
2087 * Allows '@' AC_SUBSTs in macro names.
2088 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
2089 * User-side dependency tracking.  Developers no longer need GNU make
2090 * Python support
2091 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
2092 * Most files are correctly handled if they appear in subdirs
2093   For instance, a _DATA file can appear in a subdir
2094 * GNU tar is no longer required for `make dist'
2095 * Added support for `dist_' and `nodist_' prefixes
2096 * Added support for `nobase_' prefix
2097 * Compiled Java support
2098 * Support for per-executable and per-library compilation flags
2099 * Many bug fixes
2101 New in 1.4:
2102 * Added support for the Fortran 77 programming language.
2103 * Re-indexed the Automake Texinfo manual.
2104 * Added `AM_FOOFLAGS' variable for each compiler invocation;
2105   e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
2106 * Support for latest autoconf, including support for objext
2107 * Can now put `.' in SUBDIRS to control build order
2108 * `include' command and `+=' support for macro assignment
2109 * Dependency tracking no long susceptible to deleted header file problem
2110 * Maintainer mode now a conditional.  @MAINT@ is now an anachronism.
2111 * Bug fixes
2113 New in 1.3:
2114 * Bug fixes
2115 * Better Cygwin32 support
2116 * Support for suffix rules with _SOURCES variables
2117 * New options `readme-alpha' and `check-news'; Gnits mode sets these
2118 * @LEXLIB@ no longer required when lex source seen
2119   Lex support in `missing', and new lex macro.  Update your missing script.
2120 * Built-in support for assembly
2121 * aclocal gives error if `AM_' macro not found
2122 * Passed YFLAGS, not YACCFLAGS, to yacc
2123 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
2124 * Dependencies computed as a side effect of compilation
2125 * Preliminary support for Java
2126 * DESTDIR support at "make install" time
2127 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
2129 New in 1.2:
2130 * Bug fixes
2131 * Better DejaGnu support
2132 * Added no-installinfo option
2133 * Added Emacs Lisp support
2134 * Added --no-force option
2135 * Included `aclocal' program
2136 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
2137 * Now uses `AM_' macro names everywhere
2138 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
2139   ansi2knr now works correctly on K&R sources
2140 * Better C++, yacc, lex support
2141 * Will compute _DEPENDENCIES variables automatically if not supplied
2142 * Will interpolate $(...) and ${...} when examining contents of a variable
2143 * .deps files now in build directory, not source directory; dependency
2144   handling generally rewritten
2145 * DATA, MANS and BUILT_SOURCES no longer included in distribution
2146 * can now put config.h into a subdir
2147 * Added dist-all target
2148 * Support for install-info program (see texinfo 3.9)
2149 * Support for "yacc -d"
2150 * configure substitutions are automatically discovered and included
2151   in generated Makefile.in
2152 * Special --cygnus mode
2153 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
2154   when making distribution.  Some dependencies are auto-ignored.
2155 * Changed how libraries are specified in _LIBRARIES variable
2156 * Full libtool support, from Gord Matzigkeit
2157 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
2158   AM_CONFIG_HEADER handles it automatically
2159 * Texinfo output files no longer need .info extension
2160 * Added `missing' support
2161 * Cygwin32 support
2162 * Conditionals in Makefile.am, from Ian Taylor
2164 New in 1.0:
2165 * Bug fixes
2166 * distcheck target runs install and installcheck targets
2167 * Added preliminary support for DejaGnu.
2169 New in 0.33:
2170 * More bug fixes
2171 * More checking
2172 * More libtool fixes from Gord Matzigkeit; libtool support is still
2173   preliminary however
2174 * Added support for jm_MAINTAINER_MODE
2175 * dist-zip support
2176 * New "distcheck" target
2178 New in 0.32:
2179 * Many bug fixes
2180 * mkinstalldirs and mdate-sh now appear in directory specified by
2181   AC_CONFIG_AUX_DIR.
2182 * Removed DIST_SUBDIRS, DIST_OTHER
2183 * AC_ARG_PROGRAM only required when an actual program exists
2184 * dist-hook target now run before distribution packaged up; idea from
2185   Dieter Baron.  Other hooks exist, too.
2186 * Preliminary (unfinished) support for libtool
2187 * Added short option names.
2188 * Better "dist" support when gluing together multiple packages
2190 New in 0.31:
2191 * Bug fixes
2192 * Documentation updates (many from François Pinard)
2193 * strictness `normal' now renamed to `foreign'
2194 * Renamed --install-missing to --add-missing
2195 * Now handles AC_CONFIG_AUX_DIR
2196 * Now handles TESTS macro
2197 * DIST_OTHER renamed to EXTRA_DIST
2198 * DIST_SUBDIRS is deprecated
2199 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
2200 * Better error messages in many cases
2201 * Program names are canonicalized
2202 * Added "check" prefix; from Gord Matzigkeit
2204 New in 0.30:
2205 * Bug fixes
2206 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
2207 * Beginnings of a test suite
2208 * Automatically adds -I options for $(srcdir), ".", and path to config.h
2209 * Doesn't print anything when running
2210 * Beginnings of MAINT_CHARSET support
2211 * Can specify version in AUTOMAKE_OPTIONS
2212 * Most errors recognizable by Emacs' M-x next-error
2213 * Added --verbose option
2214 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
2215   configure-generated names
2216 * Required macros now distributed in aclocal.m4
2217 * New documentation
2218 * --strictness=gnu is default
2220 New in 0.29:
2221 * Many bug fixes
2222 * More sophisticated configure.in scanning; now understands ALLOCA and
2223   LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
2224 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
2225 * CONFIG_HEADER variable now obsolete
2226 * Can handle multiple Texinfo sources
2227 * Allow hierarchies deeper than 2.  From Gord Matzigkeit.
2228 * HEADERS variable no longer needed; now can put .h files directly into
2229   foo_SOURCES variable.
2230 * Automake automatically rebuilds files listed in AC_OUTPUT.  The
2231   corresponding ".in" files are included in the distribution.
2233 New in 0.28:
2234 * Added --gnu and --gnits options
2235 * More standards checking
2236 * Bug fixes
2237 * Cleaned up 'dist' targets
2238 * Added AUTOMAKE_OPTIONS variable and several options
2239 * Now scans configure.in to get some information (preliminary)
2241 New in 0.27:
2242 * Works with Perl 4 again
2244 New in 0.26:
2245 * Added --install-missing option.
2246 * Pretty-prints generated macros and rules
2247 * Comments in Makefile.am are placed more intelligently in Makefile.in
2248 * Generates .PHONY target
2249 * Rule or macro in Makefile.am now overrides contents of Automake file
2250 * Substantial cleanups from François Pinard
2252 New in 0.25:
2253 * Bug fixes.
2254 * Works with Perl 4 again.
2256 New in 0.24:
2257 * New uniform naming scheme.
2258 * --strictness option
2259 * Works with Perl 5
2260 * '.c' files corresponding to '.y' or '.l' files are automatically
2261   distributed.
2262 * Many bug fixes and cleanups
2264 New in 0.23:
2265 * Allow objects to be conditionally included in libraries via lib_LIBADD.
2267 New in 0.22:
2268 * Bug fixes in 'clean' code.
2269 * Now generates 'installdirs' target.
2270 * man page installation reworked.
2271 * 'make dist' no longer re-creates all Makefile.in's.
2273 New in 0.21:
2274 * Reimplemented in Perl
2275 * Added --amdir option (for debugging)
2276 * Texinfo support cleaned up.
2277 * Automatic de-ANSI-fication cleaned up.
2278 * Cleaned up 'clean' targets.
2280 New in 0.20:
2281 * Automatic dependency tracking
2282 * More documentation
2283 * New variables DATA and PACKAGEDATA
2284 * SCRIPTS installed using $(INSTALL_SCRIPT)
2285 * No longer uses double-colon rules
2286 * Bug fixes
2287 * Changes in advance of internationalization
2289 -----
2291 Copyright (C) 1995-2012 Free Software Foundation, Inc.
2293 This program is free software; you can redistribute it and/or modify
2294 it under the terms of the GNU General Public License as published by
2295 the Free Software Foundation; either version 2, or (at your option)
2296 any later version.
2298 This program is distributed in the hope that it will be useful,
2299 but WITHOUT ANY WARRANTY; without even the implied warranty of
2300 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2301 GNU General Public License for more details.
2303 You should have received a copy of the GNU General Public License
2304 along with this program.  If not, see <http://www.gnu.org/licenses/>.