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