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