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