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