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