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