3 - Autoconf 2.59a is required.
5 - Perl 5.6 or greater is required.
7 - The new AC_REQUIRE_AUX_FILE Autoconf macro is supported.
9 - The rebuild rules for distributed Yacc and Lex output will avoid
10 overwriting existing files if AM_MAINTAINER_MODE and maintainer-mode
13 - Preprocessed assembler (*.S) compilation now honnors CPPFLAGS,
14 AM_CPPFLAGS and per-target _CPPFLAGS, and supports dependency
15 tracking, unlike non-preprocessed assembler (*.s).
17 - Libtool generic flags (those that go before the --mode=MODE option)
18 can be specified using AM_LIBTOOLFLAGS and target_LIBTOOLFLAGS.
20 - aclocal now also supports -Wmumble and -Wno-mumble options.
22 - aclocal supports an --install option, that will cause system-wide
23 third-party macros to be installed in the local directory
24 specified with the first -I flag. This option also uses #serial
25 lines in M4 files to upgrade local macros.
27 The new aclocal options --dry-run and --diff help to review changes
28 before they are installed.
30 - Per-target flags are now correctly handled in link rules.
32 For instance maude_CFLAGS correctly overrides AM_CFLAGS; likewise
33 for maude_LDFLAGS and AM_LDFLAGS. Previous versions bogusly
34 preferred AM_CFLAGS over maude_CFLAGS while linking, and they
35 used both AM_LDFLAGS and maude_LDFLAGS on the same link command.
37 The fix for compiler flags (i.e., using maude_CFLAGS instead of
38 AM_CFLAGS) should not hurt any package since that is how _CFLAGS
39 is expected to work (and actually works during compilation).
41 However using maude_LDFLAGS "instead of" AM_LDFLAGS rather than
42 "in addition to" breaks backward compatibility with older versions.
43 If your package used both variables, as in
45 AM_LDFLAGS = common flags
47 a_LDFLAGS = more flags
50 and assumed *_LDFLAGS would sum up, you should rewrite it as
52 AM_LDFLAGS = common flags
54 a_LDFLAGS = $(AM_LDFLAGS) more flags
57 This new behavior of *_LDFLAGS is more coherent with other
58 per-target variables, and the way *_LDFLAGS variables were
59 considered internally.
61 - New targets mandated by GNU Coding Standards:
66 By default they will only install Texinfo manuals.
67 You can customize them with *-local variants:
73 - The undocumented recursive target `uninstall-info' no longer exists.
74 (`uninstall' is in charge of removing all possible documentation
75 flavors, including optional formats such as dvi, ps, or info even
76 when `no-installinfo' is used.)
78 - Automake no longer complains if input files for AC_CONFIG_FILES
79 are specified using shell variables.
81 - clean, distribution, or rebuild rules are normally disabled for
82 inputs and outputs of AC_CONFIG_FILES, AC_CONFIG_HEADERS, and
83 AC_CONFIG_LINK specified using shell variable. However if these
84 variables are used as ${VAR}, and AC_SUBSTed, then Automake will
85 be able to output rules anyway.
86 (See the Automake documentation for AC_CONFIG_FILES.)
88 - If `subdir-objects' is set, and AC_CONFIG_LIBOBJ_DIR is specified,
89 $(LIBOBJS), $(LTLIBOBJS), $(ALLOCA), and $(LTALLOCA) can be used
90 in different directories.
92 - $(EXEEXT) is automatically appended to filenames of TESTS
93 that have been declared as programs in the same Makefile.
94 This is mostly useful when some check_PROGRAMS are listed in TESTS.
96 - `-Wportability' has finally been turned on by default for `gnu' and
97 `gnits' strictness. This means automake will complain about %-rules
98 or $(GNU Make functions) unless you switch to `foreign' strictness or
99 use `-Wno-portability'.
101 - Improved support for Objective C:
102 - Autoconf's new AC_PROG_OBJC will enable automatic dependency tracking.
103 - A new section of the manual documents the support.
105 - `dirlist' entries (for the aclocal search path) may use shell wildcards
106 such as `*', `?', or `[...]'.
110 * Makefile.in bloat reduction:
112 - Inference rules are used to compile sources in subdirectories when
113 the `subdir-objects' option is used and no per-target flags are
114 used. This should reduce the size of some projects a lot, because
115 Automake used to output an explicit rule for each such object in
118 - Automake no longer outputs three rules (.o, .obj, .lo) for each
119 object that must be built with explicit rules. It just outputs
120 the rules required to build the kind of object considered: either
121 the two .o and .obj rules for usual objects, or the .lo rule for
124 * Change to Libtool support:
126 - Libtool tags are used with libtool versions that support them.
127 (I.e., with Libtool 1.5 or greater.)
129 - Automake is now able to handle setups where a libtool library is
130 conditionally installed in different directories, as in
133 lib_LTLIBRARIES = liba.la
135 pkglib_LTLIBRARIES = liba.la
137 liba_la_SOURCES = ...
139 * Changes to aclocal:
141 - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
142 really evaluated, before it decides to include them in aclocal.m4.
143 This solves nasty problems with conditional redefinitions of
144 Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
145 *.m4 files to be included in any project using these macros.
146 (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
147 most famous instance of this bug.)
149 - Do not complain about missing conditionally AC_REQUIREd macros
150 that are not actually used. In 1.8.x aclocal would correctly
151 determine which of these macros were really needed (and include
152 only these in the package); unfortunately it would also require
153 all of them to be present in order to run. This created
154 situations were aclocal would not work on a tarball distributing
155 all the macros it uses. For instance running aclocal on a project
156 containing only the subset of the Gettext macros in use by the
157 project did not work, because gettext conditionally requires other
160 * Portability improvements:
162 - Tar format can be chosen with the new options tar-v7, tar-ustar, and
163 tar-pax. The new option filename-length-max=99 helps diagnosing
164 filenames that are too long for tar-v7. (PR/414)
166 - Variables aumented with `+=' are now automatically flattened (i.e.,
167 trailing backslashes removed) and then wrapped around 80 colummns
168 (adding trailing backslashes). In previous versions, a long series
174 would result in a single-line definition of VAR that could possibly
175 exceed the maximum line length of some make implementations.
177 Non-augmented variables are still output as they are defined in
182 - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
183 Works the same as the old Fortran 77 implementation; just replace
184 F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
185 Requires a version of autoconf which provides AC_PROG_FC (>=2.59).
187 - Support for conditional _LISP.
189 - Support for conditional -hook and -local rules (PR/428).
191 - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)
193 - Automake will not write any Makefile.ins after the first error it
194 encounters. The previous Makefile.ins (if any) will be left in
195 place. (Warnings will not prevent output, but remember they can
196 be turned into errors with -Werror.)
198 - The restriction that SUBDIRS must contain direct children is gone.
201 - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
202 It also gives an example of nested packages using AC_CONFIG_SUBDIRS.
206 * Long standing bugs:
208 - Define DIST_SUBDIRS even when the `no-dist' or `cygnus' options are used
209 so that `make distclean' and `make maintainer-clean' can work.
211 - Define AR and ARFLAGS even when only EXTRA_LIBRARIES are defined.
213 - Fix many rules to please FreeBSD make, which runs commands with `sh -e'.
215 - Polish diagnostic when no input file is found.
219 * Long standing bugs:
221 - Fix AM_PATH_PYTHON to correctly display $PYTHON when it has been
222 overridden by the user.
224 - Honor PATH_SEPARATOR in various places of the Automake package, for
227 - Adjust dependency tracking mode detection to ICC 8.0's new output.
230 - Fix install-sh so it can install the `mv' binary... using `mv'.
232 - Fix tru64 dependency tracking for libtool objects.
234 - Work around Exuberant Ctags when creating a TAGS files in a directory
235 without files to scan but with subdirectories to include.
237 * Bugs introduced by 1.8:
239 - Fix an "internal error" when @LIBOBJS@ is used in a variable that is
240 not defined in the same conditions as the _LDADD that uses it.
242 - Do not warn when JAVAROOT is overridden, this is legitimate.
246 * Long standing bugs:
248 - Quote filenames in installation rules, in case $DESTDIR, $prefix,
249 or any of the other *dir variables contain a space.
251 Please note that Automake does not and cannot support spaces in
252 filenames that are involved during the build. This change affects
253 only installation paths, so that `make install' does not bomb out
254 in packages configured with
255 ./configure --prefix '/c/Program Files'
257 - Fix the depfiles output so it works with GNU sed (<4.1) even when
258 POSIXLY_CORRECT is set.
260 - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX. This macro was unusable
261 since Autoconf 2.54, which defines LIBOBJS itself.
263 - Fix a potential (but unlikely) race condition in parallel elisp
264 builds. (Introduced in 1.7.3.)
266 - Do not assume that users override _DEPENDENCIES in all conditions
267 where Automake will try to define them.
269 - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
270 Solaris 8's `mkdir -p' is not thread-safe and can break parallel
273 This fix also affects the $(mkdir_p) variable defined since
274 Automake 1.8. It will be set to `mkdir -p' only if mkdir is GNU
275 mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
277 - Secure temporary directory creation in `make distcheck'. (PR/413)
279 - Do not generate two build rules for `parser.h' when the
280 parser appears in two different conditionals.
282 - Work around a Solaris 8 /bin/sh bug in the test for dependency
283 checking. Usually ./configure will not pick this shell; so this
284 fix only helps cases where the shell is forced to /bin/sh.
286 * Bugs introduced by 1.8:
288 - In some situations (hand-written `m4_include's), aclocal would
289 call the `File::Spec->rel2abs' method, which was only introduced
290 in Perl 5.6. This new version reestablish support Perl 5.005.
292 It is likely that the next major Automake releases will require at
293 least Perl 5.6. Consider upgrading your development environment
294 if you are still using the five-year-old Perl 5.005.
296 - Automake would sometimes fail to define rules for targets listed
297 in variables defined in multiple conditions. For instance on
303 it would define only the `a.$(OBJEXT): a.c' rule and omit the
304 `b.$(OBJEXT): b.c' rule.
306 * New sections in manual:
308 - Third-Party Makefiles: how to interface third party Makefiles.
309 - Upgrading: upgrading packages to newer Automake versions.
310 - Multiple Outputs: handling tools that produce many outputs.
314 * A (well known) portability bug slipped in the changes made to
315 install-sh in Automake 1.8.1. The broken install-sh would refuse to
316 install anything on Tru64.
318 * Fix install rules for conditionally built python files. (This never
323 * Bugs introduced by 1.8:
325 - Fix Config.pm import error with old Perl versions (at least
326 5.005_03). One symptom is that aclocal could not find its macro
329 - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
330 created by `make install' are always world readable, even if the
331 installer happens to have an overly restrictive umask (e.g. 077).
332 This was a mistake and has been reverted. There are at least two
333 reasons why we must not use `-m 0755':
334 - it causes special bits like SGID to be ignored,
335 - it may be too restrictive (some setups expect 775 directories).
337 - Fix aclocal to honor definitions located in files which have been
338 m4_included manually. aclocal 1.8 had been updated to check
339 m4_included files for new requirements, but forgot that these
340 m4_included files can also provide new definitions.
342 Note that if you have such a setup, we recommend you get rid of
343 it. In the past, there was a reason to m4_include files manually:
344 aclocal used to duplicate entire M4 files into aclocal.m4, even
345 files that were distributed. Some packages were therefore
346 m4_including the distributed file directly, and playing some
347 tricks to ensure aclocal would not copy that file to aclocal.m4,
348 in order to limit the amount of duplication. Since aclocal 1.8.x
349 will precisely output m4_includes for local M4 files, we recommend
350 that you clean up your setup, removing all manual m4_includes and
351 letting aclocal output them.
353 - Output detailed menus in the Info version if the Automake manual,
354 so that Emacs can locate the indexes.
356 - configure.ac and configure were listed twice in DIST_COMMON (an
357 internal variable where Automake lists configury files to
358 distribute). This was harmless, but unaesthetic.
360 - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
361 This was an issue only in the Automake package itself, not in
364 - Automake assumed that all AC_CONFIG_LINKS arguments had the form
365 DEST:SRC. This was wrong, as some packages do
366 AC_CONFIG_LINKS($computedlinks). This version no longer abort in
369 - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
370 argument. This caused two kinds of failures:
371 - Rules installing data in a conditionally defined directory
372 failed when that directory was undefined. In this case no
373 argument was supplied.
374 - `make installdirs' failed, because several directories were
375 passed to $(mkdir_p). This was an issue only on platform
376 were $(mkdir_p) is implemented with `install-sh -d'.
377 $(mkdir_p) as been changed to accept 0 or more arguments, as
380 * Long-standing bugs:
382 - Fix an unexpected diagnostic occurring when users attempt
383 to override some internal variables that Automake appends to.
385 - aclocal now scans configure.ac for macro definitions (PR/319).
387 - Fix a portability issue with OSF1/Tru64 Make. If a directory
388 distributes files which are outside itself (this usually occurs
389 when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
390 from a parent package), then `make distcheck' fails due to an
391 optimization performed by OSF1/Tru64 Make in its VPATH handling.
392 (tests/subpkg2.test failure)
394 - Fix another portability issue with Sun and OSF1/Tru64 Make.
395 In a VPATH-build configuration, `make install' would install
396 nobase_ files to wrong locations.
398 - Fix a Perl `uninitialized value' diagnostic occurring when
399 automake complains that a Texinfo file does not have a
400 @setfilename statement.
402 - Erase config.status.lineno during `make distclean'. This file
403 can be created by config.status. Automake already knew about
404 configure.lineno, but forgot config.status.lineno.
406 - Distribute all files, even those which are built and installed
407 conditionally. This change affects files listed in conditionally
408 defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
409 as well as those listed in conditionally defined dist_*_DATA,
410 dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
412 - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
413 doesn't conform to POSIX.
415 - Normalize help strings for configure variables and options added
420 - Check for python2.4 in AM_PATH_PYTHON.
422 * Spurious failures in test suite:
424 - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
425 tests/ltconv.test: fix failures with CVS Libtool.
426 - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
427 - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
428 fix failures with old Texinfo versions.
434 - The NEWS file is more verbose.
438 - Autoconf 2.58 or greater is required.
442 - Default source file names in the absence of a _SOURCES declaration
443 are made by removing any target extension before appending `.c', so
444 to make the libtool module `foo.la' from `foo.c', you only need to
447 lib_LTLIBRARIES = foo.la
448 foo_la_LDFLAGS = -module
450 For backward compatibility, foo_la.c will be used instead of
451 foo.c if this file exists or is the explicit target of a rule.
452 However -Wobsolete will warn about this deprecated naming.
454 - AR's `cru' flags are now set in a global ARFLAGS variable instead
455 of being hard-coded in each $(AR) invocation, so they can be
456 substituted from configure.ac. This has been requested by people
457 dealing with non-POSIX ar implementations.
459 - New warning option: -Woverride. This will warn about any user
460 target or variable definitions which override Automake
463 - Texinfo rules back up and restore info files when makeinfo fails.
465 - Texinfo rules now support the `html' target.
466 Running this requires Texinfo 4.0 or greater.
468 `html' is a new recursive target, so if your package mixes
469 hand-crafted `Makefile.in's with Automake-generated
470 `Makefile.in's, you should adjust the former to support (or
471 ignore) this target so that `make html' recurses successfully. If
472 you had a custom `html' rule in your `Makefile.am', it's better to
473 rename it as `html-local', otherwise your rule will override
474 Automake's new rule (you can check that by running `automake
475 -Woverride') and that will stop the recursion to subdirectories.
477 Last but not least, this `html' rule is declared PHONY, even when
478 overridden. Fortunately, it appears that few packages use a
479 non-PHONY `html' rule.
481 - Any file which is m4_included from configure.ac will appear as a
482 configure and Makefile.in dependency, and will be automatically
485 - The rules for rebuilding Makefiles and Makefile.ins will now
486 rebuild all Makefiles and all Makefile.ins at once when one of
487 configure's dependencies has changed. This is considerably faster
488 than previous implementations, where config.status and automake
489 were run separately in each directory (this still happens when you
490 change a Makefile.am locally, without touching configure.ac or
491 friends). Doing this also solves a longstanding issue: these
492 rebuild rules failed to work when adding new directories to the
493 tree, forcing you to run automake manually.
495 - For similar reasons, the rules to rebuild configure,
496 config.status, and aclocal.m4 are now defined in all directories.
497 Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
498 CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
499 should better define them in all directories. This is easily done
500 using an AC_SUBST (make sure you prefix these dependencies with
501 $(top_srcdir) since this variable will appear at different
502 levels of the build tree).
504 - aclocal will now use `m4_include' instead of copying local m4
505 files into aclocal.m4. (Local m4 files are those you ship with
506 your project, other files will be copied as usual.)
508 Because m4_included files are automatically distributed, it means
509 for most projects there is no point in EXTRA_DISTing the list of
510 m4 files which are used. (You can probably get rid of
511 m4/Makefile.am if you had one.)
513 - aclocal will avoid touching aclocal.m4 when possible, so that
514 Autom4te's cache isn't needlessly invalidated. This behavior can
515 be switched off with the new `--force' option.
517 - aclocal now uses Autoconf's --trace to detect macros which are
518 actually used and will no longer include unused macros simply
519 because they where mentioned. This was often the case for macros
520 called conditionally.
522 - New options no-dist and no-dist-gzip.
524 - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
525 py-compile, and ylwrap, now all understand --version and --help.
527 - Automake will now recognize AC_CONFIG_LINKS so far as removing created
528 links as part of the distclean target and including source files in
531 - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
532 argument. The latter can be used to override the default behavior
535 - Automake will exit with $? = 63 on version mismatch. (So does
536 Autoconf 2.58) missing knows this, and in this case it will
537 emulate the tools as if they were absent. Because older versions
538 of Automake and Autoconf did not use this exit code, this change
539 will only be useful in projects generated with future versions of
542 - When using AC_CONFIG_FILES with multiple input files, Automake
543 generates the first ".in" input file for which a ".am" exists.
544 (Former versions would try to use only the first input file.)
546 - lisp_DATA is now allowed. If you are using the empty ELCFILES
547 idiom to disable byte-compilation of lisp_LISP files, it is
548 recommended that you switch to using lisp_DATA. Note that
549 this is not strictly equivalent: lisp_DATA will install elisp
550 files even if emacs is not installed, while *_LISP do not
551 install anything unless emacs is found.
553 - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
554 available. This selection is achieved through the Makefile
555 variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
556 `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
557 `$(install_sh) -m 0755 -d'.
561 - Because `mkdir -p' is available on most platforms, and we can use
562 `install-sh -d' when it is not, the use of the mkinstalldirs
563 script is being phased out. `automake --add-missing' no longer
564 installs it, and if you remove mkinstalldirs from your package,
565 automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
567 Gettext 0.12.1 still requires mkinstalldirs. Fortunately
568 gettextize and autopoint will install it when needed. Automake
569 will continue to define the $(mkinstalldirs) and to distribute
570 mkinstalldirs when this script is in the source tree.
572 - AM_PROG_CC_STDC is now empty. The content of this macro was
573 merged in AC_PROG_CC. If your code uses $am_cv_prog_cc_stdc, you
574 should adjust it to use $ac_cv_prog_cc_stdc instead. (This
575 renaming should be safe, even if you have to support several,
576 versions of Automake, because AC_PROG_CC defines this variable
577 since Autoconf 2.54.)
579 - Some users where using the undocumented ACLOCAL_M4_SOURCES
580 variable to override the aclocal.m4 dependencies computed
581 (inaccurately) by older versions of Automake. Because Automake
582 now tracks configure's m4 dependencies accurately (see m4_include
583 above), the use of ACLOCAL_M4_SOURCES should be considered
584 obsolete and will be flagged as such when running `automake
589 - Defining programs conditionally using Automake conditionals no
590 longer leads to a combinatorial explosion. The following
591 construct used to be troublesome when used with dozens of
606 Likewise for _SOURCES, _LDADD, and _LIBADD variables.
608 - Due to implementation constraints, previous versions of Automake
609 proscribed multiple conditional definitions of some variables
619 All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
620 This restriction has been lifted, and these variables now
621 support multiple conditional definitions as do other variables.
623 - Cleanup the definitions of $(distdir) and $(top_distdir).
624 $(top_distdir) now points to the root of the distribution
625 directory created during `make dist', as it did in Automake 1.4,
626 not to the root of the build tree as it did in intervening
627 versions. Furthermore these two variables are now only defined in
628 the top level Makefile, and passed to sub-directories when running
631 - The --no-force option now correctly checks the Makefile.in's
632 dependencies before deciding not to update it.
634 - Do not assume that make files are called Makefile in cleaning rules.
636 - Update .info files in the source tree, not in the build tree. This
637 is what the GNU Coding Standard recommend. Only Automake 1.7.x
638 used to update these files in the build tree (previous versions did
639 it in the source tree too), and it caused several problems, varying
640 from mere annoyance to portability issues.
642 - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
643 when --add-missing and --force-missing are used. For backward
644 compatibility --add-missing will continue to install COPYING (in
645 `gnu' strictness) when none of these three files exist, but this
646 use is deprecated: you should better choose a license yourself and
647 install it once for all in your source tree (and in your code
650 - Fix ylwrap so that it does not overwrite header files that haven't
651 changed, as the inline rule already does.
653 - User-defined rules override automake-defined rules for the same
654 targets, even when rules do not have commands. This is not new
655 (and was documented), however some of the automake-generated
656 rules have escaped this principle in former Automake versions.
657 Rules for the following targets are affected by this fix:
659 clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
660 info, info-am, install-data-am, install-exec-am, install-info,
661 install-info-am, install-man, installcheck-am, maintainer-clean,
662 maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
663 ps, ps-am, uninstall-am, uninstall-info, uninstall-man
665 Practically it means that an attempt to supplement the dependencies
666 of some target, as in
670 will now *silently override* the automake definition of the
671 rule for this target. Running `automake -Woverride' will diagnose
672 all such overriding definitions.
674 It should be noted that almost all these targets support a *-local
675 variant that is meant to supplement the automake-defined rule
676 (See node `Extending' in the manual). The above rule should
679 clean-local: my-clean-rule
681 These *-local targets have been documented since at least
682 Automake 1.2, so you should not fear the change if you have
683 to support multiple automake versions.
687 - The Automake manual is now distributed under the terms of the GNU FDL.
689 - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
691 - core dumps are no longer removed by the cleaning rules. There are
692 at least three reasons for this:
693 1. These files should not be created by any build step,
694 so their removal do not fit any of the cleaning rules.
695 Actually, they may be precious to the developer.
696 2. If such file is created during a build, then it's clearly a
697 bug Automake should not hide. Not removing the file will
698 cause `make distcheck' to complain about its presence.
699 3. Operating systems have different naming conventions for
700 core dump files. A core file on one system might be a
701 completely legitimate data file on another system.
703 - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
704 defined by Automake. This means that any definition in the
705 environment will be used, unless overridden in the Makefile.am or
706 on the command line. The old behavior, where these variables were
707 defined empty in each Makefile, can be obtained by AC_SUBSTing or
708 AC_ARG_VARing each variable from configure.ac.
710 - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
711 documented. (The is not a new feature, these variables have
712 been there since at least Automake 1.4.)
715 * Fix install-strip to work with nobase_ binaries.
716 * Fix renaming of #line directives in ylwrap.
717 * Rebuild with Autoconf 2.59. (1.7.8 was not installable with pdksh.)
720 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
721 * Fix detection of Debian's install-info, broken since version 1.5.
722 (Debian bug #213524).
723 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
724 This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
727 * The implementation of automake's --no-force option is unreliable,
728 so this option is ignored in this version. A real fix will appear in
729 Automake 1.8. (Debian Bug #206299)
730 * AM_PATH_PYTHON: really check the whole list of interpreters if no
731 argument is given. (PR/399)
732 * Do not warn about leading `_' in variable names, even with -Wportability.
733 * Support user redefinitions of TEXINFO_TEX.
734 * depcomp: support AIX Compiler version 6.
735 * Fix missing rebuilds during `make dist' with BSD make.
736 (Could produce tarballs containing out-of-date files.)
737 * Resurrect multilib support.
738 * Noteworthy manual updates:
739 - Extending aclocal: how to write m4 macros that won't trigger warnings
741 - A Shared Library: Rewrite and split into subsections.
744 * Fix depcomp's icc mode for ICC 7.1.
745 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
746 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
747 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
748 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
749 * Remove Latin-1 characters from elisp-comp.
750 * Update the manual's @dircategory to match the Free Software Directory.
753 * Update install-sh's license to remove an advertising clause.
755 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
756 that caused invalid Makefile.ins to be generated.
757 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
758 * New FAQ entry: renamed objects.
761 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
762 the Emacs implementation)
763 * Fix output of aclocal.m4 dependencies in subdirectories.
764 * Use `mv -f' instead of `mv' in fastdep rules.
765 * Upgrade mdate-sh to work on OS/2.
766 * Don't byte-compile elisp files when ELCFILES is set empty.
767 (this documented feature was broken by 1.7.3)
768 * Diagnose trailing backslashes on last line of Makefile.am.
769 * Diagnose whitespace following trailing backslashes.
770 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
771 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
773 * `make install' will build `BUILT_SOURCES' first.
774 * Minor documentation fixes.
777 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
778 * Query distutils for `pythondir' and `pythonexecdir', instead of
779 using an hardcoded path. This should allow builds on 64-bit
780 distributions that usually use lib64/ instead of lib/.
781 * AM_PATH_PYTHON will also search for python2.3.
782 * elisp files are now built all at once instead of one by one. Besides
783 incurring a speed-up, this is required to support interdependent elisp files.
785 - `make distcheck' will now work in `_inst/' and `_build' instead
786 of `=inst/' and `=build/'
787 - use `_dirstamp' when the file-system doesn't support `.dirstamp'
788 - install/uninstall `*.i[0-9][0-9]'-style info files
789 - more changes that affect only the Automake package (not its output)
790 * Fix some incompatibilities with upcoming perl-5.10.
791 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
794 - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
795 is troublesome with gcc and Solaris compilers. (PR/385)
796 - makedepend mode: work with Libtool. (PR/385 too)
798 * better support for unusual gettext setups, such as multiple po/ directories
800 - Flag missing po/ and intl/ directories as warnings, not errors.
801 - Disable these warnings if po/ does not exist.
802 * Noteworthy manual updates:
804 - Document how AC_CONFIG_AUX_DIR interacts with missing files.
806 - Document `AM_YFLAGS = -d'. (PR/382)
809 * Fix installation and uninstallation of Info files built in subdirectories.
810 * Do not run `./configure --with-included-gettext' during `make distcheck'
811 if AM_GNU_GETTEXT([external]) is used.
812 * Correctly uninstall renamed man pages.
813 * Do not strip escaped newline in variables defined in one condition
814 and augmented in another condition.
815 * Fix ansi2knr rules for LIBOBJS sources.
816 * Clean all known Texinfo index files, not only those which appear to
817 be used, because we cannot know wich indexes are used in included files.
818 (PR/375, Debian Bug #168671)
819 * Honor only the first @setfilename seen in a Texinfo file.
820 * Treat "required file X not found" diagnostics as errors (exit status 1).
821 * Don't complain that a required file is not found when it is a Makefile
823 * Don't use single suffix inference rules when building `.info'-less
824 Info files, for the sake of Solaris make.
825 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
826 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
827 * Warn about multiple inference rules when -Wportability is used. (PR/372)
828 * Fix building of deansified files from subdirectories. (PR/370)
829 * Add missing `fi' in the .c->.obj rules.
830 * Improve install-sh to work even when names contain spaces or certain
831 (but not all) shell metachars.
832 * Fix the following spurious failures in the test suite:
833 depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
834 * Noteworthy manual updates:
835 - Augment the section about BUILT_SOURCES.
836 - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
839 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
841 * Aclocal should now recognize macro names containing parentheses, e.g.
842 AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
843 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
845 * Install Python files even if they were built. (PR/369)
846 * Have stamp-vti dependent upon configure instead of configure.ac, as the
847 version might not be defined in the latter. (PR/358)
848 * Reorder arguments passed to a couple of commands, so things works
849 when POSIXLY_CORRECT=1.
850 * Fix a regex that can cause Perl to segfault on large input.
852 * Fix distribution of packages that have some sources defined conditionally,
853 as in the `Conditional compilation using Automake conditionals' example
855 * Fix spurious test suite failures on IRIX.
856 * Don't report a required variable as undefined if it has been
857 defined conditionally for the "right" conditions.
858 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
859 `make distcheck' fails.
860 * Fix distribution of included Makefile fragment, so we don't create
861 spurious directories in the distribution. (PR/366)
862 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
865 * Autoconf 2.54 is required.
866 * `aclocal' and `automake' will no longer warn about obsolete
867 configure macros. This is done by `autoconf -Wobsolete'.
868 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
869 AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
870 supported). You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
871 and AC_HEADER_TIOCGWINSZ instead. `autoupdate' can upgrade
872 `configure.ac' for you.
873 * Support for per-program and per-library `_CPPFLAGS'.
874 * New `ctags' target (builds CTAGS files).
875 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
876 (see `automake --help' or the manual for a list of them).
877 * Honor the WARNINGS environment variable.
878 * Omit the call to depcomp when using gcc3: call the compiler directly.
879 * A new option, std-options, tests that programs support --help and --version
880 when `make installcheck' is run. This is enabled by --gnits.
881 * Texinfo rules now support the `ps' and `pdf' targets.
882 * Info files are now created in the build directory, not the source directory.
883 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
885 * `make distcheck' will enforce DESTDIR support by attempting
887 * `+=' can be used in conditionals, even if the augmented variable
888 was defined for another condition.
889 * Makefile fragments (inserted with `include') are always distributed.
890 * Use Autoconf's --trace interface to inspect configure.ac and get
891 a more accurate view of it.
892 * Add support for extending aclocal's default macro search path
893 using a `dirlist' file within the aclocal directory.
894 * automake --output-dir is deprecated.
895 * The part of the distcheck target that checks whether uninstall actually
896 removes all installed files has been moved in a separate target,
897 distuninstallcheck, so it can be overridden easily.
901 * Support for AM_INIT_GETTEXT([external])
902 * Bug fixes, including:
903 - Fix Automake's own `make install' so it works even if `ln' doesn't.
904 - nobase_ programs and scripts honor --program-transform correctly.
905 - Erase configure.lineno during `make distclean'.
906 - Erase YACC and LEX outputs during `make maintainer-clean'.
909 * Many bug fixes, including:
910 - Requiring the current version works.
911 - Fix "$@" portability issues (for Zsh).
912 - Fix output of dummy dependency files in presence of post-processed
914 - Don't compute dependencies in background to avoid races with libtool.
915 - Fix handling of _OBJECTS variables for targets sharing source variables.
916 - Check dependency mode for Java when AM_PROG_GCJ is used.
919 * automake --output-dir is deprecated
920 * Many bug fixes, including:
921 - Don't choke on AM_LDFLAGS definitions.
922 - Clean libtool objects from subdirectories.
923 - Allow configure variables with reserved suffix and unknown prefix
924 (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
925 - Fix the definition of AUTOMAKE and ACLOCAL in configure.
928 * Autoconf 2.52 is required.
929 * automake no longer run libtoolize.
930 This is the job of autoreconf (from GNU Autoconf).
931 * `dist' generates all the archive flavors, as did `dist-all'.
932 * `dist-gzip' generates the Gzip tar file only.
933 * Combining Automake Makefile conditionals no longer lead to a combinatorial
934 explosion. Makefile.in's keep a reasonable size.
935 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
936 are no longer shipped, since Autoconf 2.52 provides them (both as AM_
938 * `#line' of Lex and Yacc files are properly set.
939 * EXTRA_DIST can contain generated directories.
940 * Support for dot-less extensions in suffix rules.
941 * The part of the distcheck target that checks whether distclean actually
942 cleans all built files has been moved in a separate target, distcleancheck,
943 so it can be overridden easily.
944 * `make distcheck' will pass additional options defined in
945 $(DISTCHECK_CONFIGURE_FLAGS) to configure.
946 * Fixed CDPATH portability problems, in particular for MacOS X.
947 * Fixed handling of nobase_ targets.
948 * Fixed support of implicit rules leading to .lo objects.
949 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
950 * Added uninstall-hook target
951 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
952 You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
953 (Note that "pkgname" is not "tarname", see the manual for details.)
954 It is also possible to pass a list of global Automake options as
955 first argument to this new form of AM_INIT_AUTOMAKE.
956 * Compiler-based assembler is now called `CCAS'; people expected `AS'
957 to be a real assembler.
958 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it. Adding
959 AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
960 * aclocal and automake are also installed with the version number
961 appended, and some of the install directory names have changed.
962 This lets you have multiple versions installed simultaneously.
963 * Support for parsers and lexers in subdirectories.
966 * Support for `configure.ac'.
967 * Support for `else COND', `endif COND' and negated conditions `!COND'.
968 * `make dist-all' is much faster.
969 * Allows '@' AC_SUBSTs in macro names.
970 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
971 * User-side dependency tracking. Developers no longer need GNU make
973 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
974 * Most files are correctly handled if they appear in subdirs
975 For instance, a _DATA file can appear in a subdir
976 * GNU tar is no longer required for `make dist'
977 * Added support for `dist_' and `nodist_' prefixes
978 * Added support for `nobase_' prefix
979 * Compiled Java support
980 * Support for per-executable and per-library compilation flags
984 * Added support for the Fortran 77 programming language.
985 * Re-indexed the Automake Texinfo manual.
986 * Added `AM_FOOFLAGS' variable for each compiler invocation;
987 e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
988 * Support for latest autoconf, including support for objext
989 * Can now put `.' in SUBDIRS to control build order
990 * `include' command and `+=' support for macro assignment
991 * Dependency tracking no long susceptible to deleted header file problem
992 * Maintainer mode now a conditional. @MAINT@ is now an anachronism.
997 * Better Cygwin32 support
998 * Support for suffix rules with _SOURCES variables
999 * New options `readme-alpha' and `check-news'; Gnits mode sets these
1000 * @LEXLIB@ no longer required when lex source seen
1001 Lex support in `missing', and new lex macro. Update your missing script.
1002 * Built-in support for assembly
1003 * aclocal gives error if `AM_' macro not found
1004 * Passed YFLAGS, not YACCFLAGS, to yacc
1005 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
1006 * Dependencies computed as a side effect of compilation
1007 * Preliminary support for Java
1008 * DESTDIR support at "make install" time
1009 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
1013 * Better DejaGnu support
1014 * Added no-installinfo option
1015 * Added Emacs Lisp support
1016 * Added --no-force option
1017 * Included `aclocal' program
1018 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
1019 * Now uses `AM_' macro names everywhere
1020 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
1021 ansi2knr now works correctly on K&R sources
1022 * Better C++, yacc, lex support
1023 * Will compute _DEPENDENCIES variables automatically if not supplied
1024 * Will interpolate $(...) and ${...} when examining contents of a variable
1025 * .deps files now in build directory, not source directory; dependency
1026 handling generally rewritten
1027 * DATA, MANS and BUILT_SOURCES no longer included in distribution
1028 * can now put config.h into a subdir
1029 * Added dist-all target
1030 * Support for install-info program (see texinfo 3.9)
1031 * Support for "yacc -d"
1032 * configure substitutions are automatically discovered and included
1033 in generated Makefile.in
1034 * Special --cygnus mode
1035 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
1036 when making distribution. Some dependencies are auto-ignored.
1037 * Changed how libraries are specified in _LIBRARIES variable
1038 * Full libtool support, from Gord Matzigkeit
1039 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
1040 AM_CONFIG_HEADER handles it automatically
1041 * Texinfo output files no longer need .info extension
1042 * Added `missing' support
1044 * Conditionals in Makefile.am, from Ian Taylor
1048 * distcheck target runs install and installcheck targets
1049 * Added preliminary support for DejaGnu.
1054 * More libtool fixes from Gord Matzigkeit; libtool support is still
1056 * Added support for jm_MAINTAINER_MODE
1058 * New "distcheck" target
1062 * mkinstalldirs and mdate-sh now appear in directory specified by
1064 * Removed DIST_SUBDIRS, DIST_OTHER
1065 * AC_ARG_PROGRAM only required when an actual program exists
1066 * dist-hook target now run before distribution packaged up; idea from
1067 Dieter Baron. Other hooks exist, too.
1068 * Preliminary (unfinished) support for libtool
1069 * Added short option names.
1070 * Better "dist" support when gluing together multiple packages
1074 * Documentation updates (many from François Pinard)
1075 * strictness `normal' now renamed to `foreign'
1076 * Renamed --install-missing to --add-missing
1077 * Now handles AC_CONFIG_AUX_DIR
1078 * Now handles TESTS macro
1079 * DIST_OTHER renamed to EXTRA_DIST
1080 * DIST_SUBDIRS is deprecated
1081 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
1082 * Better error messages in many cases
1083 * Program names are canonicalized
1084 * Added "check" prefix; from Gord Matzigkeit
1088 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
1089 * Beginnings of a test suite
1090 * Automatically adds -I options for $(srcdir), ".", and path to config.h
1091 * Doesn't print anything when running
1092 * Beginnings of MAINT_CHARSET support
1093 * Can specify version in AUTOMAKE_OPTIONS
1094 * Most errors recognizable by Emacs' M-x next-error
1095 * Added --verbose option
1096 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
1097 configure-generated names
1098 * Required macros now distributed in aclocal.m4
1100 * --strictness=gnu is default
1104 * More sophisticated configure.in scanning; now understands ALLOCA and
1105 LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
1106 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
1107 * CONFIG_HEADER variable now obsolete
1108 * Can handle multiple Texinfo sources
1109 * Allow hierarchies deeper than 2. From Gord Matzigkeit.
1110 * HEADERS variable no longer needed; now can put .h files directly into
1111 foo_SOURCES variable.
1112 * Automake automatically rebuilds files listed in AC_OUTPUT. The
1113 corresponding ".in" files are included in the distribution.
1116 * Added --gnu and --gnits options
1117 * More standards checking
1119 * Cleaned up 'dist' targets
1120 * Added AUTOMAKE_OPTIONS variable and several options
1121 * Now scans configure.in to get some information (preliminary)
1124 * Works with Perl 4 again
1127 * Added --install-missing option.
1128 * Pretty-prints generated macros and rules
1129 * Comments in Makefile.am are placed more intelligently in Makefile.in
1130 * Generates .PHONY target
1131 * Rule or macro in Makefile.am now overrides contents of Automake file
1132 * Substantial cleanups from François Pinard
1136 * Works with Perl 4 again.
1139 * New uniform naming scheme.
1140 * --strictness option
1142 * '.c' files corresponding to '.y' or '.l' files are automatically
1144 * Many bug fixes and cleanups
1147 * Allow objects to be conditionally included in libraries via lib_LIBADD.
1150 * Bug fixes in 'clean' code.
1151 * Now generates 'installdirs' target.
1152 * man page installation reworked.
1153 * 'make dist' no longer re-creates all Makefile.in's.
1156 * Reimplemented in Perl
1157 * Added --amdir option (for debugging)
1158 * Texinfo support cleaned up.
1159 * Automatic de-ANSI-fication cleaned up.
1160 * Cleaned up 'clean' targets.
1163 * Automatic dependency tracking
1164 * More documentation
1165 * New variables DATA and PACKAGEDATA
1166 * SCRIPTS installed using $(INSTALL_SCRIPT)
1167 * No longer uses double-colon rules
1169 * Changes in advance of internationalization
1173 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
1174 2004, 2005 Free Software Foundation, Inc.
1176 This file is part of GNU Automake.
1178 GNU Automake is free software; you can redistribute it and/or modify
1179 it under the terms of the GNU General Public License as published by
1180 the Free Software Foundation; either version 2, or (at your option)
1183 GNU Automake is distributed in the hope that it will be useful,
1184 but WITHOUT ANY WARRANTY; without even the implied warranty of
1185 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1186 GNU General Public License for more details.
1188 You should have received a copy of the GNU General Public License
1189 along with GNU Automake; see the file COPYING. If not, write to
1190 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1191 Boston, MA 02110-1301, USA.