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