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