1 * WARNING: Future backward-incompatibilities!
3 - Makefile recipes generated by Automake 2.0 will expect to use an
4 'rm' program that doesn't complain when called without any non-option
5 argument if the '-f' option is given (so that commands like "rm -f"
6 and "rm -rf" will act as a no-op, instead of raising usage errors).
7 This behavior of 'rm' is very widespread in the wild, and it will be
8 required in the next POSIX version:
10 <http://austingroupbugs.net/view.php?id=542>
12 Accordingly, AM_INIT_AUTOMAKE now expands some shell code that checks
13 that the default 'rm' program in PATH satisfies this requirement,
14 aborting the configure process if this is not the case. For the
15 moment, it's still possible to force the configuration process to
16 succeed even with a broken 'rm', that that will no longer be the case
19 - Automake 2.0 will require Autoconf 2.70 or later (which is still
20 unreleased at the moment of writing, but is planned to be released
21 before Automake 2.0 is).
23 - Automake 2.0 will drop support for the long-deprecated 'configure.in'
24 name for the Autoconf input file. You are advised to start using the
25 recommended name 'configure.ac' instead, ASAP.
27 - The ACLOCAL_AMFLAGS special make variable will be fully deprecated in
28 Automake 2.0: it will raise warnings in the "obsolete" category (but
29 still no hard error of course, for compatibilities with the many, many
30 packages that still relies on that variable). You are advised to
31 start relying on the new Automake support for AC_CONFIG_MACRO_DIRS
32 instead (which was introduced in Automake 1.13).
34 - Automake 2.0 will remove support for automatic dependency tracking
35 with the SGI C/C++ compilers on IRIX. The SGI depmode has been
36 reported broken "in the wild" already, and we don't think investing
37 time in debugging and fixing is worthwhile, especially considering
38 that SGI has last updated those compilers in 2006, and retired
39 support for them in December 2013:
40 <http://www.sgi.com/services/support/irix_mips_support.html>
42 - Automake 2.0 will remove support for MS-DOS and Windows 95/98/ME
43 (support for them was offered by relying on the DJGPP project).
44 Note however that both Cygwin and MSYS/MinGW on modern Windows
45 versions will continue to be fully supported.
47 - Automake-provided scripts and makefile recipes might (finally!)
48 start assuming a POSIX shell in Automake 2.0. There still is no
49 certainty about this though: we'd first like to wait and see
50 whether future Autoconf versions will be enhanced to guarantee
51 that such a shell is always found and provided by the checks in
54 - Starting from Automake 2.0, third-party m4 files located in the
55 system-wide aclocal directory, as well as in any directory listed
56 in the ACLOCAL_PATH environment variable, will take precedence
57 over "built-in" Automake macros. For example (assuming Automake
58 is installed in the /usr/local hierarchy), a definition of the
59 AM_PROG_VALAC macro found in '/usr/local/share/aclocal/my-vala.m4'
60 should take precedence over the same-named automake-provided macro
61 (defined in '/usr/local/share/aclocal-2.0/vala.m4').
63 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 - The code has been adapted to remove a warning present since Perl
70 5.22 stating that "Unescaped left brace in regex is deprecated".
71 This warning has become an hard error in Perl 5.26 (bug#22372).
73 - The generated Makefiles do not rely on the obsolescent GZIP
74 environment variable which was used for passing arguments to
75 'gzip'. Compatibility with old versions has been
76 preserved. (bug#20132)
78 * Miscellaneous changes:
80 - Support the Windows version of the Intel C Compiler (icl) in the
81 'compile' script in the same way the (compatible) Microsoft C
82 Compiler is supported.
84 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 * Improvements and refactorings in the install-sh script:
90 - It has been modernized, and now makes the following assumptions
92 (1) a working 'dirname' program is available;
93 (2) the ${var:-value} shell parameters substitution works;
94 (3) the "set -f" and "set +f" shell commands work, and, respectively,
95 disable and enable shell globbing.
97 - The script implements stricter error checking, and now it complains
98 and bails out if any of the following expectations is not met:
99 (1) the options -d and -t are never used together;
100 (2) the argument passed to option -t is a directory;
101 (3) if there are two or more SOURCEFILE arguments, the
102 DESTINATION argument must be a directory.
104 * Automake-generated testsuites:
106 - The default test-driver used by the Automake-generated testsuites
107 now appends the result and exit status of each "plain" test to the
108 associated log file (automake bug#11814).
110 - The perl implementation of the TAP testsuite driver is no longer
111 installed in the Automake's scripts directory, and is instead just
112 distributed as a "contrib" addition. There should be no reason to
113 use this implementation anyway in real packages, since the awk+shell
114 implementation of the TAP driver (which is documented in the manual)
115 is more portable and has feature parity with the perl implementation.
117 - The rule generating 'test-suite.log' no longer risk incurring in an
118 extra useless "make all" recursive invocation in some corner cases
119 (automake bug#16302).
123 - Automake bug#18286: "make distcheck" could sometimes fail to detect
124 files missing from the distribution tarball, especially in those cases
125 where both the generated files and their dependencies are explicitly
126 in $(srcdir). An important example of this are *generated* makefile
127 fragments included at Automake time in Makefile.am; e.g.:
130 $(srcdir)/fragment.am: $(srcdir)/data.txt $(srcdir)/preproc.sh
131 cd $(srcdir) && $(SHELL) preproc.sh <data.txt >fragment.am
132 include $(srcdir)/fragment.am
135 If the use forgot to add data.txt and/or preproc.sh in the distribution
136 tarball, "make distcheck" would have erroneously succeeded! This issue
139 - As a consequence of the previous change, "make distcheck" will run
140 using '$(distdir)/_build/sub' as the build directory, rather than
141 simply '$(distdir)/_build' (as it was the case for Automake 1.14 and
142 earlier). Consequently, the './configure' and 'make' invocations
143 issued by the distcheck recipe now have $(srcdir) equal to '../..',
144 rather than to just '..'. Dependent and similar variables (e.g.,
145 '$(top_srcdir)') are also changed accordingly.
147 Thus, Makefiles that made assumptions about the exact values of the
148 build and source directories used by "make distcheck" will have to
149 be adjusted. Notice that making such assumptions was a bad and
150 unsupported practice anyway, since the exact locations of those
151 directories should be considered implementation details, and we
152 reserve the right to change them at any time.
154 * Miscellaneous bugs fixed:
156 - The expansion of AM_INIT_AUTOMAKE ends once again with a trailing
157 newline (bug#16841). Regression introduced in Automake 1.14.
159 - We no longer risk to use '$ac_aux_dir' before it's defined (see
160 automake bug#15981). Bug introduced in Automake 1.14.
162 - The code used to detect whether the currently used make is GNU make
163 or not (relying on the private macro 'am__is_gnu_make') no longer
164 risks causing "Arg list too long" for projects using automatic
165 dependency tracking and having a ton of source files (bug#18744).
167 - Automake tries to offer a more deterministic output for generated
168 Makefiles, in the face of the newly-introduced randomization for
169 hash keys order in Perl 5.18.
171 - In older Automake versions, if a user defined one single Makefile
172 fragment (say 'foo.am') to be included via Automake includes in
173 his main Makefile.am, and defined a custom make rule to generate that
174 file from other data, Automake used to spuriously complain with some
175 message like "... overrides Automake target '$(srcdir)/foo.am".
176 This bug is now fixed.
178 - The user can now extend the special .PRECIOUS target, the same way
179 he could already do with the .MAKE .and .PHONY targets.
181 - Some confusing typos have been fixed in the manual and in few warning
182 messages (automake bug#16827 and bug#16997).
184 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
190 - The user is no longer allowed to override the --srcdir nor the --prefix
191 configure options used by "make distcheck" (bug#14991).
193 - Fixed a gross inefficiency in the recipes for installing byte-compiled
194 python files, that was causing an O(N^2) performance on the number N of
195 files, instead of the expected O(N) performance. Note that this bug
196 was only relevant when the number of python files was high (which is
197 unusual in practice).
199 - Automake try to offer a more deterministic output for warning messages,
200 in the face of the newly-introduced randomization for hash keys order
203 - The 'test-driver' script now actually error out with a clear error
204 message on the most common invalid usages.
206 - Several spurious failures/hangs in the testsuite (bugs #14706, #14707,
207 #14760, #14911, #15181, #15237).
209 * Documentation fixes:
211 - Fixed typos in the 'fix-timestamp.sh' example script that made it
214 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
218 * C compilation, and the AC_PROG_CC and AM_PROG_CC_C_O macros:
220 - The 'compile' script is now unconditionally required for all packages
221 that perform C compilation (if you are using the '--add-missing'
222 option, automake will fetch that script for you, so you shouldn't
223 need any explicit adjustment). This new behaviour is needed to avoid
224 obscure errors when the 'subdir-objects' option is used, and the
225 compiler is an inferior one that doesn't grasp the combined use of
226 both the "-c -o" options; see discussion about automake bug#13378 for
228 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13378#35>
229 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13378#44>
231 - The next major Automake version (2.0) will unconditionally activate
232 the 'subdir-objects' option. In order to smooth out the transition,
233 we now give a warning (in the category 'unsupported') whenever a
234 source file is present in a subdirectory but the 'subdir-object' is
235 not enabled. For example, the following usage will trigger such a
238 bin_PROGRAMS = sub/foo
239 sub_foo_SOURCES = sub/main.c sub/bar.c
241 - Automake will automatically enhance the autoconf-provided macro
242 AC_PROG_CC to force it to check, at configure time, that the
243 C compiler supports the combined use of both the '-c' and '-o'
244 options. The result of this check is saved in the cache variable
245 'am_cv_prog_cc_c_o', and said result can be overridden by
246 pre-defining that variable.
248 - The AM_PROG_CC_C_O macro can still be called, albeit that should no
249 longer be necessary. This macro is now just a thin wrapper around the
250 Automake-enhanced AC_PROG_CC. This means, among the other things,
251 that its behaviour is changed in three ways:
253 1. It no longer invokes the Autoconf-provided AC_PROG_CC_C_O
254 macro behind the scenes.
256 2. It caches the check result in the 'am_cv_prog_cc_c_o' variable,
257 and not in a 'ac_cv_prog_cc_*_c_o' variable whose exact name is
258 dynamically computed only at configure runtime (really!) from
259 the content of the '$CC' variable.
261 3. It no longer automatically AC_DEFINE the C preprocessor
262 symbol 'NO_MINUS_C_MINUS_O'.
266 - Automake can now be instructed to place '.info' files generated from
267 Texinfo input in the builddir rather than in the srcdir; this is done
268 specifying the new automake option 'info-in-builddir'. This feature
269 was requested by the developers of GCC, GDB, GNU binutils and the GNU
270 bfd library. See the extensive discussion about automake bug#11034
273 - For quite a long time, Automake has been implementing an undocumented
274 hack which ensured that '.info' files which appeared to be cleaned
275 (by being listed in the CLEANFILES or DISTCLEANFILES variables) were
276 built in the builddir rather than in the srcdir; this hack was
277 introduced to ensure better backward-compatibility with package
278 such as Texinfo, which do things like:
280 info_TEXINFOS = texinfo.txi info-stnd.texi info.texi
281 DISTCLEANFILES = texinfo texinfo-* info*.info*
282 # Do not create info files for distribution.
286 in order not to distribute generated '.info' files.
288 Now that we have the 'info-in-builddir' option that explicitly causes
289 generated '.info' files to be placed in the builddir, this hack should
290 be longer necessary, so we deprecate it with runtime warnings.
291 It will be removed altogether in Automake 2.0.
293 * Relative directory in Makefile fragments:
295 - The special Automake-time substitutions '%reldir%' and '%canon_reldir%'
296 (and their short versions, '%D%' and '%C%' respectively) can now be used
297 in an included Makefile fragment. The former is substituted with the
298 relative directory of the included fragment (compared to the top-level
299 including Makefile), and the latter with the canonicalized version of
300 the same relative directory.
303 bin_PROGRAMS = # will be updated by included Makefile fragments
304 include src/Makefile.inc
306 # in 'src/Makefile.inc':
307 bin_PROGRAMS += %reldir%/foo
308 %canon_reldir%_foo_SOURCES = %reldir%/bar.c
310 This should be especially useful for packages using a non-recursive
313 * Deprecated distribution formats:
315 - The 'shar' and 'compress' distribution formats are deprecated, and
316 scheduled for removal in Automake 2.0. Accordingly, the use of the
317 'dist-shar' and 'dist-tarZ' will cause warnings at automake runtime
318 (in the 'obsolete' category), and the recipes of the Automake-generated
319 targets 'dist-shar' and 'dist-tarZ' will unconditionally display
320 (non-fatal) warnings at make runtime.
322 * New configure runtime warnings about "rm -f" support:
324 - To simplify transition to Automake 2.0, the shell code expanded by
325 AM_INIT_AUTOMAKE now checks (at configure runtime) that the default
326 'rm' program in PATH doesn't complain when called without any
327 non-option argument if the '-f' option is given (so that commands like
328 "rm -f" and "rm -rf" act as a no-op, instead of raising usage errors).
329 If this is not the case, the configure script is aborted, to call the
330 attention of the user on the issue, and invite him to fix his PATH.
331 The checked 'rm' behavior is very widespread in the wild, and will be
332 required by future POSIX versions:
334 <http://austingroupbugs.net/view.php?id=542>
336 The user can still force the configure process to complete even in the
337 presence of a broken 'rm' by defining the ACCEPT_INFERIOR_RM_PROGRAM
338 environment variable to "yes". And the generated Makefiles should
339 still work correctly even when such broken 'rm' is used. But note
340 that this will no longer be the case with Automake 2.0 though, so, if
341 you encounter the warning, please report it to us ASAP (and try to fix
342 your environment as well).
344 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 - Fix a minor regression introduced in Automake 1.13.3: when two or more
351 user-defined suffix rules were present in a single Makefile.am,
352 automake would needlessly include definition of some make variables
353 related to C compilation in the generated Makefile.in (bug#14560).
355 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
359 * Documentation fixes:
361 - The documentation no longer mistakenly reports that the obsolete
362 'AM_MKDIR_PROG_P' macro and '$(mkdir_p)' make variable are going
363 to be removed in Automake 2.0.
367 - Byte-compilation of Emacs lisp files could fail spuriously on
368 Solaris, when /bin/ksh or /usr/xpg4/bin/sh were used as shell.
370 - If the same user-defined suffixes were transformed into different
371 Automake-known suffixes in different Makefile.am files in the same
372 project, automake could get confused and generate inconsistent
373 Makefiles (automake bug#14441).
374 For example, if 'Makefile.am' contained a ".ext.cc:" suffix rule,
375 and 'sub/Makefile.am' contained a ".ext.c:" suffix rule, automake
376 would have mistakenly placed into 'Makefile.in' rules to compile
377 "*.c" files into object files, and into 'sub/Makefile.in' rules to
378 compile "*.cc" files into object files --- rather than the other
379 way around. This is now fixed.
383 - The test cases no longer have the executable bit set. This should
384 make it clear that they are not meant to be run directly; as
385 explained in t/README, they can only be run through the custom
386 'runtest' script, or by a "make check" invocation.
388 - The testsuite has seen the introduction of a new helper function
389 'run_make', and several related changes. These serve a two-fold
392 1. Remove brittleness due to the use of "make -e" in test cases.
394 2. Seamlessly allow the use of parallel make ("make -j...") in the
395 test cases, even where redirection of make output is involved
396 (see automake bug#11413 for a description of the subtle issues
399 - Several spurious failures have been fixed (they hit especially
400 MinGW/MSYS builds). See automake bugs #14493, #14494, #14495,
401 #14498, #14499, #14500, #14501, #14517 and #14528.
403 - Some other minor miscellaneous changes and fixlets.
405 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
409 * Documentation fixes:
411 - The long-deprecated but still supported two-arguments invocation form
412 of AM_INIT_AUTOMAKE is documented once again. This seems the sanest
413 thing to do, given that support for such usage might need to remain
414 in place for an unspecified amount of time in order to cater to people
415 who want to define the version number for their package dynamically at
416 configure runtime (unfortunately, Autoconf does not yet support this
417 scenario, so we cannot delegate the work to it).
419 - The serial testsuite harness is no longer reported as "deprecated",
420 but as "discouraged". We have no plan to remove it, nor to make its
421 use cause runtime warnings.
423 - The parallel testsuite is no longer reported as "experimental"; it
424 is well tested, and should be stable now.
426 - The 'shar' and 'tarZ' distribution formats and the 'dist-shar' and
427 'dist-tarZ' options are obsolescent, and their use is deprecated
428 in the documentation.
430 - Other minor miscellaneous fixes and improvements; in particular,
431 some improvements in cross-references.
433 * Obsolescent features:
435 - Use of suffix-less info files (that can be specified through the
436 '@setfilename' macro in Texinfo input files) is discouraged, and
437 its use will raise warnings in the 'obsolete' category. Simply
438 use the '.info' extension for all your info files, transforming
441 @setfilename myprogram
445 @setfilename myprogram.info
447 - Use of Texinfo input files with '.txi' or '.texinfo' extensions
448 is discouraged, and its use will raise warnings in the 'obsolete'
449 category. You are advised to simply use the '.texi' extension
454 - When the 'ustar' option is used, the generated configure script no
455 longer risks hanging during the tests for the availability of the
456 'pax' utility, even if the user running configure has a UID or GID
457 that requires more than 21 bits to be represented.
458 See automake bug#8343 and bug#13588.
460 - The obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC work once
461 again, as they did in Automake 1.12.x (albeit printing runtime
462 warnings in the 'obsolete' category). Removing them has turned
463 out to be a very bad idea, because it complicated distro packing
464 enormously. Making them issue fatal warnings, as we did in
465 Automake 1.13, has turned out to be a similarly very bad idea,
466 for exactly the same reason.
468 - aclocal will no longer error out if the first local m4 directory
469 (as specified by the '-I' option or the 'AC_CONFIG_MACRO_DIRS' or
470 'AC_CONFIG_MACRO_DIR' macros) doesn't exist; it will merely report
471 a warning in the 'unsupported' category. This is done to support
472 some pre-existing real-world usages. See automake bug#13514.
474 - aclocal will no longer consider directories for extra m4 files more
475 than once, even if they are specified multiple times. This ensures
476 packages that specify both
478 AC_CONFIG_MACRO_DIR([m4]) in configure.ac
479 ACLOCAL_AMFLAGS = -I m4 in Makefile.am
481 will work correctly, even when the 'm4' directory contains no
482 package-specific files, but is used only to install third-party
483 m4 files (as can happen with e.g., "libtoolize --install").
484 See automake bug#13514.
486 - Analysis of make flags in Automake-generated rules has been made more
487 robust, and more future-proof. For example, in presence of make that
488 (like '-I') take an argument, the characters in said argument will no
489 longer be spuriously considered as a set of additional make options.
490 In particular, automake-generated rules will no longer spuriously
491 believe to be running in dry mode ("make -n") if run with an invocation
492 like "make -I noob"; nor will they believe to be running in keep-going
493 mode ("make -k") if run with an invocation like "make -I kool"
494 (automake bug#12554).
496 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
502 - Use of the obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC now
503 causes a clear and helpful error message, instead of obscure ones
504 (issue introduced in Automake 1.13).
506 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
512 - ylwrap renames properly header guards in generated header files
513 (*.h), instead of leaving Y_TAB_H.
515 - ylwrap now also converts header guards in implementation files
516 (*.c). Because ylwrap failed to rename properly #include in the
517 implementation files, current versions of Bison (e.g., 2.7)
518 duplicate the generated header file in the implementation file.
519 The header guard then protects the implementation file from
520 duplicate definitions from the header file.
522 * Version requirements:
524 - Autoconf 2.65 or greater is now required.
526 - The rules to build PDF and DVI output from Texinfo input now
527 require Texinfo 4.9 or later.
531 - Support for the "Cygnus-style" trees (once enabled by the 'cygnus'
532 option) has been removed. See discussion about automake bug#11034
533 for more background: <http://debbugs.gnu.org/11034>.
535 - The deprecated aclocal option '--acdir' has been removed. You
536 should use the options '--automake-acdir' and '--system-acdir'
537 instead (which have been introduced in Automake 1.11.2).
539 - The following long-obsolete m4 macros have been removed:
541 AM_PROG_CC_STDC: superseded by AC_PROG_CC since October 2002
542 fp_PROG_CC_STDC: broken alias for AM_PROG_CC_STDC
543 fp_WITH_DMALLOC: old alias for AM_WITH_DMALLOC
544 AM_CONFIG_HEADER: superseded by AC_CONFIG_HEADERS since July 2002
545 ud_PATH_LISPDIR: old alias for AM_PATH_LISPDIR
546 jm_MAINTAINER_MODE: old alias for AM_MAINTAINER_MODE
547 ud_GNU_GETTEXT: old alias for AM_GNU_GETTEXT
548 gm_PROG_LIBTOOL: old alias for AC_PROG_LIBTOOL
549 fp_C_PROTOTYPES: old alias for AM_C_PROTOTYPES (which was part
550 of the now-removed automatic de-ANSI-fication
553 - All the "old alias" macros in 'm4/obsolete.m4' have been removed.
555 - Use of the long-deprecated two- and three-arguments invocation forms
556 of the AM_INIT_AUTOMAKE is no longer documented. It's still supported
557 though (albeit with a warning in the 'obsolete' category), to cater
558 for people who want to define the version number for their package
559 dynamically (e.g., from the current VCS revision). We'll have to
560 continue this support until Autoconf itself is fixed to allow better
561 support for such dynamic version numbers.
563 * Elisp byte-compilation:
565 - The byte compilation of '.el' files into '.elc' files is now done
566 with a suffix rule. This has simplified the compilation process, and
567 more importantly made it less brittle. The downside is that emacs is
568 now invoked once for each '.el' files, which cause some noticeable
569 slowdowns. These should however be mitigated on multicore machines
570 (which are becoming the norm today) if concurrent make ("make -j")
573 - Elisp files placed in a subdirectory are now byte-compiled to '.elc'
574 files in the same subdirectory; for example, byte-compiling of file
575 'sub/foo.el' file will result in 'sub/foo.elc' rather than in
576 'foo.elc'. This behaviour is backward-incompatible with older
577 Automake versions, but it is more natural and more sane. See also
580 - The Emacs invocation performing byte-compilation of '.el' files honors
581 the $(AM_ELCFLAGS) and $(ELCFLAGS) variables; as typical, the former
582 one is developer-reserved and the latter one user-reserved.
584 - The 'elisp-comp' script, once provided by Automake, has been rendered
585 obsoleted by the just-described changes, and thus removed.
587 * Changes to Automake-generated testsuite harnesses:
589 - The parallel testsuite harness (previously only enabled by the
590 'parallel-tests' option) is the default one; the older serial
591 testsuite harness will still be available through the use of the
592 'serial-tests' option (introduced in Automake 1.12).
594 - The 'color-tests' option is now unconditionally activated by default.
595 In particular, this means that testsuite output is now colorized by
596 default if the attached terminal seems to support ANSI escapes, and
597 that the user can force output colorization by setting the variable
598 AM_COLOR_TESTS to "always". The 'color-tests' is still recognized
599 for backward-compatibility, although it's a handled as a no-op now.
601 * Silent rules support:
603 - Support for silent rules is now always active in Automake-generated
604 Makefiles. So, although the verbose output is still the default,
605 the user can now always use "./configure --enable-silent-rules" or
606 "make V=0" to enable quieter output in the package he's building.
608 - The 'silent-rules' option has now become a no-op, preserved for
609 backward-compatibility only. In particular, its use no longer
610 disables the warnings in the 'portability-recursive' category.
614 - The rules to build PDF and DVI files from Texinfo input now require
615 Texinfo 4.9 or later.
617 - The rules to build PDF and DVI files from Texinfo input now use the
618 '--build-dir' option, to keep the auxiliary files used by texi2dvi
619 and texi2pdf around without cluttering the build directory, and to
620 make it possible to run the "dvi" and "pdf" recipes in parallel.
622 * Automatic remake rules and 'missing' script:
624 - The 'missing' script no longer tries to update the timestamp of
625 out-of-date files that require a maintainer-specific tool to be
626 remade, in case the user lacks such a tool (or has a too-old version
627 of it). It just gives a useful warning, and in some cases also a
628 tip about how to obtain such a tool.
630 - The missing script has thus become useless as a (poor) way to work
631 around the sketched-timestamps issues that can happen for projects
632 that keep generated files committed in their VCS repository. Such
633 projects are now encouraged to write a custom "fix-timestamps.sh"
634 script to avoid such issues; a simple example is provided in the
635 "CVS and generated files" chapter of the automake manual.
639 - The user can now define his own recursive targets that recurse
640 in the directories specified in $(SUBDIRS). This can be done by
641 specifying the name of such targets in invocations of the new
642 'AM_EXTRA_RECURSIVE_TARGETS' m4 macro.
646 - Any failure in the recipe of the "tags", "ctags", "cscope" or
647 "cscopelist" targets in a subdirectory is now propagated to the
648 top-level make invocation.
650 - Tags are correctly computed also for files in _SOURCES variables that
651 only list files with non-standard suffixes (see automake bug#12372).
653 * Improvements to aclocal and related rebuilds rules:
655 - Autoconf-provided macros AC_CONFIG_MACRO_DIR and AC_CONFIG_MACRO_DIRS
656 are now traced by aclocal, and can be used to declare the local m4
657 include directories. Formerly, one had to specify it with an explicit
658 '-I' option to the 'aclocal' invocation.
660 - The special make variable ACLOCAL_AMFLAGS is deprecated; future
661 Automake versions will warn about its use, and later version will
662 remove support for it altogether.
664 * The depcomp script:
666 - Dropped support for libtool 1.4.
668 - Various internal refactorings. They should cause no visible change,
669 but the chance for regression is there anyway, so please report any
670 unexpected or suspicious behaviour.
672 - Support for pre-8.0 versions of the Intel C Compiler has been dropped.
673 This should cause no problem, since icc 8.0 has been released in
674 December 2003 -- almost nine years ago.
676 - Support for tcc (the Tiny C Compiler) has been improved, and is now
677 handled through a dedicated 'tcc' mode.
681 - ylwrap generates header guards with a single '_' for series of non
682 alphabetic characters, instead of several. This is what Bison >=
685 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
687 Bugs fixed in 1.12.6:
689 * Python-related bugs:
691 - The default installation location for python modules has been improved
692 for Python 3 on Debian and Ubuntu systems, changing from:
694 ${prefix}/lib/python3/dist-packages
698 ${prefix}/lib/python3.x/site-packages
700 This change should ensure modules installed using the default ${prefix}
701 "/usr/local" are found by default by system python 3.x installations.
702 See automake bug#10227.
704 - Python byte-compilation supports the new layout mandated by PEP-3147,
705 with its __pycache__ directory (automake bug#8847).
707 * Build system issues:
709 - The maintainer rebuild rules for Makefiles and aclocal.m4 in
710 Automake's own build system works correctly again (bug introduced
715 - The Vala-related tests has been changed to adjust to the removal of
716 the 'posix' profile in the valac compiler. See automake bug#12934
719 - Some spurious testsuite failures related to older tools and systems
722 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
728 - The AM_PROG_VALAC macro has been enhanced to takes two further
729 optional arguments; it's signature now being
731 AM_PROG_VALAC([MINIMUM-VERSION], [ACTION-IF-FOUND],
732 [ACTION-IF-NOT-FOUND])
734 - By default, AM_PROG_VALAC no longer aborts the configure invocation
735 if the Vala compiler found is too old, but simply prints a warning
736 messages (as it did when the Vala compiler was not found). This
737 should avoid unnecessary difficulties for end users that just want
738 to compile the unmodified, distributed Vala-generated C sources,
739 but happens to have an old Vala compiler in their PATH. This fixes
742 - If no proper Vala compiler is found at configure runtime, AM_PROG_VALAC
743 will set the AC_SUBST'd variable 'VALAC' to 'valac' rather than to ':'.
744 This is a better default, because with it a triggered makefile rule
745 invoking a Vala compilation will clearly fail with an informative error
746 message like "valac: command not found", rather than silently, with
747 the error possibly going unnoticed or triggering harder-to-diagnose
748 fallout failures in later steps.
750 * Miscellaneous changes:
752 - automake and aclocal no longer honours the 'perllibdir' environment
753 variable. That had always been intended only as an hack required in
754 the testsuite, not meant for any use beyond that.
756 Bugs fixed in 1.12.5:
758 * Long-standing bugs:
760 - Automake no longer generates spurious remake rules invoking autoheader
761 to regenerate the template corresponding to header files specified after
762 the first one in AC_CONFIG_HEADERS (automake bug#12495).
764 - When wrapping Microsoft tools, the 'compile' script falls back to
765 finding classic 'libname.a' style libraries when 'name.lib' and
766 'name.dll.lib' aren't available.
768 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
772 * Warnings and deprecations:
774 - Warnings in the 'obsolete' category are enabled by default both in
775 automake and aclocal.
777 * Miscellaneous changes:
779 - Some testsuite weaknesses and spurious failures have been fixed.
781 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
785 * Miscellaneous changes:
787 - The '.m4' files provided by Automake no longer define serial numbers.
788 This should cause no difference in the behaviour of aclocal though.
790 - Some testsuite weaknesses and spurious failures have been fixed.
792 - There is initial support for automatic dependency tracking with the
793 Portland Group C/C++ compilers, thanks to the new new depmode 'pgcc'.
795 Bugs fixed in 1.12.3:
797 * Long-standing bugs:
799 - Instead of renaming only self-references of files (typically for
800 #lines), ylwrap now also renames references to the other generated
801 files. This fixes support for GLR and C++ parsers from Bison (PR
802 automake/491 and automake bug#7648): 'parser.c' now properly
803 #includes 'parser.h' instead of 'y.tab.h'.
805 - Generated files unknown to ylwrap are now preserved. This fixes
806 C++ support for Bison (automake bug#7648): location.hh and the
807 like are no longer discarded.
809 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
813 * Warnings and deprecations:
815 - Automake now issues a warning (in the 'portability' category) if
816 'configure.in' is used instead of 'configure.ac' as the Autoconf
817 input file. Such a warning will also be present in the next
818 Autoconf version (2.70).
822 - Recursive cleaning rules descends into the $(SUBDIRS) in the natural
823 order (as done by the other recursive rules), rather than in the
824 inverse order. They used to do that in order to work a round a
825 limitation in an older implementation of the automatic dependency
826 tracking support, but that limitation had been lifted years ago
827 already, when the automatic dependency tracking based on side-effects
828 of compilation had been introduced.
830 - Cleaning rules for compiled objects (both "plain" and libtool) work
831 better when subdir objects are involved, not triggering a distinct
832 'rm' invocation for each such object. They do so by removing *any*
833 compiled object file that is in the same directory of a subdir
834 object. See automake bug#10697.
836 * Silent rules support:
838 - A new predefined $(AM_V_P) make variable is provided; it expands
839 to a shell conditional that can be used in recipes to know whether
840 make is being run in silent or verbose mode.
842 Bugs fixed in 1.12.2:
844 * SECURITY VULNERABILITIES!
846 - The 'distcheck' recipe no longer grants temporary world-write
847 permissions on the extracted distdir. Even if such rights were
848 only granted for a vanishingly small time window, the implied
849 race condition proved to be enough to allow a local attacker
850 to run arbitrary code with the privileges of the user running
851 "make distcheck". This is CVE-2012-3386.
853 * Long-standing bugs:
855 - The "recheck" targets behaves better in the face of build failures
856 related to previously failed tests. For example, if a test is a
857 compiled program that must be rerun by "make recheck", and its
858 compilation fails, it will still be rerun by further "make recheck"
859 invocations. See automake bug#11791.
861 * Bugs introduced by 1.12.1:
863 - Automake provides once again the '$(mkdir_p)' make variable and the
864 '@mkdir_p@' substitution (both as simple aliases for '$(MKDIR_P)'),
865 for better backward-compatibility.
867 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
871 * New supported languages:
873 - Support for Objective C++ has been added; it should work similarly to
874 the support for Objective C.
876 * Deprecated obsolescent features:
878 - Use of the long-deprecated two- and three-arguments invocation forms
879 of the AM_INIT_AUTOMAKE macro now elicits a warning in the 'obsolete'
880 category. Starting from some future major Automake release (likely
881 post-1.13), such usages will no longer be allowed.
883 - Support for the "Cygnus-style" trees (enabled by the 'cygnus' option) is
884 now deprecated (its use triggers a warning in the 'obsolete' category).
885 It will be removed in the next major Automake release (1.13).
887 - The long-obsolete (since 1.10) automake-provided $(mkdir_p) make
888 variable, @mkdir_p@ configure-time substitution and AM_PROG_MKDIR
889 m4 macro are deprecated, eliciting a warning in the 'obsolete'
892 * Miscellaneous changes:
894 - The Automake test cases now require a proper POSIX-conforming shell.
895 Older non-POSIX Bourne shells (like Solaris 10 /bin/sh) will no longer
896 be accepted. In most cases, the user shouldn't have to specify such
897 POSIX shell explicitly, since it will be looked up at configure time.
898 Still, when this lookup fails, or when the user wants to override its
899 conclusion, the variable 'AM_TEST_RUNNER_SHELL' can be used (pointing
900 to the shell that will be used to run the Automake test cases).
902 Bugs fixed in 1.12.1:
904 * Bugs introduced by 1.12:
906 - Several weaknesses in Automake's own build system and test suite
909 * Bugs introduced by 1.11.3:
911 - When given non-option arguments, aclocal rejects them, instead of
912 silently ignoring them.
914 * Long-standing bugs:
916 - When the 'color-tests' option is in use, forcing of colored testsuite
917 output through "AM_COLOR_TESTS=always" works even if the terminal is
918 a non-ANSI one, i.e., if the TERM environment variable has a value of
921 - Several inefficiencies and poor performances in the implementation
922 of the parallel-tests 'check' and 'recheck' targets have been fixed.
924 - The post-processing of output "#line" directives done the ylwrap
925 script is more faithful w.r.t. files in a subdirectory; for example,
926 if the processed file is "src/grammar.y", ylwrap will correctly
927 produce directives like:
928 #line 7 "src/grammar.y"
933 * Bugs with new Perl versions:
935 - Aclocal works correctly with perl 5.16.0 (automake bug#11543).
937 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
941 * Obsolete features removed:
943 - The never documented nor truly used script 'acinstall' has been
946 - Support for automatic de-ANSI-fication has been removed.
948 - The support for the "obscure" multilib feature has been removed
949 from Automake core (but remains available in the 'contrib/'
950 directory of the Automake distribution).
952 - Support for ".log -> .html" conversion and the check-html and
953 recheck-html targets has been removed from Automake core (but
954 remains available in the 'contrib/' directory of the Automake
957 - The deprecated 'lzma' compression format for distribution archives
958 has been removed, in favor of 'xz' and 'lzip'.
960 - The obsolete AM_WITH_REGEX macro has been removed.
962 - The long-deprecated options '--output-dir', '--Werror' and
963 '--Wno-error' have been removed.
965 - The chapter on the history of Automake has been moved out of the
966 reference manual, into a new dedicated Texinfo file.
970 - New 'cscope' target to build a cscope database for the source tree.
972 * Changes to Automake-generated testsuite harnesses:
974 - The new automake option 'serial-tests' has been introduced. It can
975 be used to explicitly instruct automake to use the older serial
976 testsuite harness. This is still the default at the moment, but it
977 might change in future versions.
979 - The 'recheck' target (provided by the parallel testsuite harness) now
980 depends on the 'all' target. This allows for a better user-experience
981 in test-driven development. See automake bug#11252.
983 - Test scripts that exit with status 99 to signal an "hard error" (e.g.,
984 and unexpected or internal error, or a failure to set up the test case
985 scenario) have their outcome reported as an 'ERROR' now. Previous
986 versions of automake reported such an outcome as a 'FAIL' (the only
987 difference with normal failures being that hard errors were counted
988 as failures even when the test originating them was listed in
991 - The testsuite summary displayed by the parallel-test harness has a
992 completely new format, that always list the numbers of passed, failed,
993 xfailed, xpassed, skipped and errored tests, even when these numbers
994 are zero (but using smart coloring when the color-tests option is in
997 - The default testsuite driver offered by the 'parallel-tests' option is
998 now implemented (partly at least) with the help of automake-provided
999 auxiliary scripts (e.g., 'test-driver'), instead of relying entirely
1000 on code in the generated Makefile.in.
1001 This has two noteworthy implications. The first one is that projects
1002 using the 'parallel-tests' option should now either run automake with
1003 the '--add-missing' option, or manually copy the 'test-driver' script
1004 into their tree. The second, and more important, implication is that
1005 now, when the 'parallel-tests' option is in use, TESTS_ENVIRONMENT can
1006 no longer be used to define a test runner, and the command specified
1007 in LOG_COMPILER (and <ext>_LOG_COMPILER) must be a *real* executable
1008 program or script. For example, this is still a valid usage (albeit
1009 a little contorted):
1011 TESTS_ENVIRONMENT = \
1012 if test -n '$(STRICT_TESTS)'; then \
1013 maybe_errexit='-e'; \
1017 LOG_COMPILER = $(SHELL) $$maybe_errexit
1019 OTOH, this is no longer a valid usage:
1021 TESTS_ENVIRONMENT = \
1022 $(SHELL) `test -n '$(STRICT_TESTS_CHECKING)' && echo ' -e'`
1026 TESTS_ENVIRONMENT = \
1027 run_with_perl_or_shell () \
1029 if grep -q '^#!.*perl' $$1; then
1035 LOG_COMPILER = run_with_perl_or_shell
1037 - The package authors can now use customary testsuite drivers within
1038 the framework provided by the 'parallel-tests' testsuite harness.
1039 Consistently with the existing syntax, this can be done by defining
1040 special makefile variables 'LOG_DRIVER' and '<ext>_LOG_DRIVER'.
1042 - A new developer-reserved variable 'AM_TESTS_FD_REDIRECT' can be used
1043 to redirect/define file descriptors used by the test scripts.
1045 - The parallel-tests harness generates now, in addition the '.log' files
1046 holding the output produced by the test scripts, a new set of '.trs'
1047 files, holding "metadata" derived by the execution of the test scripts;
1048 among such metadata are the outcomes of the test cases run by a script.
1050 - Initial and still experimental support for the TAP test protocol is
1053 * Changes to Yacc and Lex support:
1055 - C source and header files derived from non-distributed Yacc and/or
1056 Lex sources are now removed by a simple "make clean" (while they were
1057 previously removed only by "make maintainer-clean").
1059 - Slightly backward-incompatible change, relevant only for use of Yacc
1060 with C++: the extensions of the header files produced by the Yacc
1061 rules are now modelled after the extension of the corresponding
1062 sources. For example, yacc files named "foo.y++" and "bar.yy" will
1063 produce header files named "foo.h++" and "bar.hh" respectively, where
1064 they would have previously produced header files named simply "foo.h"
1065 and "bar.h". This change offers better compatibility with 'bison -o'.
1067 * Miscellaneous changes:
1069 - The AM_PROG_VALAC macro now causes configure to exit with status 77,
1070 rather than 1, if the vala compiler found is too old.
1072 - The build system of Automake itself now avoids the use of make
1073 recursion as much as possible.
1075 - Automake now prefers to quote 'like this' or "like this", rather
1076 than `like this', in diagnostic message and generated Makefiles,
1077 to accommodate the new GNU Coding Standards recommendations.
1079 - Automake has a new option '--print-libdir' that prints the path of the
1080 directory containing the Automake-provided scripts and data files.
1082 - The 'dist' and 'dist-all' targets now can run compressors in parallel.
1084 - The rules to create pdf, dvi and ps output from Texinfo files now
1085 works better with modern 'texi2dvi' script, by explicitly passing
1086 it the '--clean' option to ensure stray auxiliary files are not
1087 left to clutter the build directory.
1089 - Automake can now generate silenced rules for texinfo outputs.
1091 - Some auxiliary files that are automatically distributed by Automake
1092 (e.g., 'install-sh', or the 'depcomp' script for packages compiling
1093 C sources) might now be listed in the DIST_COMMON variable in many
1094 Makefile.in files, rather than in the top-level one.
1096 - Messages of types warning or error from 'automake' and 'aclocal'
1097 are now prefixed with the respective type, and presence of -Werror
1100 - Automake's early configure-time sanity check now tries to avoid
1101 sleeping for a second, which slowed down cached configure runs
1102 noticeably. In that case, it will check back at the end of the
1103 configure script to ensure that at least one second has passed, to
1104 avoid time stamp issues with makefile rules rerunning autotools
1107 - The warnings in the category 'extra-portability' are now enabled by
1108 '-Wall'. In previous versions, one has to use '-Wextra-portability'
1113 - Various minor bugfixes for recent or long-standing bugs.
1115 * Bugs introduced by 1.11:
1117 - The AM_COND_IF macro also works if the shell expression for the
1118 conditional is no longer valid for the condition.
1120 - The automake-provided parallel testsuite harness no longer fails
1121 with BSD make used in parallel mode when there are test scripts in
1122 a subdirectory, like in:
1124 TESTS = sub/foo.test sub/bar.test
1126 * Long-standing bugs:
1128 - Automake's own build system finally have a real "installcheck" target.
1130 - Vala-related cleanup rules are now more complete, and work better in
1133 - Files listed with the AC_REQUIRE_AUX_FILE macro in configure.ac are
1134 now automatically distributed also if the directory of the auxiliary
1135 files coincides with the top-level directory.
1137 - Automake now detects the presence of the '-d' flag in the various
1138 '*YFLAGS' variables even when their definitions involve indirections
1139 through other variables, such as in:
1141 AM_YFLAGS = $(foo_opts)
1143 - Automake now complains if a '*YFLAGS' variable has any conditional
1144 content, not only a conditional definition.
1146 - Explicit enabling and/or disabling of Automake warning categories
1147 through the '-W...' options now always takes precedence over the
1148 implicit warning level implied by Automake strictness (foreign, gnu
1149 or gnits), regardless of the order in which such strictness and
1150 warning flags appear. For example, a setting like:
1151 AUTOMAKE_OPTIONS = -Wall --foreign
1152 will cause the warnings in category 'portability' to be enabled, even
1153 if those warnings are by default disabled in 'foreign' strictness.
1155 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1157 Bugs fixed in 1.11.5:
1159 * Bugs introduced by 1.11.3:
1161 - Vala files with '.vapi' extension are now recognized and handled
1162 correctly again. See automake bug#11222.
1164 - Vala support work again for projects that contain some program
1165 built from '.vala' (and possibly '.c') sources and some other
1166 program built from '.c' sources *only*. See automake bug#11229.
1168 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 * Miscellaneous changes:
1174 - The 'ar-lib' script now ignores the "s" (symbol index) and "S" (no
1175 symbol index) modifiers as well as the "s" action, as the symbol index
1176 is created unconditionally by Microsoft lib. Also, the "q" (quick)
1177 action is now a synonym for "r" (replace). Also, the script has been
1178 ignoring the "v" (verbose) modifier already since Automake 1.11.3.
1180 - When the 'compile' script is used to wrap MSVC, it now accepts an
1181 optional space between the -I, -L and -l options and their respective
1182 arguments, for better POSIX compliance.
1184 - There is an initial, experimental support for automatic dependency
1185 tracking with tcc (the Tiny C Compiler). Its associated depmode is
1186 currently recognized as "icc" (but this and other details are likely
1187 to change in future versions).
1189 - Automatic dependency tracking now works also with the IBM XL C/C++
1190 compilers, thanks to the new new depmode 'xlc'.
1192 Bugs fixed in 1.11.4:
1194 * Bugs introduced by 1.11.2:
1196 - A definition of 'noinst_PYTHON' before 'python_PYTHON' (or similar)
1197 no longer cause spurious failures upon "make install".
1199 - The user can now instruct the 'uninstall-info' rule not to update
1200 the '${infodir}/dir' file by exporting the environment variable
1201 'AM_UPDATE_INFO_DIR' to the value "no". This is done for consistency
1202 with how the 'install-info' rule operates since automake 1.11.2.
1204 * Long-standing bugs:
1206 - It is now possible for a foo_SOURCES variable to hold Vala sources
1207 together with C header files, as well as with sources and headers for
1208 other supported languages (e.g., C++). Previously, only mixing C and
1209 Vala sources was supported.
1211 - If "aclocal --install" is used, and the first directory specified with
1212 '-I' is non-existent, aclocal will now create it before trying to copy
1215 - An empty declaration of a "foo_PRIMARY" no longer cause the generated
1216 install rules to create an empty $(foodir) directory; for example, if
1217 Makefile.am contains something like:
1219 pkglibexec_SCRIPTS =
1221 pkglibexec_SCRIPTS += bar.sh
1224 the $(pkglibexec) directory will not be created upon "make install".
1226 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1230 * Miscellaneous changes:
1232 - Automake's own build system is more silent by default, making use of
1233 the 'silent-rules' option.
1235 - The master copy of the 'gnupload' script is now maintained in gnulib,
1238 - The 'missing' script no longer tries to wrap calls to 'tar'.
1240 - "make dist" no longer wraps 'tar' invocations with the 'missing'
1241 script. Similarly, the obsolescent variable '$(AMTAR)' (which you
1242 shouldn't be using BTW ;-) no longer invokes the 'missing' script
1243 to wrap tar, but simply invokes the 'tar' program itself.
1245 - "make dist" can now create lzip-compressed tarballs.
1247 - In the Automake info documentation, the Top node and the nodes about
1248 the invocation of the automake and aclocal programs have been renamed;
1249 now, calling "info automake" will open the Top node, while calling
1250 "info automake-invocation" and "info aclocal-invocation" will access
1251 the nodes about the invocation of respectively automake and aclocal.
1253 - Automake is now distributed as a gzip-compressed and an xz-compressed
1254 tarball. Previously, bzip2 was used instead of xz.
1256 - The last relics of Python 1.5 support have been removed from the
1257 AM_PATH_PYTHON macro.
1259 - For programs and libraries, automake now detects EXTRA_foo_DEPENDENCIES
1260 and adds them to the normal list of dependencies, but without
1261 overwriting the foo_DEPENDENCIES variable, which is normally computed
1264 Bugs fixed in 1.11.3:
1266 * Bugs introduced by 1.11.2:
1268 - Automake now correctly recognizes the prefix/primary combination
1269 'pkglibexec_SCRIPTS' as valid.
1271 - The parallel-tests harness no longer trips on sed implementations
1272 with stricter limits on the length of input lines (problem seen at
1273 least on Solaris 8).
1275 * Long-standing bugs:
1277 - The "deleted header file problem" for *.am files is avoided by stub
1278 rules. This allows 'make' to trigger a rerun of 'automake' also if
1279 some previously needed '.am' file has been removed.
1281 - The 'silent-rules' option now generates working makefiles even
1282 for the uncommon 'make' implementations that do not support the
1283 nested-variables extension to POSIX 2008. For such 'make'
1284 implementations, whether a build is silent is determined at
1285 configure time, and cannot be overridden at make time with
1286 "make V=0" or "make V=1".
1288 - Vala support now works better in VPATH setups.
1290 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1294 * Changes to aclocal:
1296 - The `--acdir' option is deprecated. Now you should use the new options
1297 `--automake-acdir' and `--system-acdir' instead.
1299 - The `ACLOCAL_PATH' environment variable is now interpreted as a
1300 colon-separated list of additional directories to search after the
1301 automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION)
1302 and before the system acdir (by default ${prefix}/share/aclocal).
1304 * Miscellaneous changes:
1306 - The Automake support for automatic de-ANSI-fication has been
1307 deprecated. It will probably be removed in the next major Automake
1310 - The `lzma' compression scheme and associated automake option `dist-lzma'
1311 is obsoleted by `xz' and `dist-xz' due to upstream changes.
1313 - You may adjust the compression options used in dist-xz and dist-bzip2.
1314 The default is now merely -e for xz, but still -9 for bzip; you may
1315 specify a different level via the XZ_OPT and BZIP2 envvars respectively.
1316 E.g., "make dist-xz XZ_OPT=-7" or "make dist-bzip2 BZIP2=-5"
1318 - The `compile' script now converts some options for MSVC for a better
1319 user experience. Similarly, the new `ar-lib' script wraps Microsoft lib.
1321 - The py-compile script now accepts empty arguments passed to the options
1322 `--destdir' and `--basedir', and complains about unrecognized options.
1323 Moreover, a non-option argument or a special `--' argument terminates
1324 the list of options.
1326 - A developer that needs to pass specific flags to configure at "make
1327 distcheck" time can now, and indeed is advised to, do so by defining
1328 the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS,
1329 instead of the old DISTCHECK_CONFIGURE_FLAGS.
1330 The DISTCHECK_CONFIGURE_FLAGS variable should now be reserved for the
1331 user; still, the old Makefile.am files that used to define it will
1332 still continue to work as before.
1334 - New macro AM_PROG_AR that looks for an archiver and wraps it in the new
1335 'ar-lib' auxiliary script if the selected archiver is Microsoft lib.
1336 This new macro is required for LIBRARIES and LTLIBRARIES when automake
1337 is run with -Wextra-portability and -Werror.
1339 - When using DejaGnu-based testsuites, the user can extend the `site.exp'
1340 file generated by automake-provided rules by defining the special make
1341 variable `$(EXTRA_DEJAGNU_SITE_CONFIG)'.
1343 - The `install-info' rule can now be instructed not to create/update
1344 the `${infodir}/dir' file, by exporting the new environment variable
1345 `AM_UPDATE_INFO_DIR' to the value "no".
1347 Bugs fixed in 1.11.2:
1349 * Bugs introduced by 1.11:
1351 - The parallel-tests driver no longer produces erroneous results with
1352 Tru64/OSF 5.1 sh upon unreadable log files.
1354 - The `parallel-tests' test driver does not report spurious successes
1355 when used with concurrent FreeBSD make (e.g., "make check -j3").
1357 - When the parallel-tests driver is in use, automake now explicitly
1358 rejects invalid entries and conditional contents in TEST_EXTENSIONS,
1359 instead of issuing confusing and apparently unrelated error messages
1360 (e.g., "non-POSIX variable name", "bad characters in variable name",
1361 or "redefinition of TEST_EXTENSIONS), or even, in some situations,
1362 silently producing broken `Makefile.in' files.
1364 - The `silent-rules' option now truly silences all compile rules, even
1365 when dependency tracking is disabled. Also, when `silent-rules' is
1366 not used, `make' output no longer contains spurious backslash-only
1367 lines, thus once again matching what Automake did before 1.11.
1369 - The AM_COND_IF macro also works if the shell expression for the
1370 conditional is no longer valid for the condition.
1372 * Long-standing bugs:
1374 - The order of Yacc and Lex flags is fixed to be consistent with other
1375 languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
1376 $(LFLAGS), so that the user variables override the developer variables.
1378 - "make distcheck" now correctly complains also when "make uninstall"
1379 leaves one and only one file installed in $(prefix).
1381 - A "make uninstall" issued before a "make install", or after a mere
1382 "make install-data" or a mere "make install-exec" does not spuriously
1385 - Automake now warns about more primary/directory invalid combinations,
1386 such as "doc_LIBRARIES" or "pkglib_PROGRAMS".
1388 - Rules generated by Automake now try harder to not change any files when
1389 `make -n' is invoked. Fixes include compilation of Emacs Lisp, Vala, or
1390 Yacc source files and the rule to update config.h.
1392 - Several scripts and the parallel-tests testsuite driver now exit with
1393 the right exit status upon receiving a signal.
1395 - A per-Makefile.am setting of -Werror does not erroneously carry over
1396 to the handling of other Makefile.am files.
1398 - The code for automatic dependency tracking works around a Solaris
1399 make bug triggered by sources containing repeated slashes when the
1400 `subdir-objects' option was used.
1402 - The makedepend and hp depmodes now work better with VPATH builds.
1404 - Java sources specified with check_JAVA are no longer compiled for
1405 "make all", but only for "make check".
1407 - An usage like "java_JAVA = foo.java" will now cause Automake to warn
1408 and error out if `javadir' is undefined, instead of silently producing
1409 a broken Makefile.in.
1411 - aclocal and automake now honour the configure-time definitions of
1412 AUTOCONF and AUTOM4TE when they spawn autoconf or autom4te processes.
1414 - The `install-info' recipe no longer tries to guess whether the
1415 `install-info' program is from Debian or from GNU, and adaptively
1416 change its behaviour; this has proven to be frail and easy to
1419 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1421 Bugs fixed in 1.11.1:
1423 - Lots of minor bugfixes.
1425 * Bugs introduced by 1.11:
1427 - The `parallel-tests' test driver works around a GNU make 3.80 bug with
1428 trailing white space in the test list (`TESTS = foo $(EMPTY)').
1430 * Long standing bugs:
1432 - On Darwin 9, `pythondir' and `pyexecdir' pointed below `/Library/Python'
1433 even if the `--prefix' argument pointed outside of a system directory.
1434 AM_PATH_PYTHON has been fixed to ignore the value returned from python's
1435 `get_python_lib' function if it points outside the configured prefix,
1436 unless the `--prefix' argument was either `/usr' or below `/System'.
1438 - The testsuite does not try to change the mode of `ltmain.sh' files from
1439 a Libtool installation (symlinked to test directories) any more.
1441 - AM_PROG_GCJ uses AC_CHECK_TOOLS to look for `gcj' now, so that prefixed
1442 tools are preferred in a cross-compile setup.
1444 - The distribution is tarred up with mode 755 now by the `dist*' targets.
1445 This fixes a race condition where untrusted users could modify files
1446 in the $(PACKAGE)-$(VERSION) distdir before packing if the toplevel
1447 build directory was world-searchable. This is CVE-2009-4029.
1449 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1453 * Version requirements:
1455 - Autoconf 2.62 or greater is required.
1457 * Changes to aclocal:
1459 - The autoconf version check implemented by aclocal in aclocal.m4
1460 (and new in Automake 1.10) is degraded to a warning. This helps
1461 in the common case where the Autoconf versions used are compatible.
1463 * Changes to automake:
1465 - The automake program can run multiple threads for creating most
1466 Makefile.in files concurrently, if at least Perl 5.7.2 is available
1467 with interpreter-based threads enabled. Set the environment variable
1468 AUTOMAKE_JOBS to the maximum number of threads to use, in order to
1469 enable this experimental feature.
1471 * Changes to Libtool support:
1473 - Libtool generic flags are now passed to the install and uninstall
1476 - distcheck works with Libtool 2.x even when LT_OUTPUT is used, as
1477 config.lt is removed correctly now.
1479 * Languages changes:
1481 - subdir-object mode works now with Fortran (F77, FC, preprocessed
1482 Fortran, and Ratfor).
1484 - For files with extension .f90, .f95, .f03, or .f08, the flag
1485 $(FCFLAGS_f[09]x) computed by AC_FC_SRCEXT is now used in compile rules.
1487 - Files with extension .sx are also treated as preprocessed assembler.
1489 - The default source file extension (.c) can be overridden with
1490 AM_DEFAULT_SOURCE_EXT now.
1492 - Python 3.0 is supported now, Python releases prior to 2.0 are no
1495 - AM_PATH_PYTHON honors python's idea about the site directory.
1497 - There is initial support for the Vala programming language, when using
1498 Vala 0.7.0 or later.
1500 * Miscellaneous changes:
1502 - Automake development is done in a git repository on Savannah now, see
1504 http://git.sv.gnu.org/gitweb/?p=automake.git
1506 A read-only CVS mirror is provided at
1508 cvs -d :pserver:anonymous@pserver.git.sv.gnu.org:/automake.git \
1509 checkout -d automake HEAD
1511 - "make dist" can now create xz-compressed tarballs,
1512 as well as (deprecated?) lzma-compressed tarballs.
1514 - `automake --add-missing' will by default install the GPLv3 file as
1515 COPYING if it is missing. It will also warn that the license file
1516 should be added to source control. Note that Automake will never
1517 overwrite an existing COPYING file, even when the `--force-missing'
1520 - The manual is now distributed under the terms of the GNU FDL 1.3.
1522 - Automake ships and installs man pages for automake and aclocal now.
1524 - New shorthand `$(pkglibexecdir)' for `$(libexecdir)/@PACKAGE@'.
1526 - install-sh supports -C, which does not update the installed file
1527 (and its time stamps) if the contents did not change.
1529 - The `gnupload' script has been revamped.
1531 - The `depcomp' and `compile' scripts now work with MSVC under MSYS.
1533 - The targets `install' and `uninstall' are more efficient now, in that
1534 for example multiple files from one Automake variable such as
1535 `bin_SCRIPTS' are copied in one `install' (or `libtool --mode=install')
1536 invocation if they do not have to be renamed.
1538 Both install and uninstall may sometimes enter (`cd' into) the target
1539 installation directory now, when no build-local scripts are used.
1541 Both install and uninstall do not fail anymore but do nothing if an
1542 installation directory variable like `bindir' is set to the empty string.
1544 For built-in rules, `make install' now fails reliably if installation
1545 of a file failed. Conversely, `make uninstall' even succeeds when
1546 issued multiple times.
1548 These changes may need some adjustments from users: For example,
1549 some `install' programs refuse to install multiple copies of the
1550 same file in one invocation, so you may need to remove duplicate
1551 entries from file lists.
1553 Also, within one set of files, say, nobase_data_DATA, the order of
1554 installation may be changed, or even unstable among different hosts,
1555 due to the use of associative arrays in awk. The increased use of
1556 awk matches a similar move in Autoconf to provide for better scaling.
1558 Further, most undocumented per-rule install command variables such as
1559 binSCRIPT_INSTALL have been removed because they are not needed any
1560 more. Packages which use them should be using the appropriate one of
1561 INSTALL_{DATA,PROGRAM,SCRIPT} or their install_sh_{DATA,PROGRAM,SCRIPT}
1562 counterpart, depending on the type of files and the need for automatic
1563 target directory creation.
1565 - The "deleted header file problem" for *.m4 files is avoided by
1566 stub rules. This allows `make' to trigger a rerun of `aclocal'
1567 also if some previously needed macro file has been removed.
1569 - Rebuild rules now also work for a removed `subdir/Makefile.in' in
1570 an otherwise up to date tree.
1572 - The `color-tests' option causes colored test result output on terminals.
1574 - The `parallel-tests' option enables a new test driver that allows for
1575 parallel test execution, inter-test dependencies, lazy test execution
1576 for unit-testing, re-testing only failed tests, and formatted result output
1577 as RST (reStructuredText) and HTML. Enabling this option may require some
1578 changes to your test suite setup; see the manual for details.
1580 - The `silent-rules' option enables Linux kernel-style silent build output.
1581 This option requires the widely supported but non-POSIX `make' feature
1582 of recursive variable expansion, so do not use it if your package needs
1583 to build with `make' implementations that do not support it.
1585 To enable less verbose build output, the developer has to use the Automake
1586 option `silent-rules' in `AM_INIT_AUTOMAKE', or call the `AM_SILENT_RULES'
1587 macro. The user may then set the default verbosity by passing the
1588 `--enable-silent-rules' option to `configure'. At `make' run time, this
1589 default may be overridden using `make V=0' for less verbose, and `make V=1'
1590 for backward-compatible verbose output.
1592 - New prefix `notrans_' for manpages which should not be transformed
1593 by --program-transform.
1595 - New macro AM_COND_IF for conditional evaluation and conditional
1598 - For AC_CONFIG_LINKS, if source and destination are equal, do not
1599 remove the file in a non-VPATH build. Such setups work with Autoconf
1602 - AM_MAINTAINER_MODE now allows for an optional argument specifying
1603 the default setting.
1605 - AM_SUBST_NOTMAKE may prevent substitution of AC_SUBSTed variables,
1606 useful especially for multi-line values.
1608 - Automake's early configure-time sanity check now diagnoses an
1609 unsafe absolute source directory name and makes configure fail.
1611 - The Automake macros and rules cope better with whitespace in the
1612 current directory name, as long as the relative path to `configure'
1613 does not contain whitespace. To this end, the values of `$(MISSING)'
1614 and `$(install_sh)' may contain suitable quoting, and their expansion
1615 might need `eval'uation if used outside of a makefile. These
1616 undocumented variables may be used in several documented macros such
1617 as $(AUTOCONF) or $(MAKEINFO).
1621 * Long-standing bugs:
1623 - Fix aix dependency tracking for libtool objects.
1625 - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to
1626 unnecessary use of the `compile' script.
1628 - For nobase_*_LTLIBRARIES with nonempty directory components, the
1629 correct `-rpath' argument is used now.
1631 - `config.status --file=Makefile depfiles' now also works with the
1632 extra quoting used internally by Autoconf 2.62 and newer
1633 (it used to work only without the `--file=' bit).
1635 - The `missing' script works better with versioned tool names.
1637 - Semantics for `missing help2man' have been revamped:
1639 Previously, if `help2man' was not present, `missing help2man' would have
1640 the following semantics: if some man page was out of date but present, then
1641 a warning would be printed, but the exit status was 0. If the man page was
1642 not present at all, then `missing' would create a replacement man page
1643 containing an error message, and exit with a status of 2. This does not play
1644 well with `make': the next run will see this particular man page as being up
1645 to date, and will only error out on the next generated man page, if any;
1646 repeat until all pages are done. This was not desirable.
1648 These are the new semantics: if some man page is not present, and help2man
1649 is not either, then `missing' will warn and generate the replacement page
1650 containing the error message, but exit successfully. However, `make dist'
1651 will ensure that no such bogus man pages are packaged into a tarball.
1653 - Targets provided by automake behave better with `make -n', in that they
1654 take care not to create files.
1656 - `config.status Makefile... depfiles' works fine again in the presence of
1657 disabled dependency tracking.
1659 - The default no-op recursive rules for these targets also work with BSD make
1660 now: html, install-html, install-dvi, install-pdf, install-pdf, install-info.
1662 - `make distcheck' works also when both a directory and some file below it
1663 have been added to a distribution variable, such as EXTRA_DIST or *_SOURCES.
1665 - Texinfo dvi, ps, pdf, and html output files are not removed upon
1666 `make mostlyclean' any more; only the LaTeX by-products are.
1668 - Renamed objects also work with the `subdir-objects' option and
1669 source file languages which Automake does not know itself.
1671 - `automake' now correctly complains about variable assignments which are
1672 preceded by a comment, extend over multiple lines with backslash-escaped
1673 newlines, and end in a comment sign. Previous versions would silently
1674 and wrongly ignore such assignments completely.
1676 * Bugs introduced by 1.10:
1678 - Fix output of dummy dependency files in presence of post-processed
1679 Makefile.in's again, but also cope with long lines.
1681 - $(EXEEXT) is automatically appended to filenames of XFAIL_TESTS
1682 that have been declared as programs in the same Makefile.
1683 This is for consistency with the analogous change to TESTS in 1.10.
1685 - Fix order of standard includes to again be `-I. -I$(srcdir)',
1686 followed by directories containing config headers.
1688 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1692 * Version requirements:
1694 - Autoconf 2.60 or greater is required.
1696 - Perl 5.6 or greater is required.
1698 * Changes to aclocal:
1700 - aclocal now also supports -Wmumble and -Wno-mumble options.
1702 - `dirlist' entries (for the aclocal search path) may use shell
1703 wildcards such as `*', `?', or `[...]'.
1705 - aclocal supports an --install option that will cause system-wide
1706 third-party macros to be installed in the local directory
1707 specified with the first -I flag. This option also uses #serial
1708 lines in M4 files to upgrade local macros.
1710 The new aclocal options --dry-run and --diff help to review changes
1711 before they are installed.
1713 - aclocal now outputs an autoconf version check in aclocal.m4 in
1714 projects using automake.
1716 For a few years, automake and aclocal have been calling autoconf
1717 (or its underlying engine autom4te) to accurately retrieve the
1718 data they need from configure.ac and its siblings. Doing so can
1719 only work if all autotools use the same version of autoconf. For
1720 instance a Makefile.in generated by automake for one version of
1721 autoconf may stop working if configure is regenerated with another
1722 version of autoconf, and vice versa.
1724 This new version check ensures that the whole build system has
1725 been generated using the same autoconf version.
1727 * Support for new Autoconf macros:
1729 - The new AC_REQUIRE_AUX_FILE Autoconf macro is supported.
1731 - If `subdir-objects' is set, and AC_CONFIG_LIBOBJ_DIR is specified,
1732 $(LIBOBJS), $(LTLIBOBJS), $(ALLOCA), and $(LTALLOCA) can be used
1733 in different directories. However, only one instance of such a
1734 library objects directory is supported.
1736 * Change to Libtool support:
1738 - Libtool generic flags (those that go before the --mode=MODE option)
1739 can be specified using AM_LIBTOOLFLAGS and target_LIBTOOLFLAGS.
1741 * Yacc and Lex changes:
1743 - The rebuild rules for distributed Yacc and Lex output will avoid
1744 overwriting existing files if AM_MAINTAINER_MODE and maintainer-mode
1747 - ylwrap is now always used for lex and yacc source files,
1748 regardless of whether there is more than one source per directory.
1750 * Languages changes:
1752 - Preprocessed assembler (*.S) compilation now honors CPPFLAGS,
1753 AM_CPPFLAGS and per-target _CPPFLAGS, and supports dependency
1754 tracking, unlike non-preprocessed assembler (*.s).
1756 - subdir-object mode works now with Assembler. Automake assumes
1757 that the compiler understands `-c -o'.
1759 - Preprocessed assembler (*.S) compilation now also honors
1760 $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES).
1762 - Improved support for Objective C:
1763 - Autoconf's new AC_PROG_OBJC will enable automatic dependency tracking.
1764 - A new section of the manual documents the support.
1766 - New support for Unified Parallel C:
1767 - AM_PROG_UPC looks for a UPC compiler.
1768 - A new section of the manual documents the support.
1770 - Per-target flags are now correctly handled in link rules.
1772 For instance maude_CFLAGS correctly overrides AM_CFLAGS; likewise
1773 for maude_LDFLAGS and AM_LDFLAGS. Previous versions bogusly
1774 preferred AM_CFLAGS over maude_CFLAGS while linking, and they
1775 used both AM_LDFLAGS and maude_LDFLAGS on the same link command.
1777 The fix for compiler flags (i.e., using maude_CFLAGS instead of
1778 AM_CFLAGS) should not hurt any package since that is how _CFLAGS
1779 is expected to work (and actually works during compilation).
1781 However using maude_LDFLAGS "instead of" AM_LDFLAGS rather than
1782 "in addition to" breaks backward compatibility with older versions.
1783 If your package used both variables, as in
1785 AM_LDFLAGS = common flags
1786 bin_PROGRAMS = a b c
1787 a_LDFLAGS = more flags
1790 and assumed *_LDFLAGS would sum up, you should rewrite it as
1792 AM_LDFLAGS = common flags
1793 bin_PROGRAMS = a b c
1794 a_LDFLAGS = $(AM_LDFLAGS) more flags
1797 This new behavior of *_LDFLAGS is more coherent with other
1798 per-target variables, and the way *_LDFLAGS variables were
1799 considered internally.
1801 * New installation targets:
1803 - New targets mandated by GNU Coding Standards:
1808 By default they will only install Texinfo manuals.
1809 You can customize them with *-local variants:
1815 - The undocumented recursive target `uninstall-info' no longer exists.
1816 (`uninstall' is in charge of removing all possible documentation
1817 flavors, including optional formats such as dvi, ps, or info even
1818 when `no-installinfo' is used.)
1820 * Miscellaneous changes:
1822 - Automake no longer complains if input files for AC_CONFIG_FILES
1823 are specified using shell variables.
1825 - clean, distribution, or rebuild rules are normally disabled for
1826 inputs and outputs of AC_CONFIG_FILES, AC_CONFIG_HEADERS, and
1827 AC_CONFIG_LINK specified using shell variables. However, if these
1828 variables are used as ${VAR}, and AC_SUBSTed, then Automake will
1829 be able to output rules anyway.
1830 (See the Automake documentation for AC_CONFIG_FILES.)
1832 - $(EXEEXT) is automatically appended to filenames of TESTS
1833 that have been declared as programs in the same Makefile.
1834 This is mostly useful when some check_PROGRAMS are listed in TESTS.
1836 - `-Wportability' has finally been turned on by default for `gnu' and
1837 `gnits' strictness. This means, automake will complain about %-rules
1838 or $(GNU Make functions) unless you switch to `foreign' strictness or
1839 use `-Wno-portability'.
1841 - Automake now uses AC_PROG_MKDIR_P (new in Autoconf 2.60), and uses
1842 $(MKDIR_P) instead of $(mkdir_p) to create directories. The
1843 $(mkdir_p) variable is still defined (to the same value as
1844 $(MKDIR_P)) but should be considered obsolete. If you are using
1845 $(mkdir_p) in some of your rules, please plan to update them to
1846 $(MKDIR_P) at some point.
1848 - AM_C_PROTOTYPES and ansi2knr are now documented as being obsolete.
1849 They still work in this release, but may be withdrawn in a future one.
1851 - Inline compilation rules for gcc3-style dependency tracking are
1854 - Automake installs a "Hello World!" example package in $(docdir).
1855 This example is used throughout the new "Autotools Introduction"
1856 chapter of the manual.
1858 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1862 * Makefile.in bloat reduction:
1864 - Inference rules are used to compile sources in subdirectories when
1865 the `subdir-objects' option is used and no per-target flags are
1866 used. This should reduce the size of some projects a lot, because
1867 Automake used to output an explicit rule for each such object in
1870 - Automake no longer outputs three rules (.o, .obj, .lo) for each
1871 object that must be built with explicit rules. It just outputs
1872 the rules required to build the kind of object considered: either
1873 the two .o and .obj rules for usual objects, or the .lo rule for
1876 * Change to Libtool support:
1878 - Libtool tags are used with libtool versions that support them.
1879 (I.e., with Libtool 1.5 or greater.)
1881 - Automake is now able to handle setups where a libtool library is
1882 conditionally installed in different directories, as in
1885 lib_LTLIBRARIES = liba.la
1887 pkglib_LTLIBRARIES = liba.la
1889 liba_la_SOURCES = ...
1891 * Changes to aclocal:
1893 - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
1894 really evaluated, before it decides to include them in aclocal.m4.
1895 This solves nasty problems with conditional redefinitions of
1896 Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
1897 *.m4 files to be included in any project using these macros.
1898 (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
1899 most famous instance of this bug.)
1901 - Do not complain about missing conditionally AC_REQUIREd macros
1902 that are not actually used. In 1.8.x aclocal would correctly
1903 determine which of these macros were really needed (and include
1904 only these in the package); unfortunately it would also require
1905 all of them to be present in order to run. This created
1906 situations were aclocal would not work on a tarball distributing
1907 all the macros it uses. For instance running aclocal on a project
1908 containing only the subset of the Gettext macros in use by the
1909 project did not work, because gettext conditionally requires other
1912 * Portability improvements:
1914 - Tar format can be chosen with the new options tar-v7, tar-ustar, and
1915 tar-pax. The new option filename-length-max=99 helps diagnosing
1916 filenames that are too long for tar-v7. (PR/414)
1918 - Variables augmented with `+=' are now automatically flattened (i.e.,
1919 trailing backslashes removed) and then wrapped around 80 columns
1920 (adding trailing backslashes). In previous versions, a long series
1926 would result in a single-line definition of VAR that could possibly
1927 exceed the maximum line length of some make implementations.
1929 Non-augmented variables are still output as they are defined in
1934 - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
1935 Works the same as the old Fortran 77 implementation; just replace
1936 F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
1937 Requires a version of autoconf which provides AC_PROG_FC (>=2.59).
1939 - Support for conditional _LISP.
1941 - Support for conditional -hook and -local rules (PR/428).
1943 - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)
1945 - Automake will not write any Makefile.ins after the first error it
1946 encounters. The previous Makefile.ins (if any) will be left in
1947 place. (Warnings will not prevent output, but remember they can
1948 be turned into errors with -Werror.)
1950 - The restriction that SUBDIRS must contain direct children is gone.
1953 - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
1954 It also gives an example of nested packages using AC_CONFIG_SUBDIRS.
1956 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1958 Bugs fixed in 1.8.5:
1960 * Long-standing bugs:
1962 - Define DIST_SUBDIRS even when the `no-dist' or `cygnus' options are used
1963 so that `make distclean' and `make maintainer-clean' can work.
1965 - Define AR and ARFLAGS even when only EXTRA_LIBRARIES are defined.
1967 - Fix many rules to please FreeBSD make, which runs commands with `sh -e'.
1969 - Polish diagnostic when no input file is found.
1971 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1973 Bugs fixed in 1.8.4:
1975 * Long-standing bugs:
1977 - Fix AM_PATH_PYTHON to correctly display $PYTHON when it has been
1978 overridden by the user.
1980 - Honor PATH_SEPARATOR in various places of the Automake package, for
1983 - Adjust dependency tracking mode detection to ICC 8.0's new output.
1986 - Fix install-sh so it can install the `mv' binary... using `mv'.
1988 - Fix tru64 dependency tracking for libtool objects.
1990 - Work around Exuberant Ctags when creating a TAGS files in a directory
1991 without files to scan but with subdirectories to include.
1993 * Bugs introduced by 1.8:
1995 - Fix an "internal error" when @LIBOBJS@ is used in a variable that is
1996 not defined in the same conditions as the _LDADD that uses it.
1998 - Do not warn when JAVAROOT is overridden, this is legitimate.
2000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2002 Bugs fixed in 1.8.3:
2004 * Long-standing bugs:
2006 - Quote filenames in installation rules, in case $DESTDIR, $prefix,
2007 or any of the other *dir variables contain a space.
2009 Please note that Automake does not and cannot support spaces in
2010 filenames that are involved during the build. This change affects
2011 only installation paths, so that `make install' does not bomb out
2012 in packages configured with
2013 ./configure --prefix '/c/Program Files'
2015 - Fix the depfiles output so it works with GNU sed (<4.1) even when
2016 POSIXLY_CORRECT is set.
2018 - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX. This macro was unusable
2019 since Autoconf 2.54, which defines LIBOBJS itself.
2021 - Fix a potential (but unlikely) race condition in parallel elisp
2022 builds. (Introduced in 1.7.3.)
2024 - Do not assume that users override _DEPENDENCIES in all conditions
2025 where Automake will try to define them.
2027 - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
2028 Solaris 8's `mkdir -p' is not thread-safe and can break parallel
2031 This fix also affects the $(mkdir_p) variable defined since
2032 Automake 1.8. It will be set to `mkdir -p' only if mkdir is GNU
2033 mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
2035 - Secure temporary directory creation in `make distcheck'. (PR/413)
2037 - Do not generate two build rules for `parser.h' when the
2038 parser appears in two different conditionals.
2040 - Work around a Solaris 8 /bin/sh bug in the test for dependency
2041 checking. Usually ./configure will not pick this shell; so this
2042 fix only helps cases where the shell is forced to /bin/sh.
2044 * Bugs introduced by 1.8:
2046 - In some situations (hand-written `m4_include's), aclocal would
2047 call the `File::Spec->rel2abs' method, which was only introduced
2048 in Perl 5.6. This new version reestablish support Perl 5.005.
2050 It is likely that the next major Automake releases will require at
2051 least Perl 5.6. Consider upgrading your development environment
2052 if you are still using the five-year-old Perl 5.005.
2054 - Automake would sometimes fail to define rules for targets listed
2055 in variables defined in multiple conditions. For instance on
2061 it would define only the `a.$(OBJEXT): a.c' rule and omit the
2062 `b.$(OBJEXT): b.c' rule.
2064 * New sections in manual:
2066 - Third-Party Makefiles: how to interface third party Makefiles.
2067 - Upgrading: upgrading packages to newer Automake versions.
2068 - Multiple Outputs: handling tools that produce many outputs.
2070 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2074 * A (well known) portability bug slipped in the changes made to
2075 install-sh in Automake 1.8.1. The broken install-sh would refuse to
2076 install anything on Tru64.
2078 * Fix install rules for conditionally built python files. (This never
2081 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2085 * Bugs introduced by 1.8:
2087 - Fix Config.pm import error with old Perl versions (at least
2088 5.005_03). One symptom is that aclocal could not find its macro
2091 - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
2092 created by `make install' are always world readable, even if the
2093 installer happens to have an overly restrictive umask (e.g. 077).
2094 This was a mistake and has been reverted. There are at least two
2095 reasons why we must not use `-m 0755':
2096 - it causes special bits like SGID to be ignored,
2097 - it may be too restrictive (some setups expect 775 directories).
2099 - Fix aclocal to honor definitions located in files which have been
2100 m4_included manually. aclocal 1.8 had been updated to check
2101 m4_included files for new requirements, but forgot that these
2102 m4_included files can also provide new definitions.
2104 Note that if you have such a setup, we recommend you get rid of
2105 it. In the past, there was a reason to m4_include files manually:
2106 aclocal used to duplicate entire M4 files into aclocal.m4, even
2107 files that were distributed. Some packages were therefore
2108 m4_including the distributed file directly, and playing some
2109 tricks to ensure aclocal would not copy that file to aclocal.m4,
2110 in order to limit the amount of duplication. Since aclocal 1.8.x
2111 will precisely output m4_includes for local M4 files, we recommend
2112 that you clean up your setup, removing all manual m4_includes and
2113 letting aclocal output them.
2115 - Output detailed menus in the Info version if the Automake manual,
2116 so that Emacs can locate the indexes.
2118 - configure.ac and configure were listed twice in DIST_COMMON (an
2119 internal variable where Automake lists configury files to
2120 distribute). This was harmless, but unaesthetic.
2122 - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
2123 This was an issue only in the Automake package itself, not in
2126 - Automake assumed that all AC_CONFIG_LINKS arguments had the form
2127 DEST:SRC. This was wrong, as some packages do
2128 AC_CONFIG_LINKS($computedlinks). This version no longer abort in
2131 - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
2132 argument. This caused two kinds of failures:
2133 - Rules installing data in a conditionally defined directory
2134 failed when that directory was undefined. In this case no
2135 argument was supplied.
2136 - `make installdirs' failed, because several directories were
2137 passed to $(mkdir_p). This was an issue only on platform
2138 were $(mkdir_p) is implemented with `install-sh -d'.
2139 $(mkdir_p) as been changed to accept 0 or more arguments, as
2142 * Long-standing bugs:
2144 - Fix an unexpected diagnostic occurring when users attempt
2145 to override some internal variables that Automake appends to.
2147 - aclocal now scans configure.ac for macro definitions (PR/319).
2149 - Fix a portability issue with OSF1/Tru64 Make. If a directory
2150 distributes files which are outside itself (this usually occurs
2151 when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
2152 from a parent package), then `make distcheck' fails due to an
2153 optimization performed by OSF1/Tru64 Make in its VPATH handling.
2154 (tests/subpkg2.test failure)
2156 - Fix another portability issue with Sun and OSF1/Tru64 Make.
2157 In a VPATH-build configuration, `make install' would install
2158 nobase_ files to wrong locations.
2160 - Fix a Perl `uninitialized value' diagnostic occurring when
2161 automake complains that a Texinfo file does not have a
2162 @setfilename statement.
2164 - Erase config.status.lineno during `make distclean'. This file
2165 can be created by config.status. Automake already knew about
2166 configure.lineno, but forgot config.status.lineno.
2168 - Distribute all files, even those which are built and installed
2169 conditionally. This change affects files listed in conditionally
2170 defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
2171 as well as those listed in conditionally defined dist_*_DATA,
2172 dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
2174 - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
2175 doesn't conform to POSIX.
2177 - Normalize help strings for configure variables and options added
2182 - Check for python2.4 in AM_PATH_PYTHON.
2184 * Spurious failures in test suite:
2186 - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
2187 tests/ltconv.test: fix failures with CVS Libtool.
2188 - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
2189 - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
2190 fix failures with old Texinfo versions.
2192 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2198 - The NEWS file is more verbose.
2202 - Autoconf 2.58 or greater is required.
2206 - Default source file names in the absence of a _SOURCES declaration
2207 are made by removing any target extension before appending `.c', so
2208 to make the libtool module `foo.la' from `foo.c', you only need to
2211 lib_LTLIBRARIES = foo.la
2212 foo_la_LDFLAGS = -module
2214 For backward compatibility, foo_la.c will be used instead of
2215 foo.c if this file exists or is the explicit target of a rule.
2216 However -Wobsolete will warn about this deprecated naming.
2218 - AR's `cru' flags are now set in a global ARFLAGS variable instead
2219 of being hard-coded in each $(AR) invocation, so they can be
2220 substituted from configure.ac. This has been requested by people
2221 dealing with non-POSIX ar implementations.
2223 - New warning option: -Woverride. This will warn about any user
2224 target or variable definitions which override Automake
2227 - Texinfo rules back up and restore info files when makeinfo fails.
2229 - Texinfo rules now support the `html' target.
2230 Running this requires Texinfo 4.0 or greater.
2232 `html' is a new recursive target, so if your package mixes
2233 hand-crafted `Makefile.in's with Automake-generated
2234 `Makefile.in's, you should adjust the former to support (or
2235 ignore) this target so that `make html' recurses successfully. If
2236 you had a custom `html' rule in your `Makefile.am', it's better to
2237 rename it as `html-local', otherwise your rule will override
2238 Automake's new rule (you can check that by running `automake
2239 -Woverride') and that will stop the recursion to subdirectories.
2241 Last but not least, this `html' rule is declared PHONY, even when
2242 overridden. Fortunately, it appears that few packages use a
2243 non-PHONY `html' rule.
2245 - Any file which is m4_included from configure.ac will appear as a
2246 configure and Makefile.in dependency, and will be automatically
2249 - The rules for rebuilding Makefiles and Makefile.ins will now
2250 rebuild all Makefiles and all Makefile.ins at once when one of
2251 configure's dependencies has changed. This is considerably faster
2252 than previous implementations, where config.status and automake
2253 were run separately in each directory (this still happens when you
2254 change a Makefile.am locally, without touching configure.ac or
2255 friends). Doing this also solves a longstanding issue: these
2256 rebuild rules failed to work when adding new directories to the
2257 tree, forcing you to run automake manually.
2259 - For similar reasons, the rules to rebuild configure,
2260 config.status, and aclocal.m4 are now defined in all directories.
2261 Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
2262 CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
2263 should better define them in all directories. This is easily done
2264 using an AC_SUBST (make sure you prefix these dependencies with
2265 $(top_srcdir) since this variable will appear at different
2266 levels of the build tree).
2268 - aclocal will now use `m4_include' instead of copying local m4
2269 files into aclocal.m4. (Local m4 files are those you ship with
2270 your project, other files will be copied as usual.)
2272 Because m4_included files are automatically distributed, it means
2273 for most projects there is no point in EXTRA_DISTing the list of
2274 m4 files which are used. (You can probably get rid of
2275 m4/Makefile.am if you had one.)
2277 - aclocal will avoid touching aclocal.m4 when possible, so that
2278 Autom4te's cache isn't needlessly invalidated. This behavior can
2279 be switched off with the new `--force' option.
2281 - aclocal now uses Autoconf's --trace to detect macros which are
2282 actually used and will no longer include unused macros simply
2283 because they where mentioned. This was often the case for macros
2284 called conditionally.
2286 - New options no-dist and no-dist-gzip.
2288 - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
2289 py-compile, and ylwrap, now all understand --version and --help.
2291 - Automake will now recognize AC_CONFIG_LINKS so far as removing created
2292 links as part of the distclean target and including source files in
2295 - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
2296 argument. The latter can be used to override the default behavior
2297 (which is to abort).
2299 - Automake will exit with $? = 63 on version mismatch. (So does
2300 Autoconf 2.58) missing knows this, and in this case it will
2301 emulate the tools as if they were absent. Because older versions
2302 of Automake and Autoconf did not use this exit code, this change
2303 will only be useful in projects generated with future versions of
2306 - When using AC_CONFIG_FILES with multiple input files, Automake
2307 generates the first ".in" input file for which a ".am" exists.
2308 (Former versions would try to use only the first input file.)
2310 - lisp_DATA is now allowed. If you are using the empty ELCFILES
2311 idiom to disable byte-compilation of lisp_LISP files, it is
2312 recommended that you switch to using lisp_DATA. Note that
2313 this is not strictly equivalent: lisp_DATA will install elisp
2314 files even if emacs is not installed, while *_LISP do not
2315 install anything unless emacs is found.
2317 - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
2318 available. This selection is achieved through the Makefile
2319 variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
2320 `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
2321 `$(install_sh) -m 0755 -d'.
2325 - Because `mkdir -p' is available on most platforms, and we can use
2326 `install-sh -d' when it is not, the use of the mkinstalldirs
2327 script is being phased out. `automake --add-missing' no longer
2328 installs it, and if you remove mkinstalldirs from your package,
2329 automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
2331 Gettext 0.12.1 still requires mkinstalldirs. Fortunately
2332 gettextize and autopoint will install it when needed. Automake
2333 will continue to define the $(mkinstalldirs) and to distribute
2334 mkinstalldirs when this script is in the source tree.
2336 - AM_PROG_CC_STDC is now empty. The content of this macro was
2337 merged in AC_PROG_CC. If your code uses $am_cv_prog_cc_stdc, you
2338 should adjust it to use $ac_cv_prog_cc_stdc instead. (This
2339 renaming should be safe, even if you have to support several,
2340 versions of Automake, because AC_PROG_CC defines this variable
2341 since Autoconf 2.54.)
2343 - Some users where using the undocumented ACLOCAL_M4_SOURCES
2344 variable to override the aclocal.m4 dependencies computed
2345 (inaccurately) by older versions of Automake. Because Automake
2346 now tracks configure's m4 dependencies accurately (see m4_include
2347 above), the use of ACLOCAL_M4_SOURCES should be considered
2348 obsolete and will be flagged as such when running `automake
2353 - Defining programs conditionally using Automake conditionals no
2354 longer leads to a combinatorial explosion. The following
2355 construct used to be troublesome when used with dozens of
2370 Likewise for _SOURCES, _LDADD, and _LIBADD variables.
2372 - Due to implementation constraints, previous versions of Automake
2373 proscribed multiple conditional definitions of some variables
2383 All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
2384 This restriction has been lifted, and these variables now
2385 support multiple conditional definitions as do other variables.
2387 - Cleanup the definitions of $(distdir) and $(top_distdir).
2388 $(top_distdir) now points to the root of the distribution
2389 directory created during `make dist', as it did in Automake 1.4,
2390 not to the root of the build tree as it did in intervening
2391 versions. Furthermore these two variables are now only defined in
2392 the top level Makefile, and passed to sub-directories when running
2395 - The --no-force option now correctly checks the Makefile.in's
2396 dependencies before deciding not to update it.
2398 - Do not assume that make files are called Makefile in cleaning rules.
2400 - Update .info files in the source tree, not in the build tree. This
2401 is what the GNU Coding Standard recommend. Only Automake 1.7.x
2402 used to update these files in the build tree (previous versions did
2403 it in the source tree too), and it caused several problems, varying
2404 from mere annoyance to portability issues.
2406 - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
2407 when --add-missing and --force-missing are used. For backward
2408 compatibility --add-missing will continue to install COPYING (in
2409 `gnu' strictness) when none of these three files exist, but this
2410 use is deprecated: you should better choose a license yourself and
2411 install it once for all in your source tree (and in your code
2414 - Fix ylwrap so that it does not overwrite header files that haven't
2415 changed, as the inline rule already does.
2417 - User-defined rules override automake-defined rules for the same
2418 targets, even when rules do not have commands. This is not new
2419 (and was documented), however some of the automake-generated
2420 rules have escaped this principle in former Automake versions.
2421 Rules for the following targets are affected by this fix:
2423 clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
2424 info, info-am, install-data-am, install-exec-am, install-info,
2425 install-info-am, install-man, installcheck-am, maintainer-clean,
2426 maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
2427 ps, ps-am, uninstall-am, uninstall-info, uninstall-man
2429 Practically it means that an attempt to supplement the dependencies
2430 of some target, as in
2432 clean: my-clean-rule
2434 will now *silently override* the automake definition of the
2435 rule for this target. Running `automake -Woverride' will diagnose
2436 all such overriding definitions.
2438 It should be noted that almost all of these targets support a *-local
2439 variant that is meant to supplement the automake-defined rule
2440 (See node `Extending' in the manual). The above rule should
2443 clean-local: my-clean-rule
2445 These *-local targets have been documented since at least
2446 Automake 1.2, so you should not fear the change if you have
2447 to support multiple automake versions.
2451 - The Automake manual is now distributed under the terms of the GNU FDL.
2453 - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
2455 - core dumps are no longer removed by the cleaning rules. There are
2456 at least three reasons for this:
2457 1. These files should not be created by any build step,
2458 so their removal do not fit any of the cleaning rules.
2459 Actually, they may be precious to the developer.
2460 2. If such file is created during a build, then it's clearly a
2461 bug Automake should not hide. Not removing the file will
2462 cause `make distcheck' to complain about its presence.
2463 3. Operating systems have different naming conventions for
2464 core dump files. A core file on one system might be a
2465 completely legitimate data file on another system.
2467 - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
2468 defined by Automake. This means that any definition in the
2469 environment will be used, unless overridden in the Makefile.am or
2470 on the command line. The old behavior, where these variables were
2471 defined empty in each Makefile, can be obtained by AC_SUBSTing or
2472 AC_ARG_VARing each variable from configure.ac.
2474 - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
2475 documented. (The is not a new feature, these variables have
2476 been there since at least Automake 1.4.)
2478 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2480 Bugs fixed in 1.7.9:
2481 * Fix install-strip to work with nobase_ binaries.
2482 * Fix renaming of #line directives in ylwrap.
2483 * Rebuild with Autoconf 2.59. (1.7.8 was not installable with pdksh.)
2485 Bugs fixed in 1.7.8:
2486 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
2487 * Fix detection of Debian's install-info, broken since version 1.5.
2488 (Debian bug #213524).
2489 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
2490 This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
2492 Bugs fixed in 1.7.7:
2493 * The implementation of automake's --no-force option is unreliable,
2494 so this option is ignored in this version. A real fix will appear in
2495 Automake 1.8. (Debian Bug #206299)
2496 * AM_PATH_PYTHON: really check the whole list of interpreters if no
2497 argument is given. (PR/399)
2498 * Do not warn about leading `_' in variable names, even with -Wportability.
2499 * Support user redefinitions of TEXINFO_TEX.
2500 * depcomp: support AIX Compiler version 6.
2501 * Fix missing rebuilds during `make dist' with BSD make.
2502 (Could produce tarballs containing out-of-date files.)
2503 * Resurrect multilib support.
2504 * Noteworthy manual updates:
2505 - Extending aclocal: how to write m4 macros that won't trigger warnings
2507 - A Shared Library: Rewrite and split into subsections.
2509 Bugs fixed in 1.7.6:
2510 * Fix depcomp's icc mode for ICC 7.1.
2511 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
2512 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
2513 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
2514 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
2515 * Remove Latin-1 characters from elisp-comp.
2516 * Update the manual's @dircategory to match the Free Software Directory.
2518 Bugs fixed in 1.7.5:
2519 * Update install-sh's license to remove an advertising clause.
2520 (Debian bug #191717)
2521 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
2522 that caused invalid Makefile.ins to be generated.
2523 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
2524 * New FAQ entry: renamed objects.
2526 Bugs fixed in 1.7.4:
2527 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
2528 the Emacs implementation)
2529 * Fix output of aclocal.m4 dependencies in subdirectories.
2530 * Use `mv -f' instead of `mv' in fastdep rules.
2531 * Upgrade mdate-sh to work on OS/2.
2532 * Don't byte-compile elisp files when ELCFILES is set empty.
2533 (this documented feature was broken by 1.7.3)
2534 * Diagnose trailing backslashes on last line of Makefile.am.
2535 * Diagnose whitespace following trailing backslashes.
2536 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
2537 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
2539 * `make install' will build `BUILT_SOURCES' first.
2540 * Minor documentation fixes.
2542 Bugs fixed in 1.7.3:
2543 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
2544 * Query distutils for `pythondir' and `pythonexecdir', instead of
2545 using an hardcoded path. This should allow builds on 64-bit
2546 distributions that usually use lib64/ instead of lib/.
2547 * AM_PATH_PYTHON will also search for python2.3.
2548 * elisp files are now built all at once instead of one by one. Besides
2549 incurring a speed-up, this is required to support interdependent elisp files.
2550 * Support for DJGPP:
2551 - `make distcheck' will now work in `_inst/' and `_build' instead
2552 of `=inst/' and `=build/'
2553 - use `_dirstamp' when the file-system doesn't support `.dirstamp'
2554 - install/uninstall `*.i[0-9][0-9]'-style info files
2555 - more changes that affect only the Automake package (not its output)
2556 * Fix some incompatibilities with upcoming perl-5.10.
2557 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
2558 PACKAGE and VERSION.
2560 - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
2561 is troublesome with gcc and Solaris compilers. (PR/385)
2562 - makedepend mode: work with Libtool. (PR/385 too)
2564 * better support for unusual gettext setups, such as multiple po/ directories
2566 - Flag missing po/ and intl/ directories as warnings, not errors.
2567 - Disable these warnings if po/ does not exist.
2568 * Noteworthy manual updates:
2570 - Document how AC_CONFIG_AUX_DIR interacts with missing files.
2572 - Document `AM_YFLAGS = -d'. (PR/382)
2574 Bugs fixed in 1.7.2:
2575 * Fix installation and uninstallation of Info files built in subdirectories.
2576 * Do not run `./configure --with-included-gettext' during `make distcheck'
2577 if AM_GNU_GETTEXT([external]) is used.
2578 * Correctly uninstall renamed man pages.
2579 * Do not strip escaped newline in variables defined in one condition
2580 and augmented in another condition.
2581 * Fix ansi2knr rules for LIBOBJS sources.
2582 * Clean all known Texinfo index files, not only those which appear to
2583 be used, because we cannot know which indexes are used in included files.
2584 (PR/375, Debian Bug #168671)
2585 * Honor only the first @setfilename seen in a Texinfo file.
2586 * Treat "required file X not found" diagnostics as errors (exit status 1).
2587 * Don't complain that a required file is not found when it is a Makefile
2589 * Don't use single suffix inference rules when building `.info'-less
2590 Info files, for the sake of Solaris make.
2591 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
2592 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
2593 * Warn about multiple inference rules when -Wportability is used. (PR/372)
2594 * Fix building of deansified files from subdirectories. (PR/370)
2595 * Add missing `fi' in the .c->.obj rules.
2596 * Improve install-sh to work even when names contain spaces or certain
2597 (but not all) shell metachars.
2598 * Fix the following spurious failures in the test suite:
2599 depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
2600 * Noteworthy manual updates:
2601 - Augment the section about BUILT_SOURCES.
2602 - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
2604 Bugs fixed in 1.7.1:
2605 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
2607 * Aclocal should now recognize macro names containing parentheses, e.g.
2608 AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
2609 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
2611 * Install Python files even if they were built. (PR/369)
2612 * Have stamp-vti dependent upon configure instead of configure.ac, as the
2613 version might not be defined in the latter. (PR/358)
2614 * Reorder arguments passed to a couple of commands, so things works
2615 when POSIXLY_CORRECT=1.
2616 * Fix a regex that can cause Perl to segfault on large input.
2618 * Fix distribution of packages that have some sources defined conditionally,
2619 as in the `Conditional compilation using Automake conditionals' example
2621 * Fix spurious test suite failures on IRIX.
2622 * Don't report a required variable as undefined if it has been
2623 defined conditionally for the "right" conditions.
2624 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
2625 `make distcheck' fails.
2626 * Fix distribution of included Makefile fragment, so we don't create
2627 spurious directories in the distribution. (PR/366)
2628 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
2631 * Autoconf 2.54 is required.
2632 * `aclocal' and `automake' will no longer warn about obsolete
2633 configure macros. This is done by `autoconf -Wobsolete'.
2634 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
2635 AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
2636 supported). You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
2637 and AC_HEADER_TIOCGWINSZ instead. `autoupdate' can upgrade
2638 `configure.ac' for you.
2639 * Support for per-program and per-library `_CPPFLAGS'.
2640 * New `ctags' target (builds CTAGS files).
2641 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
2642 (see `automake --help' or the manual for a list of them).
2643 * Honor the WARNINGS environment variable.
2644 * Omit the call to depcomp when using gcc3: call the compiler directly.
2645 * A new option, std-options, tests that programs support --help and --version
2646 when `make installcheck' is run. This is enabled by --gnits.
2647 * Texinfo rules now support the `ps' and `pdf' targets.
2648 * Info files are now created in the build directory, not the source directory.
2649 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
2651 * `make distcheck' will enforce DESTDIR support by attempting
2653 * `+=' can be used in conditionals, even if the augmented variable
2654 was defined for another condition.
2655 * Makefile fragments (inserted with `include') are always distributed.
2656 * Use Autoconf's --trace interface to inspect configure.ac and get
2657 a more accurate view of it.
2658 * Add support for extending aclocal's default macro search path
2659 using a `dirlist' file within the aclocal directory.
2660 * automake --output-dir is deprecated.
2661 * The part of the distcheck target that checks whether uninstall actually
2662 removes all installed files has been moved in a separate target,
2663 distuninstallcheck, so it can be overridden easily.
2667 * Support for AM_INIT_GETTEXT([external])
2668 * Bug fixes, including:
2669 - Fix Automake's own `make install' so it works even if `ln' doesn't.
2670 - nobase_ programs and scripts honor --program-transform correctly.
2671 - Erase configure.lineno during `make distclean'.
2672 - Erase YACC and LEX outputs during `make maintainer-clean'.
2675 * Many bug fixes, including:
2676 - Requiring the current version works.
2677 - Fix "$@" portability issues (for Zsh).
2678 - Fix output of dummy dependency files in presence of post-processed
2680 - Don't compute dependencies in background to avoid races with libtool.
2681 - Fix handling of _OBJECTS variables for targets sharing source variables.
2682 - Check dependency mode for Java when AM_PROG_GCJ is used.
2685 * automake --output-dir is deprecated
2686 * Many bug fixes, including:
2687 - Don't choke on AM_LDFLAGS definitions.
2688 - Clean libtool objects from subdirectories.
2689 - Allow configure variables with reserved suffix and unknown prefix
2690 (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
2691 - Fix the definition of AUTOMAKE and ACLOCAL in configure.
2694 * Autoconf 2.52 is required.
2695 * automake no longer run libtoolize.
2696 This is the job of autoreconf (from GNU Autoconf).
2697 * `dist' generates all the archive flavors, as did `dist-all'.
2698 * `dist-gzip' generates the Gzip tar file only.
2699 * Combining Automake Makefile conditionals no longer lead to a combinatorial
2700 explosion. Makefile.in's keep a reasonable size.
2701 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
2702 are no longer shipped, since Autoconf 2.52 provides them (both as AM_
2704 * `#line' of Lex and Yacc files are properly set.
2705 * EXTRA_DIST can contain generated directories.
2706 * Support for dot-less extensions in suffix rules.
2707 * The part of the distcheck target that checks whether distclean actually
2708 cleans all built files has been moved in a separate target, distcleancheck,
2709 so it can be overridden easily.
2710 * `make distcheck' will pass additional options defined in
2711 $(DISTCHECK_CONFIGURE_FLAGS) to configure.
2712 * Fixed CDPATH portability problems, in particular for MacOS X.
2713 * Fixed handling of nobase_ targets.
2714 * Fixed support of implicit rules leading to .lo objects.
2715 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
2716 * Added uninstall-hook target
2717 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
2718 You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
2719 (Note that "pkgname" is not "tarname", see the manual for details.)
2720 It is also possible to pass a list of global Automake options as
2721 first argument to this new form of AM_INIT_AUTOMAKE.
2722 * Compiler-based assembler is now called `CCAS'; people expected `AS'
2723 to be a real assembler.
2724 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it. Adding
2725 AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
2726 * aclocal and automake are also installed with the version number
2727 appended, and some of the install directory names have changed.
2728 This lets you have multiple versions installed simultaneously.
2729 * Support for parsers and lexers in subdirectories.
2732 * Support for `configure.ac'.
2733 * Support for `else COND', `endif COND' and negated conditions `!COND'.
2734 * `make dist-all' is much faster.
2735 * Allows '@' AC_SUBSTs in macro names.
2736 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
2737 * User-side dependency tracking. Developers no longer need GNU make
2739 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
2740 * Most files are correctly handled if they appear in subdirs
2741 For instance, a _DATA file can appear in a subdir
2742 * GNU tar is no longer required for `make dist'
2743 * Added support for `dist_' and `nodist_' prefixes
2744 * Added support for `nobase_' prefix
2745 * Compiled Java support
2746 * Support for per-executable and per-library compilation flags
2750 * Added support for the Fortran 77 programming language.
2751 * Re-indexed the Automake Texinfo manual.
2752 * Added `AM_FOOFLAGS' variable for each compiler invocation;
2753 e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
2754 * Support for latest autoconf, including support for objext
2755 * Can now put `.' in SUBDIRS to control build order
2756 * `include' command and `+=' support for macro assignment
2757 * Dependency tracking no long susceptible to deleted header file problem
2758 * Maintainer mode now a conditional. @MAINT@ is now an anachronism.
2763 * Better Cygwin32 support
2764 * Support for suffix rules with _SOURCES variables
2765 * New options `readme-alpha' and `check-news'; Gnits mode sets these
2766 * @LEXLIB@ no longer required when lex source seen
2767 Lex support in `missing', and new lex macro. Update your missing script.
2768 * Built-in support for assembly
2769 * aclocal gives error if `AM_' macro not found
2770 * Passed YFLAGS, not YACCFLAGS, to yacc
2771 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
2772 * Dependencies computed as a side effect of compilation
2773 * Preliminary support for Java
2774 * DESTDIR support at "make install" time
2775 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
2779 * Better DejaGnu support
2780 * Added no-installinfo option
2781 * Added Emacs Lisp support
2782 * Added --no-force option
2783 * Included `aclocal' program
2784 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
2785 * Now uses `AM_' macro names everywhere
2786 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
2787 ansi2knr now works correctly on K&R sources
2788 * Better C++, yacc, lex support
2789 * Will compute _DEPENDENCIES variables automatically if not supplied
2790 * Will interpolate $(...) and ${...} when examining contents of a variable
2791 * .deps files now in build directory, not source directory; dependency
2792 handling generally rewritten
2793 * DATA, MANS and BUILT_SOURCES no longer included in distribution
2794 * can now put config.h into a subdir
2795 * Added dist-all target
2796 * Support for install-info program (see texinfo 3.9)
2797 * Support for "yacc -d"
2798 * configure substitutions are automatically discovered and included
2799 in generated Makefile.in
2800 * Special --cygnus mode
2801 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
2802 when making distribution. Some dependencies are auto-ignored.
2803 * Changed how libraries are specified in _LIBRARIES variable
2804 * Full libtool support, from Gord Matzigkeit
2805 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
2806 AM_CONFIG_HEADER handles it automatically
2807 * Texinfo output files no longer need .info extension
2808 * Added `missing' support
2810 * Conditionals in Makefile.am, from Ian Taylor
2814 * distcheck target runs install and installcheck targets
2815 * Added preliminary support for DejaGnu.
2820 * More libtool fixes from Gord Matzigkeit; libtool support is still
2822 * Added support for jm_MAINTAINER_MODE
2824 * New "distcheck" target
2828 * mkinstalldirs and mdate-sh now appear in directory specified by
2830 * Removed DIST_SUBDIRS, DIST_OTHER
2831 * AC_ARG_PROGRAM only required when an actual program exists
2832 * dist-hook target now run before distribution packaged up; idea from
2833 Dieter Baron. Other hooks exist, too.
2834 * Preliminary (unfinished) support for libtool
2835 * Added short option names.
2836 * Better "dist" support when gluing together multiple packages
2840 * Documentation updates (many from François Pinard)
2841 * strictness `normal' now renamed to `foreign'
2842 * Renamed --install-missing to --add-missing
2843 * Now handles AC_CONFIG_AUX_DIR
2844 * Now handles TESTS macro
2845 * DIST_OTHER renamed to EXTRA_DIST
2846 * DIST_SUBDIRS is deprecated
2847 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
2848 * Better error messages in many cases
2849 * Program names are canonicalized
2850 * Added "check" prefix; from Gord Matzigkeit
2854 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
2855 * Beginnings of a test suite
2856 * Automatically adds -I options for $(srcdir), ".", and path to config.h
2857 * Doesn't print anything when running
2858 * Beginnings of MAINT_CHARSET support
2859 * Can specify version in AUTOMAKE_OPTIONS
2860 * Most errors recognizable by Emacs' M-x next-error
2861 * Added --verbose option
2862 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
2863 configure-generated names
2864 * Required macros now distributed in aclocal.m4
2866 * --strictness=gnu is default
2870 * More sophisticated configure.in scanning; now understands ALLOCA and
2871 LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
2872 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
2873 * CONFIG_HEADER variable now obsolete
2874 * Can handle multiple Texinfo sources
2875 * Allow hierarchies deeper than 2. From Gord Matzigkeit.
2876 * HEADERS variable no longer needed; now can put .h files directly into
2877 foo_SOURCES variable.
2878 * Automake automatically rebuilds files listed in AC_OUTPUT. The
2879 corresponding ".in" files are included in the distribution.
2882 * Added --gnu and --gnits options
2883 * More standards checking
2885 * Cleaned up 'dist' targets
2886 * Added AUTOMAKE_OPTIONS variable and several options
2887 * Now scans configure.in to get some information (preliminary)
2890 * Works with Perl 4 again
2893 * Added --install-missing option.
2894 * Pretty-prints generated macros and rules
2895 * Comments in Makefile.am are placed more intelligently in Makefile.in
2896 * Generates .PHONY target
2897 * Rule or macro in Makefile.am now overrides contents of Automake file
2898 * Substantial cleanups from François Pinard
2902 * Works with Perl 4 again.
2905 * New uniform naming scheme.
2906 * --strictness option
2908 * '.c' files corresponding to '.y' or '.l' files are automatically
2910 * Many bug fixes and cleanups
2913 * Allow objects to be conditionally included in libraries via lib_LIBADD.
2916 * Bug fixes in 'clean' code.
2917 * Now generates 'installdirs' target.
2918 * man page installation reworked.
2919 * 'make dist' no longer re-creates all Makefile.in's.
2922 * Reimplemented in Perl
2923 * Added --amdir option (for debugging)
2924 * Texinfo support cleaned up.
2925 * Automatic de-ANSI-fication cleaned up.
2926 * Cleaned up 'clean' targets.
2929 * Automatic dependency tracking
2930 * More documentation
2931 * New variables DATA and PACKAGEDATA
2932 * SCRIPTS installed using $(INSTALL_SCRIPT)
2933 * No longer uses double-colon rules
2935 * Changes in advance of internationalization
2939 Copyright (C) 1995-2017 Free Software Foundation, Inc.
2941 This program is free software; you can redistribute it and/or modify
2942 it under the terms of the GNU General Public License as published by
2943 the Free Software Foundation; either version 2, or (at your option)
2946 This program is distributed in the hope that it will be useful,
2947 but WITHOUT ANY WARRANTY; without even the implied warranty of
2948 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2949 GNU General Public License for more details.
2951 You should have received a copy of the GNU General Public License
2952 along with this program. If not, see <http://www.gnu.org/licenses/>.