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 and
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.
107 * Makefile.in bloat reduction:
109 - Inference rules are used to compile sources in subdirectories when
110 the `subdir-objects' option is used and no per-target flags are
111 used. This should reduce the size of some projects a lot, because
112 Automake used to output an explicit rule for each such object in
115 - Automake no longer outputs three rules (.o, .obj, .lo) for each
116 object that must be built with explicit rules. It just outputs
117 the rules required to build the kind of object considered: either
118 the two .o and .obj rules for usual objects, or the .lo rule for
121 * Change to Libtool support:
123 - Libtool tags are used with libtool versions that support them.
124 (I.e., with Libtool 1.5 or greater.)
126 - Automake is now able to handle setups where a libtool library is
127 conditionally installed in different directories, as in
130 lib_LTLIBRARIES = liba.la
132 pkglib_LTLIBRARIES = liba.la
134 liba_la_SOURCES = ...
136 * Changes to aclocal:
138 - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
139 really evaluated, before it decides to include them in aclocal.m4.
140 This solves nasty problems with conditional redefinitions of
141 Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
142 *.m4 files to be included in any project using these macros.
143 (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
144 most famous instance of this bug.)
146 - Do not complain about missing conditionally AC_REQUIREd macros
147 that are not actually used. In 1.8.x aclocal would correctly
148 determine which of these macros were really needed (and include
149 only these in the package); unfortunately it would also require
150 all of them to be present in order to run. This created
151 situations were aclocal would not work on a tarball distributing
152 all the macros it uses. For instance running aclocal on a project
153 containing only the subset of the Gettext macros in use by the
154 project did not work, because gettext conditionally requires other
157 * Portability improvements:
159 - Tar format can be chosen with the new options tar-v7, tar-ustar, and
160 tar-pax. The new option filename-length-max=99 helps diagnosing
161 filenames that are too long for tar-v7. (PR/414)
163 - Variables aumented with `+=' are now automatically flattened (i.e.,
164 trailing backslashes removed) and then wrapped around 80 colummns
165 (adding trailing backslashes). In previous versions, a long series
171 would result in a single-line definition of VAR that could possibly
172 exceed the maximum line length of some make implementations.
174 Non-augmented variables are still output as they are defined in
179 - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
180 Works the same as the old Fortran 77 implementation; just replace
181 F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
182 Requires a version of autoconf which provides AC_PROG_FC (>=2.59).
184 - Support for conditional _LISP.
186 - Support for conditional -hook and -local rules (PR/428).
188 - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)
190 - Automake will not write any Makefile.ins after the first error it
191 encounters. The previous Makefile.ins (if any) will be left in
192 place. (Warnings will not prevent output, but remember they can
193 be turned into errors with -Werror.)
195 - The restriction that SUBDIRS must contain direct children is gone.
198 - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
199 It also gives an example of nested packages using AC_CONFIG_SUBDIRS.
203 * Long standing bugs:
205 - Define DIST_SUBDIRS even when the `no-dist' or `cygnus' options are used
206 so that `make distclean' and `make maintainer-clean' can work.
208 - Define AR and ARFLAGS even when only EXTRA_LIBRARIES are defined.
210 - Fix many rules to please FreeBSD make, which runs commands with `sh -e'.
212 - Polish diagnostic when no input file is found.
216 * Long standing bugs:
218 - Fix AM_PATH_PYTHON to correctly display $PYTHON when it has been
219 overridden by the user.
221 - Honor PATH_SEPARATOR in various places of the Automake package, for
224 - Adjust dependency tracking mode detection to ICC 8.0's new output.
227 - Fix install-sh so it can install the `mv' binary... using `mv'.
229 - Fix tru64 dependency tracking for libtool objects.
231 - Work around Exuberant Ctags when creating a TAGS files in a directory
232 without files to scan but with subdirectories to include.
234 * Bugs introduced by 1.8:
236 - Fix an "internal error" when @LIBOBJS@ is used in a variable that is
237 not defined in the same conditions as the _LDADD that uses it.
239 - Do not warn when JAVAROOT is overridden, this is legitimate.
243 * Long standing bugs:
245 - Quote filenames in installation rules, in case $DESTDIR, $prefix,
246 or any of the other *dir variables contain a space.
248 Please note that Automake does not and cannot support spaces in
249 filenames that are involved during the build. This change affects
250 only installation paths, so that `make install' does not bomb out
251 in packages configured with
252 ./configure --prefix '/c/Program Files'
254 - Fix the depfiles output so it works with GNU sed (<4.1) even when
255 POSIXLY_CORRECT is set.
257 - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX. This macro was unusable
258 since Autoconf 2.54, which defines LIBOBJS itself.
260 - Fix a potential (but unlikely) race condition in parallel elisp
261 builds. (Introduced in 1.7.3.)
263 - Do not assume that users override _DEPENDENCIES in all conditions
264 where Automake will try to define them.
266 - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
267 Solaris 8's `mkdir -p' is not thread-safe and can break parallel
270 This fix also affects the $(mkdir_p) variable defined since
271 Automake 1.8. It will be set to `mkdir -p' only if mkdir is GNU
272 mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
274 - Secure temporary directory creation in `make distcheck'. (PR/413)
276 - Do not generate two build rules for `parser.h' when the
277 parser appears in two different conditionals.
279 - Work around a Solaris 8 /bin/sh bug in the test for dependency
280 checking. Usually ./configure will not pick this shell; so this
281 fix only helps cases where the shell is forced to /bin/sh.
283 * Bugs introduced by 1.8:
285 - In some situations (hand-written `m4_include's), aclocal would
286 call the `File::Spec->rel2abs' method, which was only introduced
287 in Perl 5.6. This new version reestablish support Perl 5.005.
289 It is likely that the next major Automake releases will require at
290 least Perl 5.6. Consider upgrading your development environment
291 if you are still using the five-year-old Perl 5.005.
293 - Automake would sometimes fail to define rules for targets listed
294 in variables defined in multiple conditions. For instance on
300 it would define only the `a.$(OBJEXT): a.c' rule and omit the
301 `b.$(OBJEXT): b.c' rule.
303 * New sections in manual:
305 - Third-Party Makefiles: how to interface third party Makefiles.
306 - Upgrading: upgrading packages to newer Automake versions.
307 - Multiple Outputs: handling tools that produce many outputs.
311 * A (well known) portability bug slipped in the changes made to
312 install-sh in Automake 1.8.1. The broken install-sh would refuse to
313 install anything on Tru64.
315 * Fix install rules for conditionally built python files. (This never
320 * Bugs introduced by 1.8:
322 - Fix Config.pm import error with old Perl versions (at least
323 5.005_03). One symptom is that aclocal could not find its macro
326 - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
327 created by `make install' are always world readable, even if the
328 installer happens to have an overly restrictive umask (e.g. 077).
329 This was a mistake and has been reverted. There are at least two
330 reasons why we must not use `-m 0755':
331 - it causes special bits like SGID to be ignored,
332 - it may be too restrictive (some setups expect 775 directories).
334 - Fix aclocal to honor definitions located in files which have been
335 m4_included manually. aclocal 1.8 had been updated to check
336 m4_included files for new requirements, but forgot that these
337 m4_included files can also provide new definitions.
339 Note that if you have such a setup, we recommend you get rid of
340 it. In the past, there was a reason to m4_include files manually:
341 aclocal used to duplicate entire M4 files into aclocal.m4, even
342 files that were distributed. Some packages were therefore
343 m4_including the distributed file directly, and playing some
344 tricks to ensure aclocal would not copy that file to aclocal.m4,
345 in order to limit the amount of duplication. Since aclocal 1.8.x
346 will precisely output m4_includes for local M4 files, we recommend
347 that you clean up your setup, removing all manual m4_includes and
348 letting aclocal output them.
350 - Output detailed menus in the Info version if the Automake manual,
351 so that Emacs can locate the indexes.
353 - configure.ac and configure were listed twice in DIST_COMMON (an
354 internal variable where Automake lists configury files to
355 distribute). This was harmless, but unaesthetic.
357 - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
358 This was an issue only in the Automake package itself, not in
361 - Automake assumed that all AC_CONFIG_LINKS arguments had the form
362 DEST:SRC. This was wrong, as some packages do
363 AC_CONFIG_LINKS($computedlinks). This version no longer abort in
366 - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
367 argument. This caused two kinds of failures:
368 - Rules installing data in a conditionally defined directory
369 failed when that directory was undefined. In this case no
370 argument was supplied.
371 - `make installdirs' failed, because several directories were
372 passed to $(mkdir_p). This was an issue only on platform
373 were $(mkdir_p) is implemented with `install-sh -d'.
374 $(mkdir_p) as been changed to accept 0 or more arguments, as
377 * Long-standing bugs:
379 - Fix an unexpected diagnostic occurring when users attempt
380 to override some internal variables that Automake appends to.
382 - aclocal now scans configure.ac for macro definitions (PR/319).
384 - Fix a portability issue with OSF1/Tru64 Make. If a directory
385 distributes files which are outside itself (this usually occurs
386 when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
387 from a parent package), then `make distcheck' fails due to an
388 optimization performed by OSF1/Tru64 Make in its VPATH handling.
389 (tests/subpkg2.test failure)
391 - Fix another portability issue with Sun and OSF1/Tru64 Make.
392 In a VPATH-build configuration, `make install' would install
393 nobase_ files to wrong locations.
395 - Fix a Perl `uninitialized value' diagnostic occurring when
396 automake complains that a Texinfo file does not have a
397 @setfilename statement.
399 - Erase config.status.lineno during `make distclean'. This file
400 can be created by config.status. Automake already knew about
401 configure.lineno, but forgot config.status.lineno.
403 - Distribute all files, even those which are built and installed
404 conditionally. This change affects files listed in conditionally
405 defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
406 as well as those listed in conditionally defined dist_*_DATA,
407 dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
409 - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
410 doesn't conform to POSIX.
412 - Normalize help strings for configure variables and options added
417 - Check for python2.4 in AM_PATH_PYTHON.
419 * Spurious failures in test suite:
421 - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
422 tests/ltconv.test: fix failures with CVS Libtool.
423 - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
424 - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
425 fix failures with old Texinfo versions.
431 - The NEWS file is more verbose.
435 - Autoconf 2.58 or greater is required.
439 - Default source file names in the absence of a _SOURCES declaration
440 are made by removing any target extension before appending `.c', so
441 to make the libtool module `foo.la' from `foo.c', you only need to
444 lib_LTLIBRARIES = foo.la
445 foo_la_LDFLAGS = -module
447 For backward compatibility, foo_la.c will be used instead of
448 foo.c if this file exists or is the explicit target of a rule.
449 However -Wobsolete will warn about this deprecated naming.
451 - AR's `cru' flags are now set in a global ARFLAGS variable instead
452 of being hard-coded in each $(AR) invocation, so they can be
453 substituted from configure.ac. This has been requested by people
454 dealing with non-POSIX ar implementations.
456 - New warning option: -Woverride. This will warn about any user
457 target or variable definitions which override Automake
460 - Texinfo rules back up and restore info files when makeinfo fails.
462 - Texinfo rules now support the `html' target.
463 Running this requires Texinfo 4.0 or greater.
465 `html' is a new recursive target, so if your package mixes
466 hand-crafted `Makefile.in's with Automake-generated
467 `Makefile.in's, you should adjust the former to support (or
468 ignore) this target so that `make html' recurses successfully. If
469 you had a custom `html' rule in your `Makefile.am', it's better to
470 rename it as `html-local', otherwise your rule will override
471 Automake's new rule (you can check that by running `automake
472 -Woverride') and that will stop the recursion to subdirectories.
474 Last but not least, this `html' rule is declared PHONY, even when
475 overridden. Fortunately, it appears that few packages use a
476 non-PHONY `html' rule.
478 - Any file which is m4_included from configure.ac will appear as a
479 configure and Makefile.in dependency, and will be automatically
482 - The rules for rebuilding Makefiles and Makefile.ins will now
483 rebuild all Makefiles and all Makefile.ins at once when one of
484 configure's dependencies has changed. This is considerably faster
485 than previous implementations, where config.status and automake
486 were run separately in each directory (this still happens when you
487 change a Makefile.am locally, without touching configure.ac or
488 friends). Doing this also solves a longstanding issue: these
489 rebuild rules failed to work when adding new directories to the
490 tree, forcing you to run automake manually.
492 - For similar reasons, the rules to rebuild configure,
493 config.status, and aclocal.m4 are now defined in all directories.
494 Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
495 CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
496 should better define them in all directories. This is easily done
497 using an AC_SUBST (make sure you prefix these dependencies with
498 $(top_srcdir) since this variable will appear at different
499 levels of the build tree).
501 - aclocal will now use `m4_include' instead of copying local m4
502 files into aclocal.m4. (Local m4 files are those you ship with
503 your project, other files will be copied as usual.)
505 Because m4_included files are automatically distributed, it means
506 for most projects there is no point in EXTRA_DISTing the list of
507 m4 files which are used. (You can probably get rid of
508 m4/Makefile.am if you had one.)
510 - aclocal will avoid touching aclocal.m4 when possible, so that
511 Autom4te's cache isn't needlessly invalidated. This behavior can
512 be switched off with the new `--force' option.
514 - aclocal now uses Autoconf's --trace to detect macros which are
515 actually used and will no longer include unused macros simply
516 because they where mentioned. This was often the case for macros
517 called conditionally.
519 - New options no-dist and no-dist-gzip.
521 - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
522 py-compile, and ylwrap, now all understand --version and --help.
524 - Automake will now recognize AC_CONFIG_LINKS so far as removing created
525 links as part of the distclean target and including source files in
528 - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
529 argument. The latter can be used to override the default behavior
532 - Automake will exit with $? = 63 on version mismatch. (So does
533 Autoconf 2.58) missing knows this, and in this case it will
534 emulate the tools as if they were absent. Because older versions
535 of Automake and Autoconf did not use this exit code, this change
536 will only be useful in projects generated with future versions of
539 - When using AC_CONFIG_FILES with multiple input files, Automake
540 generates the first ".in" input file for which a ".am" exists.
541 (Former versions would try to use only the first input file.)
543 - lisp_DATA is now allowed. If you are using the empty ELCFILES
544 idiom to disable byte-compilation of lisp_LISP files, it is
545 recommended that you switch to using lisp_DATA. Note that
546 this is not strictly equivalent: lisp_DATA will install elisp
547 files even if emacs is not installed, while *_LISP do not
548 install anything unless emacs is found.
550 - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
551 available. This selection is achieved through the Makefile
552 variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
553 `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
554 `$(install_sh) -m 0755 -d'.
558 - Because `mkdir -p' is available on most platforms, and we can use
559 `install-sh -d' when it is not, the use of the mkinstalldirs
560 script is being phased out. `automake --add-missing' no longer
561 installs it, and if you remove mkinstalldirs from your package,
562 automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
564 Gettext 0.12.1 still requires mkinstalldirs. Fortunately
565 gettextize and autopoint will install it when needed. Automake
566 will continue to define the $(mkinstalldirs) and to distribute
567 mkinstalldirs when this script is in the source tree.
569 - AM_PROG_CC_STDC is now empty. The content of this macro was
570 merged in AC_PROG_CC. If your code uses $am_cv_prog_cc_stdc, you
571 should adjust it to use $ac_cv_prog_cc_stdc instead. (This
572 renaming should be safe, even if you have to support several,
573 versions of Automake, because AC_PROG_CC defines this variable
574 since Autoconf 2.54.)
576 - Some users where using the undocumented ACLOCAL_M4_SOURCES
577 variable to override the aclocal.m4 dependencies computed
578 (inaccurately) by older versions of Automake. Because Automake
579 now tracks configure's m4 dependencies accurately (see m4_include
580 above), the use of ACLOCAL_M4_SOURCES should be considered
581 obsolete and will be flagged as such when running `automake
586 - Defining programs conditionally using Automake conditionals no
587 longer leads to a combinatorial explosion. The following
588 construct used to be troublesome when used with dozens of
603 Likewise for _SOURCES, _LDADD, and _LIBADD variables.
605 - Due to implementation constraints, previous versions of Automake
606 proscribed multiple conditional definitions of some variables
616 All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
617 This restriction has been lifted, and these variables now
618 support multiple conditional definitions as do other variables.
620 - Cleanup the definitions of $(distdir) and $(top_distdir).
621 $(top_distdir) now points to the root of the distribution
622 directory created during `make dist', as it did in Automake 1.4,
623 not to the root of the build tree as it did in intervening
624 versions. Furthermore these two variables are now only defined in
625 the top level Makefile, and passed to sub-directories when running
628 - The --no-force option now correctly checks the Makefile.in's
629 dependencies before deciding not to update it.
631 - Do not assume that make files are called Makefile in cleaning rules.
633 - Update .info files in the source tree, not in the build tree. This
634 is what the GNU Coding Standard recommend. Only Automake 1.7.x
635 used to update these files in the build tree (previous versions did
636 it in the source tree too), and it caused several problems, varying
637 from mere annoyance to portability issues.
639 - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
640 when --add-missing and --force-missing are used. For backward
641 compatibility --add-missing will continue to install COPYING (in
642 `gnu' strictness) when none of these three files exist, but this
643 use is deprecated: you should better choose a license yourself and
644 install it once for all in your source tree (and in your code
647 - Fix ylwrap so that it does not overwrite header files that haven't
648 changed, as the inline rule already does.
650 - User-defined rules override automake-defined rules for the same
651 targets, even when rules do not have commands. This is not new
652 (and was documented), however some of the automake-generated
653 rules have escaped this principle in former Automake versions.
654 Rules for the following targets are affected by this fix:
656 clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
657 info, info-am, install-data-am, install-exec-am, install-info,
658 install-info-am, install-man, installcheck-am, maintainer-clean,
659 maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
660 ps, ps-am, uninstall-am, uninstall-info, uninstall-man
662 Practically it means that an attempt to supplement the dependencies
663 of some target, as in
667 will now *silently override* the automake definition of the
668 rule for this target. Running `automake -Woverride' will diagnose
669 all such overriding definitions.
671 It should be noted that almost all these targets support a *-local
672 variant that is meant to supplement the automake-defined rule
673 (See node `Extending' in the manual). The above rule should
676 clean-local: my-clean-rule
678 These *-local targets have been documented since at least
679 Automake 1.2, so you should not fear the change if you have
680 to support multiple automake versions.
684 - The Automake manual is now distributed under the terms of the GNU FDL.
686 - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
688 - core dumps are no longer removed by the cleaning rules. There are
689 at least three reasons for this:
690 1. These files should not be created by any build step,
691 so their removal do not fit any of the cleaning rules.
692 Actually, they may be precious to the developer.
693 2. If such file is created during a build, then it's clearly a
694 bug Automake should not hide. Not removing the file will
695 cause `make distcheck' to complain about its presence.
696 3. Operating systems have different naming conventions for
697 core dump files. A core file on one system might be a
698 completely legitimate data file on another system.
700 - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
701 defined by Automake. This means that any definition in the
702 environment will be used, unless overridden in the Makefile.am or
703 on the command line. The old behavior, where these variables were
704 defined empty in each Makefile, can be obtained by AC_SUBSTing or
705 AC_ARG_VARing each variable from configure.ac.
707 - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
708 documented. (The is not a new feature, these variables have
709 been there since at least Automake 1.4.)
712 * Fix install-strip to work with nobase_ binaries.
713 * Fix renaming of #line directives in ylwrap.
714 * Rebuild with Autoconf 2.59. (1.7.8 was not installable with pdksh.)
717 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
718 * Fix detection of Debian's install-info, broken since version 1.5.
719 (Debian bug #213524).
720 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
721 This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
724 * The implementation of automake's --no-force option is unreliable,
725 so this option is ignored in this version. A real fix will appear in
726 Automake 1.8. (Debian Bug #206299)
727 * AM_PATH_PYTHON: really check the whole list of interpreters if no
728 argument is given. (PR/399)
729 * Do not warn about leading `_' in variable names, even with -Wportability.
730 * Support user redefinitions of TEXINFO_TEX.
731 * depcomp: support AIX Compiler version 6.
732 * Fix missing rebuilds during `make dist' with BSD make.
733 (Could produce tarballs containing out-of-date files.)
734 * Resurrect multilib support.
735 * Noteworthy manual updates:
736 - Extending aclocal: how to write m4 macros that won't trigger warnings
738 - A Shared Library: Rewrite and split into subsections.
741 * Fix depcomp's icc mode for ICC 7.1.
742 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
743 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
744 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
745 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
746 * Remove Latin-1 characters from elisp-comp.
747 * Update the manual's @dircategory to match the Free Software Directory.
750 * Update install-sh's license to remove an advertising clause.
752 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
753 that caused invalid Makefile.ins to be generated.
754 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
755 * New FAQ entry: renamed objects.
758 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
759 the Emacs implementation)
760 * Fix output of aclocal.m4 dependencies in subdirectories.
761 * Use `mv -f' instead of `mv' in fastdep rules.
762 * Upgrade mdate-sh to work on OS/2.
763 * Don't byte-compile elisp files when ELCFILES is set empty.
764 (this documented feature was broken by 1.7.3)
765 * Diagnose trailing backslashes on last line of Makefile.am.
766 * Diagnose whitespace following trailing backslashes.
767 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
768 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
770 * `make install' will build `BUILT_SOURCES' first.
771 * Minor documentation fixes.
774 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
775 * Query distutils for `pythondir' and `pythonexecdir', instead of
776 using an hardcoded path. This should allow builds on 64-bit
777 distributions that usually use lib64/ instead of lib/.
778 * AM_PATH_PYTHON will also search for python2.3.
779 * elisp files are now built all at once instead of one by one. Besides
780 incurring a speed-up, this is required to support interdependent elisp files.
782 - `make distcheck' will now work in `_inst/' and `_build' instead
783 of `=inst/' and `=build/'
784 - use `_dirstamp' when the file-system doesn't support `.dirstamp'
785 - install/uninstall `*.i[0-9][0-9]'-style info files
786 - more changes that affect only the Automake package (not its output)
787 * Fix some incompatibilities with upcoming perl-5.10.
788 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
791 - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
792 is troublesome with gcc and Solaris compilers. (PR/385)
793 - makedepend mode: work with Libtool. (PR/385 too)
795 * better support for unusual gettext setups, such as multiple po/ directories
797 - Flag missing po/ and intl/ directories as warnings, not errors.
798 - Disable these warnings if po/ does not exist.
799 * Noteworthy manual updates:
801 - Document how AC_CONFIG_AUX_DIR interacts with missing files.
803 - Document `AM_YFLAGS = -d'. (PR/382)
806 * Fix installation and uninstallation of Info files built in subdirectories.
807 * Do not run `./configure --with-included-gettext' during `make distcheck'
808 if AM_GNU_GETTEXT([external]) is used.
809 * Correctly uninstall renamed man pages.
810 * Do not strip escaped newline in variables defined in one condition
811 and augmented in another condition.
812 * Fix ansi2knr rules for LIBOBJS sources.
813 * Clean all known Texinfo index files, not only those which appear to
814 be used, because we cannot know wich indexes are used in included files.
815 (PR/375, Debian Bug #168671)
816 * Honor only the first @setfilename seen in a Texinfo file.
817 * Treat "required file X not found" diagnostics as errors (exit status 1).
818 * Don't complain that a required file is not found when it is a Makefile
820 * Don't use single suffix inference rules when building `.info'-less
821 Info files, for the sake of Solaris make.
822 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
823 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
824 * Warn about multiple inference rules when -Wportability is used. (PR/372)
825 * Fix building of deansified files from subdirectories. (PR/370)
826 * Add missing `fi' in the .c->.obj rules.
827 * Improve install-sh to work even when names contain spaces or certain
828 (but not all) shell metachars.
829 * Fix the following spurious failures in the test suite:
830 depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
831 * Noteworthy manual updates:
832 - Augment the section about BUILT_SOURCES.
833 - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
836 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
838 * Aclocal should now recognize macro names containing parentheses, e.g.
839 AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
840 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
842 * Install Python files even if they were built. (PR/369)
843 * Have stamp-vti dependent upon configure instead of configure.ac, as the
844 version might not be defined in the latter. (PR/358)
845 * Reorder arguments passed to a couple of commands, so things works
846 when POSIXLY_CORRECT=1.
847 * Fix a regex that can cause Perl to segfault on large input.
849 * Fix distribution of packages that have some sources defined conditionally,
850 as in the `Conditional compilation using Automake conditionals' example
852 * Fix spurious test suite failures on IRIX.
853 * Don't report a required variable as undefined if it has been
854 defined conditionally for the "right" conditions.
855 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
856 `make distcheck' fails.
857 * Fix distribution of included Makefile fragment, so we don't create
858 spurious directories in the distribution. (PR/366)
859 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
862 * Autoconf 2.54 is required.
863 * `aclocal' and `automake' will no longer warn about obsolete
864 configure macros. This is done by `autoconf -Wobsolete'.
865 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
866 AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
867 supported). You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
868 and AC_HEADER_TIOCGWINSZ instead. `autoupdate' can upgrade
869 `configure.ac' for you.
870 * Support for per-program and per-library `_CPPFLAGS'.
871 * New `ctags' target (builds CTAGS files).
872 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
873 (see `automake --help' or the manual for a list of them).
874 * Honor the WARNINGS environment variable.
875 * Omit the call to depcomp when using gcc3: call the compiler directly.
876 * A new option, std-options, tests that programs support --help and --version
877 when `make installcheck' is run. This is enabled by --gnits.
878 * Texinfo rules now support the `ps' and `pdf' targets.
879 * Info files are now created in the build directory, not the source directory.
880 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
882 * `make distcheck' will enforce DESTDIR support by attempting
884 * `+=' can be used in conditionals, even if the augmented variable
885 was defined for another condition.
886 * Makefile fragments (inserted with `include') are always distributed.
887 * Use Autoconf's --trace interface to inspect configure.ac and get
888 a more accurate view of it.
889 * Add support for extending aclocal's default macro search path
890 using a `dirlist' file within the aclocal directory.
891 * automake --output-dir is deprecated.
892 * The part of the distcheck target that checks whether uninstall actually
893 removes all installed files has been moved in a separate target,
894 distuninstallcheck, so it can be overridden easily.
898 * Support for AM_INIT_GETTEXT([external])
899 * Bug fixes, including:
900 - Fix Automake's own `make install' so it works even if `ln' doesn't.
901 - nobase_ programs and scripts honor --program-transform correctly.
902 - Erase configure.lineno during `make distclean'.
903 - Erase YACC and LEX outputs during `make maintainer-clean'.
906 * Many bug fixes, including:
907 - Requiring the current version works.
908 - Fix "$@" portability issues (for Zsh).
909 - Fix output of dummy dependency files in presence of post-processed
911 - Don't compute dependencies in background to avoid races with libtool.
912 - Fix handling of _OBJECTS variables for targets sharing source variables.
913 - Check dependency mode for Java when AM_PROG_GCJ is used.
916 * automake --output-dir is deprecated
917 * Many bug fixes, including:
918 - Don't choke on AM_LDFLAGS definitions.
919 - Clean libtool objects from subdirectories.
920 - Allow configure variables with reserved suffix and unknown prefix
921 (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
922 - Fix the definition of AUTOMAKE and ACLOCAL in configure.
925 * Autoconf 2.52 is required.
926 * automake no longer run libtoolize.
927 This is the job of autoreconf (from GNU Autoconf).
928 * `dist' generates all the archive flavors, as did `dist-all'.
929 * `dist-gzip' generates the Gzip tar file only.
930 * Combining Automake Makefile conditionals no longer lead to a combinatorial
931 explosion. Makefile.in's keep a reasonable size.
932 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
933 are no longer shipped, since Autoconf 2.52 provides them (both as AM_
935 * `#line' of Lex and Yacc files are properly set.
936 * EXTRA_DIST can contain generated directories.
937 * Support for dot-less extensions in suffix rules.
938 * The part of the distcheck target that checks whether distclean actually
939 cleans all built files has been moved in a separate target, distcleancheck,
940 so it can be overridden easily.
941 * `make distcheck' will pass additional options defined in
942 $(DISTCHECK_CONFIGURE_FLAGS) to configure.
943 * Fixed CDPATH portability problems, in particular for MacOS X.
944 * Fixed handling of nobase_ targets.
945 * Fixed support of implicit rules leading to .lo objects.
946 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
947 * Added uninstall-hook target
948 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
949 You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
950 (Note that "pkgname" is not "tarname", see the manual for details.)
951 It is also possible to pass a list of global Automake options as
952 first argument to this new form of AM_INIT_AUTOMAKE.
953 * Compiler-based assembler is now called `CCAS'; people expected `AS'
954 to be a real assembler.
955 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it. Adding
956 AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
957 * aclocal and automake are also installed with the version number
958 appended, and some of the install directory names have changed.
959 This lets you have multiple versions installed simultaneously.
960 * Support for parsers and lexers in subdirectories.
963 * Support for `configure.ac'.
964 * Support for `else COND', `endif COND' and negated conditions `!COND'.
965 * `make dist-all' is much faster.
966 * Allows '@' AC_SUBSTs in macro names.
967 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
968 * User-side dependency tracking. Developers no longer need GNU make
970 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
971 * Most files are correctly handled if they appear in subdirs
972 For instance, a _DATA file can appear in a subdir
973 * GNU tar is no longer required for `make dist'
974 * Added support for `dist_' and `nodist_' prefixes
975 * Added support for `nobase_' prefix
976 * Compiled Java support
977 * Support for per-executable and per-library compilation flags
981 * Added support for the Fortran 77 programming language.
982 * Re-indexed the Automake Texinfo manual.
983 * Added `AM_FOOFLAGS' variable for each compiler invocation;
984 e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
985 * Support for latest autoconf, including support for objext
986 * Can now put `.' in SUBDIRS to control build order
987 * `include' command and `+=' support for macro assignment
988 * Dependency tracking no long susceptible to deleted header file problem
989 * Maintainer mode now a conditional. @MAINT@ is now an anachronism.
994 * Better Cygwin32 support
995 * Support for suffix rules with _SOURCES variables
996 * New options `readme-alpha' and `check-news'; Gnits mode sets these
997 * @LEXLIB@ no longer required when lex source seen
998 Lex support in `missing', and new lex macro. Update your missing script.
999 * Built-in support for assembly
1000 * aclocal gives error if `AM_' macro not found
1001 * Passed YFLAGS, not YACCFLAGS, to yacc
1002 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
1003 * Dependencies computed as a side effect of compilation
1004 * Preliminary support for Java
1005 * DESTDIR support at "make install" time
1006 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
1010 * Better DejaGnu support
1011 * Added no-installinfo option
1012 * Added Emacs Lisp support
1013 * Added --no-force option
1014 * Included `aclocal' program
1015 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
1016 * Now uses `AM_' macro names everywhere
1017 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
1018 ansi2knr now works correctly on K&R sources
1019 * Better C++, yacc, lex support
1020 * Will compute _DEPENDENCIES variables automatically if not supplied
1021 * Will interpolate $(...) and ${...} when examining contents of a variable
1022 * .deps files now in build directory, not source directory; dependency
1023 handling generally rewritten
1024 * DATA, MANS and BUILT_SOURCES no longer included in distribution
1025 * can now put config.h into a subdir
1026 * Added dist-all target
1027 * Support for install-info program (see texinfo 3.9)
1028 * Support for "yacc -d"
1029 * configure substitutions are automatically discovered and included
1030 in generated Makefile.in
1031 * Special --cygnus mode
1032 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
1033 when making distribution. Some dependencies are auto-ignored.
1034 * Changed how libraries are specified in _LIBRARIES variable
1035 * Full libtool support, from Gord Matzigkeit
1036 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
1037 AM_CONFIG_HEADER handles it automatically
1038 * Texinfo output files no longer need .info extension
1039 * Added `missing' support
1041 * Conditionals in Makefile.am, from Ian Taylor
1045 * distcheck target runs install and installcheck targets
1046 * Added preliminary support for DejaGnu.
1051 * More libtool fixes from Gord Matzigkeit; libtool support is still
1053 * Added support for jm_MAINTAINER_MODE
1055 * New "distcheck" target
1059 * mkinstalldirs and mdate-sh now appear in directory specified by
1061 * Removed DIST_SUBDIRS, DIST_OTHER
1062 * AC_ARG_PROGRAM only required when an actual program exists
1063 * dist-hook target now run before distribution packaged up; idea from
1064 Dieter Baron. Other hooks exist, too.
1065 * Preliminary (unfinished) support for libtool
1066 * Added short option names.
1067 * Better "dist" support when gluing together multiple packages
1071 * Documentation updates (many from François Pinard)
1072 * strictness `normal' now renamed to `foreign'
1073 * Renamed --install-missing to --add-missing
1074 * Now handles AC_CONFIG_AUX_DIR
1075 * Now handles TESTS macro
1076 * DIST_OTHER renamed to EXTRA_DIST
1077 * DIST_SUBDIRS is deprecated
1078 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
1079 * Better error messages in many cases
1080 * Program names are canonicalized
1081 * Added "check" prefix; from Gord Matzigkeit
1085 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
1086 * Beginnings of a test suite
1087 * Automatically adds -I options for $(srcdir), ".", and path to config.h
1088 * Doesn't print anything when running
1089 * Beginnings of MAINT_CHARSET support
1090 * Can specify version in AUTOMAKE_OPTIONS
1091 * Most errors recognizable by Emacs' M-x next-error
1092 * Added --verbose option
1093 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
1094 configure-generated names
1095 * Required macros now distributed in aclocal.m4
1097 * --strictness=gnu is default
1101 * More sophisticated configure.in scanning; now understands ALLOCA and
1102 LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
1103 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
1104 * CONFIG_HEADER variable now obsolete
1105 * Can handle multiple Texinfo sources
1106 * Allow hierarchies deeper than 2. From Gord Matzigkeit.
1107 * HEADERS variable no longer needed; now can put .h files directly into
1108 foo_SOURCES variable.
1109 * Automake automatically rebuilds files listed in AC_OUTPUT. The
1110 corresponding ".in" files are included in the distribution.
1113 * Added --gnu and --gnits options
1114 * More standards checking
1116 * Cleaned up 'dist' targets
1117 * Added AUTOMAKE_OPTIONS variable and several options
1118 * Now scans configure.in to get some information (preliminary)
1121 * Works with Perl 4 again
1124 * Added --install-missing option.
1125 * Pretty-prints generated macros and rules
1126 * Comments in Makefile.am are placed more intelligently in Makefile.in
1127 * Generates .PHONY target
1128 * Rule or macro in Makefile.am now overrides contents of Automake file
1129 * Substantial cleanups from François Pinard
1133 * Works with Perl 4 again.
1136 * New uniform naming scheme.
1137 * --strictness option
1139 * '.c' files corresponding to '.y' or '.l' files are automatically
1141 * Many bug fixes and cleanups
1144 * Allow objects to be conditionally included in libraries via lib_LIBADD.
1147 * Bug fixes in 'clean' code.
1148 * Now generates 'installdirs' target.
1149 * man page installation reworked.
1150 * 'make dist' no longer re-creates all Makefile.in's.
1153 * Reimplemented in Perl
1154 * Added --amdir option (for debugging)
1155 * Texinfo support cleaned up.
1156 * Automatic de-ANSI-fication cleaned up.
1157 * Cleaned up 'clean' targets.
1160 * Automatic dependency tracking
1161 * More documentation
1162 * New variables DATA and PACKAGEDATA
1163 * SCRIPTS installed using $(INSTALL_SCRIPT)
1164 * No longer uses double-colon rules
1166 * Changes in advance of internationalization
1170 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
1171 2004, 2005 Free Software Foundation, Inc.
1173 This file is part of GNU Automake.
1175 GNU Automake is free software; you can redistribute it and/or modify
1176 it under the terms of the GNU General Public License as published by
1177 the Free Software Foundation; either version 2, or (at your option)
1180 GNU Automake is distributed in the hope that it will be useful,
1181 but WITHOUT ANY WARRANTY; without even the implied warranty of
1182 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1183 GNU General Public License for more details.
1185 You should have received a copy of the GNU General Public License
1186 along with GNU Automake; see the file COPYING. If not, write to
1187 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1188 Boston, MA 02110-1301, USA.