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