* configure.in, NEWS: Bump version to 1.8.2b.
[automake.git] / NEWS
blob71d8aa779e97918300bc212e184d28134cc2aeea
1 Bug fixed in 1.8.2b:
3 * Long standing bugs:
5   - Quote filenames in installation rules, in case $DESTDIR, $prefix,
6     or any of the other *dir variables contain a space.
8     Please note that Automake does not and cannot support spaces in
9     filenames that are involved during the build.  This change affects
10     only installation paths, so that `make install' does not bomb out
11     in packages configured with
12       ./configure --prefix '/c/Program Files'
14   - Fix the depfiles output so it works with GNU sed (<4.1) even when
15     POSIXLY_CORRECT is set.
17   - Do not AC_SUBST(LIBOBJS) in AM_WITH_REGEX.  This macro was unusable
18     since Autoconf 2.54, which defines LIBOBJS itself.
20   - Fix a potential (but unlikely) race condition in parallel elisp
21     builds.  (Introduced in 1.7.3.)
23   - Do not assume that users override _DEPENDENCIES in all conditions
24     where Automake will try to define them.
26   - Do not use `mkdir -p' in mkinstalldirs, unless this is GNU mkdir.
27     Solaris 8's `mkdir -p' is not thread-safe and can break parallel
28     builds.
30     This fix also affects the $(mkdir_p) variable defined since
31     Automake 1.8.  It will be set to `mkdir -p' only if mkdir is GNU
32     mkdir, and to `mkinstalldirs' or `install-sh -d' otherwise.
34   - Secure temporary directory creation in `make distcheck'. (PR/413)
36   - Do not generate two build rules for `parser.h' when the
37     parser appears in two different conditionals.
39   - Work around a Solaris 8 /bin/sh bug in the test for dependency
40     checking.  Usually ./configure will not pick this shell; so this
41     fix only helps cases where the shell is forced to /bin/sh.
43 * Bugs introduced by 1.8:
45   - In some situations (hand-written `m4_include's), aclocal would
46     call the `File::Spec->rel2abs' method, which was only introduced
47     in Perl 5.6.  This new version reestablish support Perl 5.005.
49     It is likely that the next major Automake releases will require at
50     least Perl 5.6.  Consider upgrading your development environment
51     if you are still using the five-year-old Perl 5.005.
53   - Automake would sometimes fail to define rules for targets listed
54     in variables defined in multiple conditions.  For instance on
55       if C1
56         bin_PROGRAMS = a
57       else
58         bin_PROGRAMS = b
59       endif
60     it would define only the `a.$(OBJEXT): a.c' rule and omit the
61     `b.$(OBJEXT): b.c' rule.
63 * New sections in manual:
65   - Third-Party Makefiles: how to interface third party Makefiles.
66   - Upgrading: upgrading packages to newer Automake versions.
67   - Multiple Outputs: handling tools that produce many outputs.
69 Bug fixed in 1.8.2:
71 * A (well known) portability bug slipped in the changes made to
72   install-sh in Automake 1.8.1.  The broken install-sh would refuse to
73   install anything on Tru64.
75 * Fix install rules for conditionally built python files.  (This never
76   really worked.)
78 Bug fixed in 1.8.1:
80 * Bugs introduced by 1.8:
82   - Fix Config.pm import error with old Perl versions (at least
83     5.005_03).  One symptom is that aclocal could not find its macro
84     directory.
86   - Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
87     created by `make install' are always world readable, even if the
88     installer happens to have an overly restrictive umask (e.g. 077).
89     This was a mistake and has been reverted.  There are at least two
90     reasons why we must not use `-m 0755':
91       - it causes special bits like SGID to be ignored,
92       - it may be too restrictive (some setups expect 775 directories).
94   - Fix aclocal to honor definitions located in files which have been
95     m4_included manually.  aclocal 1.8 had been updated to check
96     m4_included files for new requirements, but forgot that these
97     m4_included files can also provide new definitions.
99     Note that if you have such a setup, we recommend you get rid of
100     it.  In the past, there was a reason to m4_include files manually:
101     aclocal used to duplicate entire M4 files into aclocal.m4, even
102     files that were distributed.  Some packages were therefore
103     m4_including the distributed file directly, and playing some
104     tricks to ensure aclocal would not copy that file to aclocal.m4,
105     in order to limit the amount of duplication.  Since aclocal 1.8.x
106     will precisely output m4_includes for local M4 files, we recommend
107     that you clean up your setup, removing all manual m4_includes and
108     letting aclocal output them.
110   - Output detailed menus in the Info version if the Automake manual,
111     so that Emacs can locate the indexes.
113   - configure.ac and configure were listed twice in DIST_COMMON (an
114     internal variable where Automake lists configury files to
115     distribute).  This was harmless, but unaesthetic.
117   - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
118     This was an issue only in the Automake package itself, not in
119     its output.
121   - Automake assumed that all AC_CONFIG_LINKS arguments had the form
122     DEST:SRC.  This was wrong, as some packages do
123     AC_CONFIG_LINKS($computedlinks).  This version no longer abort in
124     that situation.
126   - Contrary to mkinstalldirs, $(mkdir_p) was expecting exactly one
127     argument.  This caused two kinds of failures:
128       - Rules installing data in a conditionally defined directory
129         failed when that directory was undefined.  In this case no
130         argument was supplied.
131       - `make installdirs' failed, because several directories were
132         passed to $(mkdir_p).  This was an issue only on platform
133         were $(mkdir_p) is implemented with `install-sh -d'.
134     $(mkdir_p) as been changed to accept 0 or more arguments, as
135     mkinstalldirs did.
137 * Long-standing bugs:
139   - Fix an unexpected diagnostic occurring when users attempt
140     to override some internal variables that Automake appends to.
142   - aclocal now scans configure.ac for macro definitions (PR/319).
144   - Fix a portability issue with OSF1/Tru64 Make.  If a directory
145     distributes files which are outside itself (this usually occurs
146     when using AC_CONFIG_AUX_DIR([../dir]) to use auxiliary files
147     from a parent package), then `make distcheck' fails due to an
148     optimization performed by OSF1/Tru64 Make in its VPATH handling.
149     (tests/subpkg2.test failure)
151   - Fix another portability issue with Sun and OSF1/Tru64 Make.
152     In a VPATH-build configuration, `make install' would install
153     nobase_ files to wrong locations.
155   - Fix a Perl `uninitialized value' diagnostic occurring when
156     automake complains that a Texinfo file does not have a
157     @setfilename statement.
159   - Erase config.status.lineno during `make distclean'.  This file
160     can be created by config.status.  Automake already knew about
161     configure.lineno, but forgot config.status.lineno.
163   - Distribute all files, even those which are built and installed
164     conditionally.  This change affects files listed in conditionally
165     defined *_HEADERS and *_PYTHON variable (unless they are nodist_*)
166     as well as those listed in conditionally defined dist_*_DATA,
167     dist_*_JAVA, dist_*_LISP, and dist_*_SCRIPTS variables.
169   - Fix AM_PATH_LISPDIR to avoid \? in sed regular expressions; it
170     doesn't conform to POSIX.
172   - Normalize help strings for configure variables and options added
173     by Automake macros.
175 * Anticipation:
177   - Check for python2.4 in AM_PATH_PYTHON.
179 * Spurious failures in test suite:
181   - tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
182     tests/ltconv.test: fix failures with CVS Libtool.
183   - tests/aclocal6.test: fix failure if autom4te.cache is disabled.
184   - tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
185     fix failures with old Texinfo versions.
187 New in 1.8:
189 * Meta-News
191   - The NEWS file is more verbose.
193 * Requirements
195   - Autoconf 2.58 or greater is required.
197 * New features
199   - Default source file names in the absence of a _SOURCES declaration
200     are made by removing any target extension before appending `.c', so
201     to make the libtool module `foo.la' from `foo.c', you only need to
202     do this:
204         lib_LTLIBRARIES = foo.la
205         foo_la_LDFLAGS  = -module
207     For backward compatibility, foo_la.c will be used instead of
208     foo.c if this file exists or is the explicit target of a rule.
209     However -Wobsolete will warn about this deprecated naming.
211   - AR's `cru' flags are now set in a global ARFLAGS variable instead
212     of being hard-coded in each $(AR) invocation, so they can be
213     substituted from configure.ac.  This has been requested by people
214     dealing with non-POSIX ar implementations.
216   - New warning option: -Woverride.  This will warn about any user
217     target or variable definitions which override Automake
218     definitions.
220   - Texinfo rules back up and restore info files when makeinfo fails.
222   - Texinfo rules now support the `html' target.
223     Running this requires Texinfo 4.0 or greater.
225     `html' is a new recursive target, so if your package mixes
226     hand-crafted `Makefile.in's with Automake-generated
227     `Makefile.in's, you should adjust the former to support (or
228     ignore) this target so that `make html' recurses successfully.  If
229     you had a custom `html' rule in your `Makefile.am', it's better to
230     rename it as `html-local', otherwise your rule will override
231     Automake's new rule (you can check that by running `automake
232     -Woverride') and that will stop the recursion to subdirectories.
234     Last but not least, this `html' rule is declared PHONY, even when
235     overridden.  Fortunately, it appears that few packages use a
236     non-PHONY `html' rule.
238   - Any file which is m4_included from configure.ac will appear as a
239     configure and Makefile.in dependency, and will be automatically
240     distributed.
242   - The rules for rebuilding Makefiles and Makefile.ins will now
243     rebuild all Makefiles and all Makefile.ins at once when one of
244     configure's dependencies has changed.  This is considerably faster
245     than previous implementations, where config.status and automake
246     were run separately in each directory (this still happens when you
247     change a Makefile.am locally, without touching configure.ac or
248     friends).  Doing this also solves a longstanding issue: these
249     rebuild rules failed to work when adding new directories to the
250     tree, forcing you to run automake manually.
252   - For similar reasons, the rules to rebuild configure,
253     config.status, and aclocal.m4 are now defined in all directories.
254     Note that if you were using the CONFIG_STATUS_DEPENDENCIES and
255     CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you
256     should better define them in all directories.  This is easily done
257     using an AC_SUBST (make sure you prefix these dependencies with
258     $(top_srcdir) since this variable will appear at different
259     levels of the build tree).
261   - aclocal will now use `m4_include' instead of copying local m4
262     files into aclocal.m4.  (Local m4 files are those you ship with
263     your project, other files will be copied as usual.)
265     Because m4_included files are automatically distributed, it means
266     for most projects there is no point in EXTRA_DISTing the list of
267     m4 files which are used.  (You can probably get rid of
268     m4/Makefile.am if you had one.)
270   - aclocal will avoid touching aclocal.m4 when possible, so that
271     Autom4te's cache isn't needlessly invalidated.  This behavior can
272     be switched off with the new `--force' option.
274   - aclocal now uses Autoconf's --trace to detect macros which are
275     actually used and will no longer include unused macros simply
276     because they where mentioned.  This was often the case for macros
277     called conditionally.
279   - New options no-dist and no-dist-gzip.
281   - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs,
282     py-compile, and ylwrap, now all understand --version and --help.
284   - Automake will now recognize AC_CONFIG_LINKS so far as removing created
285     links as part of the distclean target and including source files in
286     distributions.
288   - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
289     argument.  The latter can be used to override the default behavior
290     (which is to abort).
292   - Automake will exit with $? = 63 on version mismatch.  (So does
293     Autoconf 2.58)  missing knows this, and in this case it will
294     emulate the tools as if they were absent.  Because older versions
295     of Automake and Autoconf did not use this exit code, this change
296     will only be useful in projects generated with future versions of
297     these tools.
299   - When using AC_CONFIG_FILES with multiple input files, Automake
300     generates the first ".in" input file for which a ".am" exists.
301     (Former versions would try to use only the first input file.)
303   - lisp_DATA is now allowed.  If you are using the empty ELCFILES
304     idiom to disable byte-compilation of lisp_LISP files, it is
305     recommended that you switch to using lisp_DATA.  Note that
306     this is not strictly equivalent: lisp_DATA will install elisp
307     files even if emacs is not installed, while *_LISP do not
308     install anything unless emacs is found.
310   - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
311     available.  This selection is achieved through the Makefile
312     variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
313     `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
314     `$(install_sh) -m 0755 -d'.
316 * Obsolete features
318   - Because `mkdir -p' is available on most platforms, and we can use
319     `install-sh -d' when it is not, the use of the mkinstalldirs
320     script is being phased out.  `automake --add-missing' no longer
321     installs it, and if you remove mkinstalldirs from your package,
322     automake will define $(mkinstalldirs) as an alias for $(mkdir_p).
324     Gettext 0.12.1 still requires mkinstalldirs.  Fortunately
325     gettextize and autopoint will install it when needed.  Automake
326     will continue to define the $(mkinstalldirs) and to distribute
327     mkinstalldirs when this script is in the source tree.
329   - AM_PROG_CC_STDC is now empty.  The content of this macro was
330     merged in AC_PROG_CC.  If your code uses $am_cv_prog_cc_stdc, you
331     should adjust it to use $ac_cv_prog_cc_stdc instead.  (This
332     renaming should be safe, even if you have to support several,
333     versions of Automake, because AC_PROG_CC defines this variable
334     since Autoconf 2.54.)
336   - Some users where using the undocumented ACLOCAL_M4_SOURCES
337     variable to override the aclocal.m4 dependencies computed
338     (inaccurately) by older versions of Automake.  Because Automake
339     now tracks configure's m4 dependencies accurately (see m4_include
340     above), the use of ACLOCAL_M4_SOURCES should be considered
341     obsolete and will be flagged as such when running `automake
342     -Wobsolete'.
344 * Bug fixes
346   - Defining programs conditionally using Automake conditionals no
347     longer leads to a combinatorial explosion.  The following
348     construct used to be troublesome when used with dozens of
349     conditions.
351       bin_PROGRAMS = a
352       if COND1
353         bin_PROGRAMS += a1
354       endif
355       if COND2
356         bin_PROGRAMS += a2
357       endif
358       if COND3
359         bin_PROGRAMS += a3
360       endif
361       ...
363     Likewise for _SOURCES, _LDADD, and _LIBADD variables.
365   - Due to implementation constraints, previous versions of Automake
366     proscribed multiple conditional definitions of some variables
367     like bin_PROGRAMS:
369       if COND1
370         bin_PROGRAMS = a1
371       endif
372       if COND2
373         bin_PROGRAMS = a2
374       endif
376     All _PROGRAMS, _LDADD, and _LIBADD variables were affected.
377     This restriction has been lifted, and these variables now
378     support multiple conditional definitions as do other variables.
380   - Cleanup the definitions of $(distdir) and $(top_distdir).
381     $(top_distdir) now points to the root of the distribution
382     directory created during `make dist', as it did in Automake 1.4,
383     not to the root of the build tree as it did in intervening
384     versions.  Furthermore these two variables are now only defined in
385     the top level Makefile, and passed to sub-directories when running
386     `make dist'.
388   - The --no-force option now correctly checks the Makefile.in's
389     dependencies before deciding not to update it.
391   - Do not assume that make files are called Makefile in cleaning rules.
393   - Update .info files in the source tree, not in the build tree.  This
394     is what the GNU Coding Standard recommend.  Only Automake 1.7.x
395     used to update these files in the build tree (previous versions did
396     it in the source tree too), and it caused several problems, varying
397     from mere annoyance to portability issues.
399   - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten
400     when --add-missing and --force-missing are used.  For backward
401     compatibility --add-missing will continue to install COPYING (in
402     `gnu' strictness) when none of these three files exist, but this
403     use is deprecated: you should better choose a license yourself and
404     install it once for all in your source tree (and in your code
405     management system).
407   - Fix ylwrap so that it does not overwrite header files that haven't
408     changed, as the inline rule already does.
410   - User-defined rules override automake-defined rules for the same
411     targets, even when rules do not have commands.  This is not new
412     (and was documented), however some of the automake-generated
413     rules have escaped this principle in former Automake versions.
414     Rules for the following targets are affected by this fix:
416        clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am,
417        info, info-am, install-data-am, install-exec-am, install-info,
418        install-info-am, install-man, installcheck-am, maintainer-clean,
419        maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am,
420        ps, ps-am, uninstall-am, uninstall-info, uninstall-man
422     Practically it means that an attempt to supplement the dependencies
423     of some target, as in
425        clean: my-clean-rule
427     will now *silently override* the automake definition of the
428     rule for this target.  Running `automake -Woverride' will diagnose
429     all such overriding definitions.
431     It should be noted that almost all these targets support a *-local
432     variant that is meant to supplement the automake-defined rule
433     (See node `Extending' in the manual).  The above rule should
434     be rewritten as
436       clean-local: my-clean-rule
438     These *-local targets have been documented since at least
439     Automake 1.2, so you should not fear the change if you have
440     to support multiple automake versions.
442 * Miscellaneous
444   - The Automake manual is now distributed under the terms of the GNU FDL.
446   - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined.
448   - core dumps are no longer removed by the cleaning rules.  There are
449     at least three reasons for this:
450       1. These files should not be created by any build step,
451          so their removal do not fit any of the cleaning rules.
452          Actually, they may be precious to the developer.
453       2. If such file is created during a build, then it's clearly a
454          bug Automake should not hide.  Not removing the file will
455          cause `make distcheck' to complain about its presence.
456       3. Operating systems have different naming conventions for
457          core dump files.  A core file on one system might be a
458          completely legitimate data file on another system.
460   - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer
461     defined by Automake.  This means that any definition in the
462     environment will be used, unless overridden in the Makefile.am or
463     on the command line.  The old behavior, where these variables were
464     defined empty in each Makefile, can be obtained by AC_SUBSTing or
465     AC_ARG_VARing each variable from configure.ac.
467   - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now
468     documented.  (The is not a new feature, these variables have
469     been there since at least Automake 1.4.)
471 Bugs fixed in 1.7.9:
472 * Fix install-strip to work with nobase_ binaries.
473 * Fix renaming of #line directives in ylwrap.
474 * Rebuild with Autoconf 2.59.  (1.7.8 was not installable with pdksh.)
476 Bugs fixed in 1.7.8:
477 * Remove spurious blank lines in cleaning rules introduced in 1.7.7.
478 * Fix detection of Debian's install-info, broken since version 1.5.
479   (Debian bug #213524).
480 * Honor -module if it appears in AM_LDFLAGS (i.e., relax name checking)
481   This was only done for libfoo_LDFLAGS and LDFLAGS in previous versions.
483 Bugs fixed in 1.7.7:
484 * The implementation of automake's --no-force option is unreliable,
485   so this option is ignored in this version.  A real fix will appear in
486   Automake 1.8.  (Debian Bug #206299)
487 * AM_PATH_PYTHON: really check the whole list of interpreters if no
488   argument is given.  (PR/399)
489 * Do not warn about leading `_' in variable names, even with -Wportability.
490 * Support user redefinitions of TEXINFO_TEX.
491 * depcomp: support AIX Compiler version 6.
492 * Fix missing rebuilds during `make dist' with BSD make.
493   (Could produce tarballs containing out-of-date files.)
494 * Resurrect multilib support.
495 * Noteworthy manual updates:
496   - Extending aclocal: how to write m4 macros that won't trigger warnings
497     with Automake 1.8.
498   - A Shared Library: Rewrite and split into subsections.
500 Bugs fixed in 1.7.6:
501 * Fix depcomp's icc mode for ICC 7.1.
502 * Diagnose calls to AC_CONFIG_FILES and friends with not enough arguments.
503 * Fix maintainer-clean's removal of autom4te.cache in VPATH builds.
504 * Fix AM_PATH_LISPDIR to work with POSIXLY_CORRECT=1.
505 * Fix the location reported in some diagnostics related to AUTOMAKE_OPTIONS.
506 * Remove Latin-1 characters from elisp-comp.
507 * Update the manual's @dircategory to match the Free Software Directory.
509 Bugs fixed in 1.7.5:
510 * Update install-sh's license to remove an advertising clause.
511   (Debian bug #191717)
512 * Fix a bug introduced in 1.7.4, related to BUILT_SOURCE handling,
513   that caused invalid Makefile.ins to be generated.
514 * Make sure AM_MAKE_INCLUDE doesn't fail when a `doit' file exists.
515 * New FAQ entry: renamed objects.
517 Bugs fixed in 1.7.4:
518 * Tweak the TAGS rule to support Exuberant Ctags (in addition to
519   the Emacs implementation)
520 * Fix output of aclocal.m4 dependencies in subdirectories.
521 * Use `mv -f' instead of `mv' in fastdep rules.
522 * Upgrade mdate-sh to work on OS/2.
523 * Don't byte-compile elisp files when ELCFILES is set empty.
524   (this documented feature was broken by 1.7.3)
525 * Diagnose trailing backslashes on last line of Makefile.am.
526 * Diagnose whitespace following trailing backslashes.
527 * Multiple tests are now correctly supported in DEJATOOL. (PR/388)
528 * Fix rebuilt rules for AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.bot])
529   Makefiles. (PR/389)
530 * `make install' will build `BUILT_SOURCES' first.
531 * Minor documentation fixes.
533 Bugs fixed in 1.7.3:
534 * Fix stamp files numbering (when using multiple AC_CONFIG_HEADERS).
535 * Query distutils for `pythondir' and `pythonexecdir', instead of
536   using an hardcoded path.  This should allow builds on 64-bit
537   distributions that usually use lib64/ instead of lib/.
538 * AM_PATH_PYTHON will also search for python2.3.
539 * elisp files are now built all at once instead of one by one. Besides
540   incurring a speed-up, this is required to support interdependent elisp files.
541 * Support for DJGPP:
542   - `make distcheck' will now work in `_inst/' and `_build' instead
543     of `=inst/' and `=build/'
544   - use `_dirstamp' when the file-system doesn't support `.dirstamp'
545   - install/uninstall `*.i[0-9][0-9]'-style info files
546   - more changes that affect only the Automake package (not its output)
547 * Fix some incompatibilities with upcoming perl-5.10.
548 * Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION when defining
549   PACKAGE and VERSION.
550 * depcomp fixes:
551   - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
552     is troublesome with gcc and Solaris compilers. (PR/385)
553   - makedepend mode: work with Libtool. (PR/385 too)
554   - support for ICC.
555 * better support for unusual gettext setups, such as multiple po/ directories
556   (PR/381):
557   - Flag missing po/ and intl/ directories as warnings, not errors.
558   - Disable these warnings if po/ does not exist.
559 * Noteworthy manual updates:
560   - New FAQ chapter.
561   - Document how AC_CONFIG_AUX_DIR interacts with missing files.
562     (Debian Bug #39542)
563   - Document `AM_YFLAGS = -d'.  (PR/382)
565 Bugs fixed in 1.7.2:
566 * Fix installation and uninstallation of Info files built in subdirectories.
567 * Do not run `./configure --with-included-gettext' during `make distcheck'
568   if AM_GNU_GETTEXT([external]) is used.
569 * Correctly uninstall renamed man pages.
570 * Do not strip escaped newline in variables defined in one condition
571   and augmented in another condition.
572 * Fix ansi2knr rules for LIBOBJS sources.
573 * Clean all known Texinfo index files, not only those which appear to
574   be used, because we cannot know wich indexes are used in included files.
575   (PR/375, Debian Bug #168671)
576 * Honor only the first @setfilename seen in a Texinfo file.
577 * Treat "required file X not found" diagnostics as errors (exit status 1).
578 * Don't complain that a required file is not found when it is a Makefile
579   target. (PR/357)
580 * Don't use single suffix inference rules when building `.info'-less
581   Info files, for the sake of Solaris make.
582 * The `check' target now depends on `$(BUILT_SOURCES)'. (PR/359)
583 * Recognize multiple inference rules such as `.a.b .c.d:'. (PR/371)
584 * Warn about multiple inference rules when -Wportability is used. (PR/372)
585 * Fix building of deansified files from subdirectories. (PR/370)
586 * Add missing `fi' in the .c->.obj rules.
587 * Improve install-sh to work even when names contain spaces or certain
588   (but not all) shell metachars.
589 * Fix the following spurious failures in the test suite:
590   depcomp2.test, gnits2.test, gnits3.test, python3.test, texinfo13.test
591 * Noteworthy manual updates:
592   - Augment the section about BUILT_SOURCES.
593   - Mention that AM_PROG_CC_STDC is a relic that is better avoided today.
595 Bugs fixed in 1.7.1:
596 * Honor `ansi2knr' for files built in subdirectories, or using per-targets
597   flags.
598 * Aclocal should now recognize macro names containing parentheses, e.g.
599   AC_DEFUN([AC_LANG_PREPROC(Fortran 90)], [...]).
600 * Erase *.sum and *.log files created by DejaGnu, during `make distclean'.
601   (Debian Bug#153697)
602 * Install Python files even if they were built.  (PR/369)
603 * Have stamp-vti dependent upon configure instead of configure.ac, as the
604   version might not be defined in the latter. (PR/358)
605 * Reorder arguments passed to a couple of commands, so things works
606   when POSIXLY_CORRECT=1.
607 * Fix a regex that can cause Perl to segfault on large input.
608   (Debian Bug#162583)
609 * Fix distribution of packages that have some sources defined conditionally,
610   as in the `Conditional compilation using Automake conditionals' example
611   of the manual.
612 * Fix spurious test suite failures on IRIX.
613 * Don't report a required variable as undefined if it has been
614   defined conditionally for the "right" conditions.
615 * Fix cleaning of the /tmp subdirectory used by `make distcheck', in case
616   `make distcheck' fails.
617 * Fix distribution of included Makefile fragment, so we don't create
618   spurious directories in the distribution. (PR/366)
619 * Don't complain that a target lacks `.$(EXEEXT)' when it has it.
621 New in 1.7:
622 * Autoconf 2.54 is required.
623 * `aclocal' and `automake' will no longer warn about obsolete
624   configure macros.  This is done by `autoconf -Wobsolete'.
625 * AM_CONFIG_HEADER, AM_SYS_POSIX_TERMIOS and
626   AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL are obsolete (although still
627   supported).  You should use AC_CONFIG_HEADERS, AC_SYS_POSIX_TERMIOS,
628   and AC_HEADER_TIOCGWINSZ instead.  `autoupdate' can upgrade
629   `configure.ac' for you.
630 * Support for per-program and per-library `_CPPFLAGS'.
631 * New `ctags' target (builds CTAGS files).
632 * Support for -Wmumble and -Wno-mumble, where mumble is a warning category
633   (see `automake --help' or the manual for a list of them).
634 * Honor the WARNINGS environment variable.
635 * Omit the call to depcomp when using gcc3: call the compiler directly.
636 * A new option, std-options, tests that programs support --help and --version
637   when `make installcheck' is run.  This is enabled by --gnits.
638 * Texinfo rules now support the `ps' and `pdf' targets.
639 * Info files are now created in the build directory, not the source directory.
640 * info_TEXINFOS supports files in subdirectories (this requires Texinfo 4.1
641   or greater).
642 * `make distcheck' will enforce DESTDIR support by attempting
643   a DESTDIR install.
644 * `+=' can be used in conditionals, even if the augmented variable
645   was defined for another condition.
646 * Makefile fragments (inserted with `include') are always distributed.
647 * Use Autoconf's --trace interface to inspect configure.ac and get
648   a more accurate view of it.
649 * Add support for extending aclocal's default macro search path
650   using a `dirlist' file within the aclocal directory.
651 * automake --output-dir is deprecated.
652 * The part of the distcheck target that checks whether uninstall actually
653   removes all installed files has been moved in a separate target,
654   distuninstallcheck, so it can be overridden easily.
655 * Many bug fixes.
657 New in 1.6.3:
658 * Support for AM_INIT_GETTEXT([external])
659 * Bug fixes, including:
660   - Fix Automake's own `make install' so it works even if `ln' doesn't.
661   - nobase_ programs and scripts honor --program-transform correctly.
662   - Erase configure.lineno during `make distclean'.
663   - Erase YACC and LEX outputs during `make maintainer-clean'.
665 New in 1.6.2:
666 * Many bug fixes, including:
667   - Requiring the current version works.
668   - Fix "$@" portability issues (for Zsh).
669   - Fix output of dummy dependency files in presence of post-processed
670     Makefile.in's.
671   - Don't compute dependencies in background to avoid races with libtool.
672   - Fix handling of _OBJECTS variables for targets sharing source variables.
673   - Check dependency mode for Java when AM_PROG_GCJ is used.
675 New in 1.6.1:
676 * automake --output-dir is deprecated
677 * Many bug fixes, including:
678   - Don't choke on AM_LDFLAGS definitions.
679   - Clean libtool objects from subdirectories.
680   - Allow configure variables with reserved suffix and unknown prefix
681     (e.g. AC_SUBST(mumble_LDFLAGS) when 'mumble' is not a target).
682   - Fix the definition of AUTOMAKE and ACLOCAL in configure.
684 New in 1.6:
685 * Autoconf 2.52 is required.
686 * automake no longer run libtoolize.
687   This is the job of autoreconf (from GNU Autoconf).
688 * `dist' generates all the archive flavors, as did `dist-all'.
689 * `dist-gzip' generates the Gzip tar file only.
690 * Combining Automake Makefile conditionals no longer lead to a combinatorial
691   explosion.  Makefile.in's keep a reasonable size.
692 * AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
693   are no longer shipped, since Autoconf 2.52 provides them (both as AM_
694   and AC_).
695 * `#line' of Lex and Yacc files are properly set.
696 * EXTRA_DIST can contain generated directories.
697 * Support for dot-less extensions in suffix rules.
698 * The part of the distcheck target that checks whether distclean actually
699   cleans all built files has been moved in a separate target, distcleancheck,
700   so it can be overridden easily.
701 * `make distcheck' will pass additional options defined in
702   $(DISTCHECK_CONFIGURE_FLAGS) to configure.
703 * Fixed CDPATH portability problems, in particular for MacOS X.
704 * Fixed handling of nobase_ targets.
705 * Fixed support of implicit rules leading to .lo objects.
706 * Fixed late inclusion of --add-missing files (e.g. depcomp) in DIST_COMMON
707 * Added uninstall-hook target
708 * `AC_INIT AM_INIT_AUTOMAKE(tarname,version)' is an obsolete construct.
709   You can now use `AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' instead.
710   (Note that "pkgname" is not "tarname", see the manual for details.)
711   It is also possible to pass a list of global Automake options as
712   first argument to this new form of AM_INIT_AUTOMAKE.
713 * Compiler-based assembler is now called `CCAS'; people expected `AS'
714   to be a real assembler.
715 * AM_INIT_AUTOMAKE will set STRIP itself when it needs it.  Adding
716   AC_CHECK_TOOL([STRIP], [strip]) manually is no longer required.
717 * aclocal and automake are also installed with the version number
718   appended, and some of the install directory names have changed.
719   This lets you have multiple versions installed simultaneously.
720 * Support for parsers and lexers in subdirectories.
722 New in 1.5:
723 * Support for `configure.ac'.
724 * Support for `else COND', `endif COND' and negated conditions `!COND'.
725 * `make dist-all' is much faster.
726 * Allows '@' AC_SUBSTs in macro names.
727 * Faster AM_INIT_AUTOMAKE (requires update of `missing' script)
728 * User-side dependency tracking.  Developers no longer need GNU make
729 * Python support
730 * Uses DIST_SUBDIRS in some situations when SUBDIRS is conditional
731 * Most files are correctly handled if they appear in subdirs
732   For instance, a _DATA file can appear in a subdir
733 * GNU tar is no longer required for `make dist'
734 * Added support for `dist_' and `nodist_' prefixes
735 * Added support for `nobase_' prefix
736 * Compiled Java support
737 * Support for per-executable and per-library compilation flags
738 * Many bug fixes
740 New in 1.4:
741 * Added support for the Fortran 77 programming language.
742 * Re-indexed the Automake Texinfo manual.
743 * Added `AM_FOOFLAGS' variable for each compiler invocation;
744   e.g. AM_CFLAGS can be used in Makefile.am to set C compiler flags
745 * Support for latest autoconf, including support for objext
746 * Can now put `.' in SUBDIRS to control build order
747 * `include' command and `+=' support for macro assignment
748 * Dependency tracking no long susceptible to deleted header file problem
749 * Maintainer mode now a conditional.  @MAINT@ is now an anachronism.
750 * Bug fixes
752 New in 1.3:
753 * Bug fixes
754 * Better Cygwin32 support
755 * Support for suffix rules with _SOURCES variables
756 * New options `readme-alpha' and `check-news'; Gnits mode sets these
757 * @LEXLIB@ no longer required when lex source seen
758   Lex support in `missing', and new lex macro.  Update your missing script.
759 * Built-in support for assembly
760 * aclocal gives error if `AM_' macro not found
761 * Passed YFLAGS, not YACCFLAGS, to yacc
762 * AM_PROG_CC_STDC does not have to come before AC_PROG_CPP
763 * Dependencies computed as a side effect of compilation
764 * Preliminary support for Java
765 * DESTDIR support at "make install" time
766 * Improved ansi2knr support; you must use the latest ansi2knr.c (included)
768 New in 1.2:
769 * Bug fixes
770 * Better DejaGnu support
771 * Added no-installinfo option
772 * Added Emacs Lisp support
773 * Added --no-force option
774 * Included `aclocal' program
775 * Automake will now generate rules to regenerate aclocal.m4, if appropriate
776 * Now uses `AM_' macro names everywhere
777 * ansi2knr option can have directory prefix (eg `../lib/ansi2knr')
778   ansi2knr now works correctly on K&R sources
779 * Better C++, yacc, lex support
780 * Will compute _DEPENDENCIES variables automatically if not supplied
781 * Will interpolate $(...) and ${...} when examining contents of a variable
782 * .deps files now in build directory, not source directory; dependency
783   handling generally rewritten
784 * DATA, MANS and BUILT_SOURCES no longer included in distribution
785 * can now put config.h into a subdir
786 * Added dist-all target
787 * Support for install-info program (see texinfo 3.9)
788 * Support for "yacc -d"
789 * configure substitutions are automatically discovered and included
790   in generated Makefile.in
791 * Special --cygnus mode
792 * OMIT_DEPENDENCIES can now hold list of dependencies to be omitted
793   when making distribution.  Some dependencies are auto-ignored.
794 * Changed how libraries are specified in _LIBRARIES variable
795 * Full libtool support, from Gord Matzigkeit
796 * No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
797   AM_CONFIG_HEADER handles it automatically
798 * Texinfo output files no longer need .info extension
799 * Added `missing' support
800 * Cygwin32 support
801 * Conditionals in Makefile.am, from Ian Taylor
803 New in 1.0:
804 * Bug fixes
805 * distcheck target runs install and installcheck targets
806 * Added preliminary support for DejaGnu.
808 New in 0.33:
809 * More bug fixes
810 * More checking
811 * More libtool fixes from Gord Matzigkeit; libtool support is still
812   preliminary however
813 * Added support for jm_MAINTAINER_MODE
814 * dist-zip support
815 * New "distcheck" target
817 New in 0.32:
818 * Many bug fixes
819 * mkinstalldirs and mdate-sh now appear in directory specified by
820   AC_CONFIG_AUX_DIR.
821 * Removed DIST_SUBDIRS, DIST_OTHER
822 * AC_ARG_PROGRAM only required when an actual program exists
823 * dist-hook target now run before distribution packaged up; idea from
824   Dieter Baron.  Other hooks exist, too.
825 * Preliminary (unfinished) support for libtool
826 * Added short option names.
827 * Better "dist" support when gluing together multiple packages
829 New in 0.31:
830 * Bug fixes
831 * Documentation updates (many from François Pinard)
832 * strictness `normal' now renamed to `foreign'
833 * Renamed --install-missing to --add-missing
834 * Now handles AC_CONFIG_AUX_DIR
835 * Now handles TESTS macro
836 * DIST_OTHER renamed to EXTRA_DIST
837 * DIST_SUBDIRS is deprecated
838 * @ALLOCA@ and @LIBOBJS@ now work in _LDADD variables
839 * Better error messages in many cases
840 * Program names are canonicalized
841 * Added "check" prefix; from Gord Matzigkeit
843 New in 0.30:
844 * Bug fixes
845 * configure.in scanner knows about AC_PATH_XTRA, AC_OUTPUT ":" syntax
846 * Beginnings of a test suite
847 * Automatically adds -I options for $(srcdir), ".", and path to config.h
848 * Doesn't print anything when running
849 * Beginnings of MAINT_CHARSET support
850 * Can specify version in AUTOMAKE_OPTIONS
851 * Most errors recognizable by Emacs' M-x next-error
852 * Added --verbose option
853 * All "primary" variables now obsolete; use EXTRA_PRIMARY to supply
854   configure-generated names
855 * Required macros now distributed in aclocal.m4
856 * New documentation
857 * --strictness=gnu is default
859 New in 0.29:
860 * Many bug fixes
861 * More sophisticated configure.in scanning; now understands ALLOCA and
862   LIBOBJS directly, handles AC_CONFIG_HEADER more precisely, etc.
863 * TEXINFOS and MANS now obsolete; use info_TEXINFOS and man_MANS instead.
864 * CONFIG_HEADER variable now obsolete
865 * Can handle multiple Texinfo sources
866 * Allow hierarchies deeper than 2.  From Gord Matzigkeit.
867 * HEADERS variable no longer needed; now can put .h files directly into
868   foo_SOURCES variable.
869 * Automake automatically rebuilds files listed in AC_OUTPUT.  The
870   corresponding ".in" files are included in the distribution.
872 New in 0.28:
873 * Added --gnu and --gnits options
874 * More standards checking
875 * Bug fixes
876 * Cleaned up 'dist' targets
877 * Added AUTOMAKE_OPTIONS variable and several options
878 * Now scans configure.in to get some information (preliminary)
880 New in 0.27:
881 * Works with Perl 4 again
883 New in 0.26:
884 * Added --install-missing option.
885 * Pretty-prints generated macros and rules
886 * Comments in Makefile.am are placed more intelligently in Makefile.in
887 * Generates .PHONY target
888 * Rule or macro in Makefile.am now overrides contents of Automake file
889 * Substantial cleanups from François Pinard
891 New in 0.25:
892 * Bug fixes.
893 * Works with Perl 4 again.
895 New in 0.24:
896 * New uniform naming scheme.
897 * --strictness option
898 * Works with Perl 5
899 * '.c' files corresponding to '.y' or '.l' files are automatically
900   distributed.
901 * Many bug fixes and cleanups
903 New in 0.23:
904 * Allow objects to be conditionally included in libraries via lib_LIBADD.
906 New in 0.22:
907 * Bug fixes in 'clean' code.
908 * Now generates 'installdirs' target.
909 * man page installation reworked.
910 * 'make dist' no longer re-creates all Makefile.in's.
912 New in 0.21:
913 * Reimplemented in Perl
914 * Added --amdir option (for debugging)
915 * Texinfo support cleaned up.
916 * Automatic de-ANSI-fication cleaned up.
917 * Cleaned up 'clean' targets.
919 New in 0.20:
920 * Automatic dependency tracking
921 * More documentation
922 * New variables DATA and PACKAGEDATA
923 * SCRIPTS installed using $(INSTALL_SCRIPT)
924 * No longer uses double-colon rules
925 * Bug fixes
926 * Changes in advance of internationalization
928 -----
930 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
931 Free Software Foundation, Inc.
933 This file is part of GNU Automake.
935 GNU Automake is free software; you can redistribute it and/or modify
936 it under the terms of the GNU General Public License as published by
937 the Free Software Foundation; either version 2, or (at your option)
938 any later version.
940 GNU Automake is distributed in the hope that it will be useful,
941 but WITHOUT ANY WARRANTY; without even the implied warranty of
942 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
943 GNU General Public License for more details.
945 You should have received a copy of the GNU General Public License
946 along with GNU Automake; see the file COPYING.  If not, write to
947 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
948 Boston, MA 02111-1307, USA.