For Debian Bug #185388:
[automake.git] / ChangeLog
blobb643fec9c46b88bacb6249943ce6f10db3307274
1 2003-03-20  Alexandre Duret-Lutz  <adl@gnu.org>
3         For Debian Bug #185388:
4         * automake.texi (Extending): Augment the install-exec-hook
5         discussion with an example how to symlink a versioned binary.
6         * tests/insthook.test: Rewrite to test the above example.
7         Report from James R. Van Zandt.
9 2003-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
11         * tests/aclocal4.test: Require GNU make.
13 2003-03-14  Alexandre Duret-Lutz  <adl@gnu.org>
15         * tests/aclocal4.test: New file.  Test for the ACLOCAL_M4 bug below.
16         * tests/Makefile.am (TESTS): Add aclocal4.test.
18 2003-03-14  Jim Meyering  <jim@meyering.net>
20         * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
21         subdirectories.  Makefile.in depends on that variable.
23 2003-03-13  Alexandre Duret-Lutz  <adl@gnu.org>
25         * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
27         Fix for PR automake/386:
28         * tests/ansi10.test: Require Autoconf 2.55.  Skip the test otherwise.
29         Reported by Owen Taylor.
31         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
32         (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
33         Suggested by Matthias Andree.
35         * tests/README: Typo.
37 2003-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
39         * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
40         with AC_CONFIG_FILES are cleaned by `make distclean'.  Don't
41         pretend otherwise.
42         Reported by Rafael Laboissiere.
44 2003-03-04  Andreas Buening  <andreas.buening@nexgo.de>
46         * lib/mdate-sh: Find out which column of the ls -l output contains
47         the month. Do not assume it is at least the fifth column.
49 2003-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
51         * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
53         * automake.in (handle_emacs_lisp): Don't build *.elc files
54         if ELCFILES was set empty.
55         * tests/lisp4.test: New file.
56         * tests/Makefile.am (TESTS): Add lisp4.test.
57         Reported by Simon Josefsson.
59         * tests/lex3.test, tests/lex5.test: Require flex.
60         Reported by Leo Davis.
62 2003-02-25  Alexandre Duret-Lutz  <adl@gnu.org>
64         * automake.in (read_am_file): Catch trailing backslashes on last line.
65         * tests/backsl3.test: New file.
66         * tests/Makefile.am (TESTS): Add backsl3.test.
67         Reported by Akim Demaille.
69 2003-02-23  Alexandre Duret-Lutz  <adl@gnu.org>
71         * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
72         (distcleancheck): Fix typos and other errors reported by Karl
73         Berry.
75 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
77         * configure.in: Bump version to 1.7.3a.
79         * configure.in, NEWS: Bump version to 1.7.3.
81         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
82         instead of ${...}.
84         * tests/defs.in: Handle required=ro-dir.
85         * tests/destdir.test: Use this.
87 2003-02-19  Richard Dawe  <rich@phekda.freeserve.co.uk>
89         * lib/am/distdir.am (distcheck): Strip any leading DOS drive
90         from dc_install_base.
92 2003-02-19  Alexandre Duret-Lutz  <adl@gnu.org>
94         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
95         DJGPP-style *.iNN info files.
96         (maintainer-clean-aminfo): Rewrite using the same pattern
97         as in uninstall-info-am.
98         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
99         DJGPP-style *.iNN info files before running $(MAKEINFO).
100         * tests/txinfo19.test: New file.
101         * tests/Makefile.am (TESTS): Add txinfo19.test.
103 2003-02-18  Richard Dawe  <rich@phekda.freeserve.co.uk>
105         * lib/depcomp (dashmstdout): Cope with DOS filenames in
106         dependencies.
108 2003-02-17  Alexandre Duret-Lutz  <adl@gnu.org>
110         * lib/depcomp (makedepend): Don't pass $object to makedepend.
111         Reported by Stepan Kasal.
113 2003-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
115         * configure.in: Bump version to 1.7.2c.
117         * tests/defs.in: Handle required=makedepend.
119         * configure.in, NEWS: Bump version to 1.7.2b.
121         * Makefile.am (maintainer-check): Update the diff check
122         to account for the recent @SHELL@ substitution.
124 2003-02-11  Alexandre Duret-Lutz  <adl@gnu.org>
126         * lib/depcomp: Do not put comments on the `icc)' line.
128         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
129         versions.
131         Fix for PR automake/381:
132         * automake.in (handle_gettext): Do not print diagnostics
133         about po/ and intl/ missing from SUBDIRS if po/ does not
134         exist.  Warn if `SUBDIRS = intl' is used although libintl
135         is 'external'.
136         * tests/gettext.test: Make sure diagnostics are not output
137         when po/ does not exist.
138         * tests/gettext2.test: Test for unwanted intl/.
139         PR from Alexander Turbov, fix suggested by Bruno Haible.
141         * m4/depend.m4: Grep depcomp's stderr for icc warnings about
142         ignored options.
143         * lib/depcomp (icc): New mode.
144         * tests/depcomp5.test: New file.
145         * tests/defs.in: Handle required=icc.
146         * tests/Makefile.am (TESTS): Add it.
148         Temporary hack for PR automake/381:
149         * automake.in (handle_gettext): Turn missing po/ and intl/ errors
150         into -Wsyntax warnings.
152 2003-02-10  Richard Dawe  <rich@phekda.freeserve.co.uk>
154         * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
155         This makes the setting of SHELL work for DJGPP.
157 2003-02-10  Alexandre Duret-Lutz  <adl@gnu.org>
159         For PR automake/385:
160         * lib/depcomp (makedepend): Strip any libtool call, before
161         running makedepends.
162         * tests/depcomp4.test: New file.
163         * tests/Makefile.am (TESTS): Add it.
164         Reported by Jeff Squyres.
166         Related to PR automake/385:
167         * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
168         write dependencies to /dev/null.  `-o /dev/null' was added
169         on 2002-06-13 just because I tried to replace `-o foo.o' by something
170         else and didn't thought about removing it entirely.
171         * tests/depcomp3.test: New file.
172         * tests/Makefile.am (TESTS): Add it.
174         * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
175         SHELL for DJGPP.
176         Suggested by Richard Dawe.
178 2003-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
180         * NEWS: Summarize recent changes.
182         * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
183         (distcleancheck): New nodes.
185 2003-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
187         * automake.in (scan_autoconf_files): Don't complain that
188         AM_INIT_AUTOMAKE comes from an old version if it was not found.
190 2003-02-04  Alexandre Duret-Lutz  <adl@gnu.org>
192         * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
193         indexes of header files so we create stamp files with
194         the right numbers when config.status is run on some headers.
195         * tests/stamph2.test: Check for this.
196         Reported by Sander Niemeijer.
198 2003-02-02  Jeremy Nimmer  <jwnimmer@alum.mit.edu>  (tiny change)
200         For Debian Bug #39542:
201         * automake.texi (Invoking Automake, Optional): Document how
202         AC_CONFIG_AUX_DIR interacts with missing files.
204 2003-01-31  Alexandre Duret-Lutz  <adl@gnu.org>
206         * automake.texi (Program and Library Variables): Clarify that
207         _LIBADD is for libraries and _LDADD for programs.
209 2003-01-22  Alexandre Duret-Lutz  <adl@gnu.org>
211         * automake.texi (Python): Explain that directory variables start
212         with either ${prefix} or ${exec_prefix}, and point to the
213         `Installation Directory Variables' section of the Autoconf manual.
215 2003-01-21  Alexandre Duret-Lutz  <adl@gnu.org>
217         * automake.texi (Dist): Reorder the dist-hook section, and
218         move the DIST_SUBDIRS paragraph earlier.
220 2003-01-19  Alexandre Duret-Lutz  <adl@gnu.org>
222         * tests/README: New file.
224         * automake.texi (Conditional Programs): Show a sample Makefile.am.
225         Remind $(EXEEXT) must be appended to configure substitutions.
226         Show how Automake conditionals can be used instead.
227         * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
228         appended to conditionally defined programs.
230 2003-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
232         * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
233         python2.3.
235         * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
236         or `pyexecdir', for the sake of 64-bit distributions that usually
237         use lib64/ instead of lib/.  Fall back to the default directory
238         if it doesn't work.
239         Suggested by Gwenole Beauchesne.
241 2003-01-14  Alexandre Duret-Lutz  <adl@gnu.org>
243         For PR automake/382:
244         * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
245         Explain BUILT_SOURCES is usually needed in this case.
246         Reported by William S Fulton.
248 2003-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
250         Rename some files for the sake of 8+3 file systems.
251         * tests/aclocali.test:     Rename to tests/aclocal.test.
252         * tests/aclocali1.test:    Rename to tests/aclocal2.test.
253         * tests/aclocalii.test:    Rename to tests/aclocal3.test.
254         * tests/acoutput.test:     Rename to tests/acoutpt.test.
255         * tests/acoutput2.test:    Rename to tests/acoutpt2.test.
256         * tests/acouttbs.test:     Rename to tests/acoutbs.test.
257         * tests/acouttbs2.test:    Rename to tests/acoutbs2.test.
258         * tests/autoheader.test:   Rename to tests/autohdr.test.
259         * tests/autoheader2.test:  Rename to tests/autohdr2.test.
260         * tests/condincl.test:     Rename to tests/condinc.test.
261         * tests/condincl2.test:    Rename to tests/condinc2.test.
262         * tests/distcommon.test:   Rename to tests/distcom.test.
263         * tests/distcommon2.test:  Rename to tests/distcom2.test.
264         * tests/distcommon3.test:  Rename to tests/distcom3.test.
265         * tests/installsh.test:    Rename to tests/instsh.test.
266         * tests/installsh2.test:   Rename to tests/instsh2.test.
267         * tests/instdata.test:     Rename to tests/instdat.test.
268         * tests/instdata2.test:    Rename to tests/instdat2.test.
269         * tests/libobj12b.test:    Rename to tests/libobj13.test.
270         * tests/link_f_c.test:     Rename to tests/link_fc.test.
271         * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
272         * tests/link_f_cxx.test:   Rename to tests/link_fcxx.test.
273         * tests/nodefine.test:     Rename to tests/nodef.test.
274         * tests/nodefine2.test:    Rename to tests/nodef2.test.
275         * tests/required.test:     Rename to tests/reqd.test.
276         * tests/required2.test:    Rename to tests/reqd2.test.
277         * tests/sourcesub.test:    Rename to tests/srcsub.test.
278         * tests/sourcesub2.test:   Rename to tests/srcsub2.test.
279         * tests/specflags.test:    Rename to tests/specflg.test.
280         * tests/specflags2.test:   Rename to tests/specflg2.test.
281         * tests/specflags3.test:   Rename to tests/specflg3.test.
282         * tests/specflags6.test:   Rename to tests/specflg6.test.
283         * tests/specflags7.test:   Rename to tests/specflg7.test.
284         * tests/specflags8.test:   Rename to tests/specflg8.test.
285         * tests/specflags9.test:   Rename to tests/specflg9.test.
286         * tests/subdircond.test:   Rename to tests/subcond.test.
287         * tests/subdircond2.test:  Rename to tests/subcond2.test.
288         * tests/subdircond3.test:  Rename to tests/subcond3.test.
289         * tests/texinfo.test:      Rename to tests/txinfo.test.
290         * tests/texinfo2.test:     Rename to tests/txinfo2.test.
291         * tests/texinfo3.test:     Rename to tests/txinfo3.test.
292         * tests/texinfo4.test:     Rename to tests/txinfo4.test.
293         * tests/texinfo5.test:     Rename to tests/txinfo5.test.
294         * tests/texinfo6.test:     Rename to tests/txinfo6.test.
295         * tests/texinfo7.test:     Rename to tests/txinfo7.test.
296         * tests/texinfo8.test:     Rename to tests/txinfo8.test.
297         * tests/texinfo9.test:     Rename to tests/txinfo9.test.
298         * tests/texinfo10.test:    Rename to tests/txinfo10.test.
299         * tests/texinfo13.test:    Rename to tests/txinfo13.test.
300         * tests/texinfo16.test:    Rename to tests/txinfo16.test.
301         * tests/texinfo17.test:    Rename to tests/txinfo17.test.
302         * tests/texinfo18.test:    Rename to tests/txinfo18.test.
303         * tests/Makefile.am (TESTS): Adjust.
304         * ChangeLog.1996: Rename to ChangeLog.96.
305         * ChangeLog.1998: Rename to ChangeLog.98.
306         * ChangeLog.2000: Rename to ChangeLog.00.
307         * ChangeLog.2001: Rename to ChangeLog.01.
308         * Makefile.am (EXTRA_DIST): Adjust.
309         Reported by Richard Dawe.
311 2003-01-13  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
313         * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
314         Use '_build' and '_inst' instead of '=build' and '=inst'.
315         * tests/man2.test: Reflect change automake: check for files in
316         '_build' and '_inst' directories instead of '=build' and '=inst'.
318 2003-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
320         Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
321         * m4/lead-dot.m4: New file.
322         * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
323         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
324         * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
325         DEPDIR using am__leading_dot.
326         * automake.in (require_build_directory): Define am__dirstamp, a new
327         variable for the dirstamp basename, based on am__leading_dot.
328         * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
329         use $(am__dirstamp).
330         Reported by Richard Dawe.
332         * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
333         Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
334         testing for programs.
335         Reported by Richard Dawe.
337 2003-01-10  Alexandre Duret-Lutz  <adl@gnu.org>
339         * Makefile.am (maintainer-check): Suggest using $sleep instead of
340         sleep 2.
341         * tests/defs.in (sleep): New variable.
342         * tests/asm.test, tests/confsub.test, tests/lisp3.test,
343         tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
344         Use $sleep instead of sleep 2, to work around timestamp
345         inconsistencies in Windows.
346         Reported by Richard Dawe.
348         * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
349         after $MAKE -e.
350         * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
351         tests/man2.test, tests/subobj3.test, tests/suffix8.test,
352         tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
353         $SHELL is overridden by tests/defs, so it won't hurt even
354         if $MAKE -e uses the $SHELL envvar.
355         * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
356         tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
357         Reported by Richard Dawe.
359         Build elisp files all at once instead of one by one.
360         * automake.in (handle_emacs_lisp): Define am__ELFILES.  Add
361         elc-stamp to all's dependencies.
362         * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
363         (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
364         (clean-lisp): Clean elc-stamp.
365         * lib/elisp-comp: Reindent.  Erase the temporatry directory
366         from a trap.  Propagate Emacs's exit status.
367         * tests/lisp3.test: New file.
368         * tests/Makefile.am (TESTS): Add lisp3.test.
369         Reported by Ryan T. Sammartino.
371 2003-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
373         * automake.in (macro_define): Add missing `{$cond}' (typo from
374         2002-09-18).
375         ($gen_copyright): Append year 2003.
376         (version): Increase year.
378         * tests/defs.in: Substitute aclocaldir instead of running
379         the installed aclocal.  Otherwise Libtool and Gettext
380         tests get skipped when aclocal doesn't preexist.
381         Reported by Imacat.
382         * tests/listval.test, tests/suffix2.test: Remove pointless -I
383         argument to aclocal.
385 2002-12-31  Alexandre Duret-Lutz  <adl@gnu.org>
387         * automake.in (err): Rename as ...
388         (error): ... this.  Adjust all callers.
389         Suggested by H.Merijn Brand.
391 2002-12-11  Brian Ford  <ford@vss.fsi.com>
393         * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
394         and AC_PACKAGE_VERSION.
396 2002-12-11  Alexandre Duret-Lutz  <adl@gnu.org>
398         * automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
399         no longer have to be rewritten in order to support deansification.
400         (Tests): Link to the DejaGnu manual.
401         (Optional): Comment out FIXME.
402         (Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA)
403         instead of @LIBOBJ@ and @ALLOCA@.
404         (Sources): Typo.
406 2002-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
408         * configure.in: Bump version to 1.7.2a.
410         * configure.in, NEWS: Bump version to 1.7.2.
412         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
413         directories from info filenames.
414         * tests/texinfo13.test: Make sure main.info gets installed
415         as $(infodir)/main.info.
417         * automake.in (handle_dist): Do not define %GETTEXT% if the user
418         is using $seen_gettext_external, this distcheck won't run
419         `./configure' with a meaningless `--with-included-gettext'.
420         * tests/gettext.test: Make sure distcheck uses --with-included-gettext.
421         * tests/gettext2.test: Make sure distcheck does not use
422         --with-included-gettext.
424         * automake.texi (Public macros) <AM_PROG_CC_STDC>: Explain this
425         macro is obsolete, and that users should
426         s/am_cv_prog_cc_stdc/ac_cv_prog_cc_stdc/ their configure.ac.
428 2002-12-04  Alexandre Duret-Lutz  <adl@gnu.org>
430         * automake.in (handle_languages): Test $objdir, not $srcdir, to
431         decide whether a _.c file is in a subdirectory and has to be
432         cleaned separately.
433         Reported by Kevin Ryde.
435         * automake.texi (Options): Some English nits from Eric Siegerman.
436         (Sources): Rewrite the introduction and move the example to ...
437         (Built sources example): ... this separate node.
439         * tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
440         not in the environment.  Otherwise the test will fail when
441         run with ksh and VERBOSE=x.
442         Reported by Paul Jarc.
444         * tests/man2.test: Exercize `make uninstall', to test
445         the previous change.
447 2002-12-03  Nicolas Joly  <njoly@pasteur.fr>
449         * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
450         the man pages being uninstalled, if needed.
452 2002-12-03  Alexandre Duret-Lutz  <adl@gnu.org>
454         * automake.in (macro_define): Do not strip escaped new lines
455         in Automake's +='ed variables.  We don't know whether it will
456         be pretty printed or not at this point.
457         (variable_pretty_output): Do this here.
458         * tests/pluseq10.test: New file.
459         * tests/Makefile.am (TESTS): Add pluseq10.test.
460         Reported by Ralf Corsepius.
462 2002-12-02  Charles Wilson  <cwilson@ece.gatech.edu>
464         * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
465         Append $(EXEEXT) again.
467 2002-12-02  Alexandre Duret-Lutz  <adl@gnu.org>
469         * automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
470         example.
472         * automake.texi (Options): Programs listed in
473         AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
474         * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
475         Append $(EXEEXT).
476         Reported by Charles Wilson.
478 2002-12-01  Alexandre Duret-Lutz  <adl@gnu.org>
480         * configure.in, NEWS: Bump version to 1.7.1c.
482         * configure.in, NEWS: Bump version to 1.7.1b.
484         * automake.in (lang_c_finish): Do not fill de_ansi_files with
485         subdirectory informations for %libsources files.  A LIBOBJS source
486         is always in the current directory.  This reverts part of a change
487         from 2002-01-13.
488         * tests/ansi10.test: New file.
489         * tests/Makefile.am (TESTS): Add ansi10.test.
491         * automake.in (do_check_merge_target): Add missing space.
493         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
494         versions.
496         * configure.in: Do not use missing while checking for Autoconf's
497         version, otherwise we won't notice that Autoconf isn't installed.
498         Augment the error message with a few questions to help users.
500 2002-11-30  Alexandre Duret-Lutz  <adl@gnu.org>
502         * tests/gnits2.test, tests/gnits3.test: Move the greps inside the
503         Makefile, so we can honor $(EXEEXT).  Otherwise these tests
504         fail under Cygwin.
505         Reported by Charles Wilson.
507         * NEWS: Summarize recent fixes.
509         For PR automake/375 (Debian Bug #168671):
510         * automake.in (scan_texinfo_file): Erase all known index files, no
511         matter whether they are used at the top-level or not, because we
512         can never know if they are used in included files.  The remaining
513         macros we recognize at the top-level of a Texi document are
514         @defindex, @defcodeindex, @synindex, and @syncodeindex.
515         * tests/texinfo18.test: New file.
516         * tests/Makefile.am (TESTS): Add texinfo18.test.
517         Reported by Simon Richter.
519         * automake.in (scan_texinfo_file): Honor only the first @setfilename.
520         * tests/texinfo17.test: New file.
521         * tests/Makefile.am (TESTS): Add texinfo17.test.
522         Reported by Karl Berry.
524         For PR automake/357:
525         * automake.in (require_file_internal): Don't complain a file is "not
526         found" when it is a target.  Make sure "not found" files are otherwise
527         reported as error (they were reported as 'note').
528         * tests/distcommon3.test: Augment to test the above.
529         * tests/libobj12b.test: Touch ltmain.sh.
530         * tests/required2.test: Make sure Automake fails because ltmain.sh
531         has been removed.
532         Reported by Ronald Landheer.
534         * tests/texinfo3.test: Make sure we don't output single suffix
535         inference rules when building `.info'-less Info files (this
536         confuses Solaris make).  Run distcheck to make sure the rules
537         work.
538         * automake.in (output_texinfo_build_rules): Define GENERIC_INFO
539         and SOURCE_INFO.
540         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%,
541         %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
543 2002-11-29  Jim Meyering  <jim@meyering.net>
545         * automake.texi: Fix some typos and a grammar nit.
547         * lib/install-sh: Put `$0:' at the beginning of each diagnostic,
548         not `install:'.
550 2002-11-29  Alexandre Duret-Lutz  <adl@gnu.org>
552         For PR automake/359:
553         * automake.in (do_check_merge_target): Make `check' dependent on
554         $(BUILT_SOURCES) if the variable is defined.  Run `check-am' or
555         `check-recursive' in a submake in this case.
556         * tests/check2.test, tests/check3.test: New files.
557         * tests/check.test: Make sure `check' depends on `check-am'.
558         * tests/Makefile.am (TESTS): Add check2.test and check3.test.
560         For PR automake/371 and PR automake/372:
561         * automake.in (rule_define): Honor inference rules with multiple
562         targets, and warn when they are used.
563         * tests/suffix11.test: New file.
564         * tests/Makefile.am (TESTS): Add suffix11.test.
565         Reported by Duncan Gibson.
567 2002-11-28  Alexandre Duret-Lutz  <adl@gnu.org>
569         For PR automake/370:
570         * automake.in (handle_languages): Don't prepend $U to $myext
571         since handle_single_transform_list now appends it to $obj.
572         Process the rule twice to handle deansified files in subdirectories.
573         Mark _.c files in subdirectories for cleaning.
574         (handle_single_transform_list): Append $U to $obj_sans_ext if
575         needed: before this dependencies were output foo.Po instead
576         of foo$U.Po.  Don't output explicit dependencies for renamed
577         objects or sources in sub-directories: we already output
578         a full compile rule for them.
579         (lang_c_finish): Don't always use the full filename in the
580         .c -> _.c rule.  This reverts part of my change of 2002-11-21.
581         * tests/ansi6.test, tests/ansi7.test: Make sure deansified
582         files are created in the right directory, and cleaned.
583         Reported by Kevin Ryde.
585 2002-11-21  Alexandre Duret-Lutz  <adl@gnu.org>
587         * tests/texinfo13.test: Require texi2dvi-o.
588         * tests/defs.in: Handle required=texi2dvi-o.
590         * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
592         * automake.in (handle_single_transform_list): Don't strip the
593         directory from $full_ansi.  This reverts my patch of 2002-10-16.
594         (lang_c_finish): Use the full filename, including the directory,
595         in the .c -> _.c rule.  These two files must reside in the same
596         directory.
597         * tests/ansi6.test: Also try to compile without ansi2knr.
598         Reported by Andreas Schwab
600 2002-11-14  Eric Blake  <ebb9@email.byu.edu>
602         * lib/am/depend2.am: Add missing fi in c.obj rules.
604 2002-11-13  Alexandre Duret-Lutz  <adl@gnu.org>
606         * automake.texi (Conditional Sources): Fix the `+=' example.
607         Reported by Mike Castle.
609 2002-11-12  Jim Meyering  <jim@meyering.net>
611         Make install-sh work even when names contain spaces or
612         certain (but not all) shell metachars.
614         * lib/install-sh: Remove lots of unnecessary quoting.
615         Add double quotes where necessary.
616         Write diagnostics to stderr, not stdout.
617         Normalize spacing in diagnostics: use one space (not two,
618         and not a TAB) after the leading `install:'.
619         Remove trailing white space.
620         Remove unnecessary curly braces.
621         If removing the destination fails, also try to move it aside.
622         Use `trap' more portably.
623         * tests/installsh2.test: New file, to test for the above fix.
624         * tests/Makefile.am (TESTS): Add installsh2.test.
626 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
628         * automake.in (switch_warning): Subject Perl warnings to -Werror.
630         * automake.texi (Extending): Complete unterminated sentence.
631         Reported by Mike Castle.
633 2002-10-31  Alexandre Duret-Lutz  <adl@gnu.org>
635         * automake.texi (Dist): Fix the distcleancheck_listfiles example.
636         Reported by Karl Berry.
638 2002-10-25  Charles Wilson  <cwilson@ece.gatech.edu>
640         * tests/defs.in: Add explicit stanza for python -V.
642 2002-10-16  Alexandre Duret-Lutz  <adl@gnu.org>
644         * configure.in: Bump version to 1.7.1a.
646         * NEWS, configure.in: Version 1.7.1.
648         * automake.in (handle_single_transform_list): Strip directory name
649         from $full_ansi if subdir-objects is not set.
651         * lib/texinfo.tex: New version from Texinfo 4.2b.
653 2002-10-15  Alexandre Duret-Lutz  <adl@gnu.org>
655         * automake.in (handle_single_transform_list) <full_ansi>: New variable.
656         Use this to record correct dependencies about deansifiable files which
657         are using per-program flags or are in a subdirectory.
658         * tests/ansi9.test: New file.
659         * tests/Makefile.am (TESTS): Add ansi9.test.
660         Reported by Paul D. Smith
662 2002-10-12  Alexandre Duret-Lutz  <adl@gnu.org>
664         * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
665         quoted, accept any character but `]'.  This makes it possible
666         to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
667         (scan_m4_files): Quote $key in the regex.  Don't define $expr, it's
668         not used.
669         (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
670         and $ac_require_rx.
671         * tests/aclocal2.test: New file.
672         * tests/Makefile.am (TESTS): Add aclocal2.test.
673         Reported by Tamara L. Dahlgren and Tom Epperly.
675 2002-10-11  Alexandre Duret-Lutz  <adl@gnu.org>
677         * NEWS: Summarize recent bug fixes.
679         For Debian Bug#153697:
680         * lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
681         $tool.log.
682         Suggested by Andrew Suffield.
684 2002-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
686         For PR automake/369:
687         * lib/am/python.am: Lookup python files in build directory or
688         source directory.
689         From Mathias Doreille.
690         * tests/python3.test: New file.
691         * tests/Makefile.am (TESTS): Add python3.test.
692         * tests/defs: Handle `required=python'.
694         For PR automake/358:
695         * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
696         configure.ac.
697         Suggested by Thien-Thi Nguyen.
698         * tests/vtexi.test: Adjust.
700 2002-10-08  Paul Eggert  <eggert@twinsun.com>
702         * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
703         %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
704         input", not "makeinfo input -o output", as the latter fails if
705         POSIXLY_CORRECT=1.
706         * lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
707         * m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
709 2002-10-08  Alexandre Duret-Lutz  <adl@gnu.org>
711         * automake.in (file_contents_internal): Fix the relationship
712         regex flags, don't use `m'.
714         For Debian Bug#162583:
715         * automake.in (file_contents_internal): Simplify regex to
716         separate relationship from actions in rules.
717         Reported by Sam Hocevar.
719 2002-10-01  Alexandre Duret-Lutz  <adl@gnu.org>
721         * automake.in (handle_source_transform): If foo_SOURCES is defined
722         conditionally, create and use am__foo_SOURCES_DIST for distribution.
723         * tests/condd.test: Extend to check distributed files.
724         * tests/substref.test: Make sure we don't use such a variable when
725         it's not needed.
726         Reported by Marcus Brinkmann.
728 2002-09-30  Ezra Peisach  <epeisach@MED-XTAL.BU.EDU>
730         * tests/defs.in: Run $MAKE --version -v.
731         * tests/dollar.test: Abort on ./defs failure.
732         * tests/lex5.test: Require GNUmake, not make.
734 2002-09-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
736         * automake.in (require_variables): The fix introduced in 2002-09-19
737         is imcomplete.  Rewrite the conditional variable definition check
738         using &variable_not_always_defined_in_cond.
739         * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
740         * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
741         cond28.test.
742         Reported by Juergen Keil.
744         * lib/am/distdir.am (distdir): Create $dc_destdir right before
745         its use.
746         Reported by Akim Demaille.
748         Fix for PR automake/366:
749         * automake.in (handle_dist): Strip $(srcdir) and replace
750         $(top_srcdir) when computing DIST_COMMON directories.
751         * tests/include2.test: Use an obsolute $(srcdir), and check
752         for spurious directories in $(distdir)/sub.
753         * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
754         Reported by Kevin Ryde.
756 2002-09-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
758         * tests/exeext3.test: New file.
759         * tests/Makefile.am (TESTS): Add exeext3.test.
760         * automake.in (%target_name): New hash.
761         (initialize_per_input): Reset %target_name.
762         (rule_define): Fill %target_name, and use it to detect targets
763         which have been registered with key X but really are X$(EXEEXT).
765 2002-09-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
767         * lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
768         Suggested by Bruno Haible.
770         * Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
771         Autoconf.  Automake now has the master copy of install-sh and
772         mkinstalldirs.
774 2002-09-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
776         * configure.in: Bump version to 1.7.0a.
778         * NEWS, configure.ac: Version 1.7.
780 2002-09-25  Art Haas  <ahaas@neosoft.com>
782         * automake.texi (Optional, Options, Distributing, ANSI,
783         API versioning): Spelling fixes and Texi tweaks.
785 2002-09-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
787         * configure.in: Check for 'tex'.
788         * tests/defs.in: Handle required=tex using configure's result.
789         Reported by Patrick Welche.
791         * Makefile.am (mdate-sh): Remove.
792         * mdate-sh: Delete.
793         Suggested by Akim Demaille.
795 2002-09-25  Tom Tromey  <tromey@redhat.com>
797         * NEWS: Mention distuninstallcheck.
798         * automake.texi (Dist): Document new macro and target.
799         * lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
800         (distuninstallcheck): New target.
801         (distcheck): Use distuninstallcheck.
803 2002-09-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
805         * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
806         AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
807         <sys/types.h>.
808         * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
809         Likewise.
811 2002-09-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
813         * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
814         * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
815         %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
817 2002-09-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
819         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
820         command.
822 2002-09-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
824         * automake.in (handle_single_transform_list): Revert the change
825         from 2002-09-22.  We need to erase .libs/ in the object directory
826         in addition to the library directory.
828         * tests/target-cflags.test: Build in `build/', not `obj/' because
829         `obj/' is special to BSD make.
831         * automake.in (read_am_file): Prefix included files with
832         $(top_srcdir) or $(srcdir) in DIST_COMMON.  Fixes
833         subdircond2.test, and subdircond3.test on OSF1.
835         * tests/defs.in (SHELL): Set it.
837         * lib/am/distdir.am (distcleancheck): Mention `in build directory'
838         in error message.
840 2002-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
842         For PR automake/350:
843         * automake.in (handle_ltlibraries): Allow a library to be installed
844         many times in the same directory.
845         * tests/libtool5.test, tests/libtool6.test: New files.
846         * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
848 2002-09-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
850         * automake.in (handle_ltlibraries): Fill $libtool_clean_directories
851         here, with directories where .la files are built...
852         (handle_single_transform_list): ... not here with directories
853         where .lo files are built.
854         * tests/libtool3.test: Build a library in a subdirectory to
855         check for this.
856         Reported by Peter Gavin.
858         * tests/cond5.test: Give more time to automake.
859         Reported by Art Haas.
861         * configure.in: Really check for Autoconf 2.54.
863         * automake.texi (Yacc and Lex): ylwrap is used only when there is
864         more than one yacc or lex source file in a directory.
866         * automake.in (macro_define): Update a variable's location each
867         time its owner is updated.
868         * tests/gnuwarn.test: Append to CFLAGS to check for this.
869         Reported by Harlan Stenn.
871 2002-09-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
873         * configure.in: Bump version to 1.6g.
875         * configure.in, NEWS: Bump version to 1.6f.
877         * Makefile.am (INSTALL): New rules.
879 2002-09-20  Mirko Streckenbach  <strecken@infosun.fmi.uni-passau.de>
881         For PR automake/363:
882         * m4/cond.m4: Fix AC_MSG_ERROR quoting.
884 2002-09-19  Pavel Roskin  <proski@gnu.org>
886         * tests/warnopts.test: Fix random failures by removing Autoconf
887         cache directory when configure.in changes.  Use the code and the
888         comment from tests/asm.test.
890 2002-09-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
892         * automake.texi (Program and Library Variables) <maude_LIBADD>:
893         Don't mention _LDADD for Libtool libraries.
894         Reported by Schleicher Ralph.
896         For PR automake/361:
897         * tests/suffix8.test: More explicit dependencies.
898         Reported by Paul Eggert.
900         * automake.in (rule_define): Don't diagnose duplicate user rules.
901         * tests/phony.test, tests/percent2.test: New files.
902         * tests/Makefile.am (TESTS): Add them.
903         Reported by Ralf Corsepius.
905         * automake.in (require_variables): Search variable definitions
906         in any condition implied by $cond.
907         * tests/cond25.test: New file.
908         * tests/Makefile.am (TESTS): Add cond25.test.
909         Reported by Pavel Roskin.
911         * tests/subobj9.test: Skip this test on configure errors.
912         Reported by Paul Eggert.
914 2002-09-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
916         * configure.in: Bump version to 1.6e.
918         * configure.in, NEWS: Bump version to 1.6d.
919         * tests/libobj12.test, tests/libobj12b.test: Include ./defs,
920         not $srcdir/defs.
921         * tests/suffix8.test: Typo.
923         * automake.in (check_ambiguous_conditional, rule_define): Issue
924         syntactic warnings, not errors.
925         (macro_define): Don't adjust the owner of a variable which is being
926         appended in a condition different from its definition.
927         (variable_output, variable_pretty_output): Make sure the
928         requested condition exists.
930         For PR automake/353: fill %var_location, %var_comment,
931         %var_type, %var_owner for each condition.
932         * automake.in (msg_cond_var): New function.
933         (msg_var): Use it.
934         (generate_makefile, process_option_list, handle_languages,
935         handle_lib_objects_cond, handle_compile, handle_libtool,
936         handle_ltlibraries, handle_texinfo_helper, handle_tests,
937         handle_emacs_lisp, handle_python, macro_define, macro_delete,
938         macro_dump, variable_assert, variable_output,
939         variable_pretty_output, read_am_file, read_main_am_file,
940         file_contents_internal, am_primary_prefixes,
941         require_variables_for_macro): Adjust accesses to %var_location,
942         %var_comment, %var_type, %var_owner.
943         (append_comments, require_file_with_macro,
944         require_conf_file_with_macro, require_variables): Add the
945         $cond argument.
946         * tests/comment7.test: New file.
947         * tests/Makefile.am (TESTS): Add comment7.test.
949 2002-09-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
951         For PR automake/353:
952         * automake.in (check_ambiguous_conditional): Display locations for
953         the two definitions of the ambiguous variable.  Show the macro_dump
954         output in --verbose only.  Accept $where as a third argument,
955         (macro_define): Pass $where.
957         * automake.in (handle_programs): Ooops.  Really add LDADD
958         objects into _DEPENDENCIES.
959         * tests/libobj12.test: Check for it.
961 2002-09-17  Assar Westerlund  <assar@kth.se>
962             Alexandre Duret-Lutz  <duret_g@epita.fr>
964         * automake.in (handle_programs, handle_libraries,
965         handle_ltlibraries): Maintain $seen_libobjs on a
966         per-program/per-library basis, instead of globally to each
967         of these functions.
968         * tests/libobj12.test, tests/libobj12b.test: New files.
969         * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
971 2002-09-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
973         * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
974         AC_PROG_MAKE_SET.
976         * lib/config.guess, lib/config.sub, lib/INSTALL,
977         lib/Automate/Struct.pm: New upstream version.
978         * Makefile.am (mdate-sh): New rule.
979         (FETCHFILES): Add Automate/Struct.pm.
980         (fetch): Get Automate/Struct.pm.
981         (AUTOMAKESOURCES, CLEANFILES): New macros.
982         (EXTRA_DIST, TAGS_FILES): Use them.
983         * install-sh, mkinstalldirs, missing: Delete.
985         * automake.in: Rename the 'unused' channel to 'syntax'.
986         (variable_defined): Issue a warning instead of an error
987         for variable-is-a-target conditions.
988         * automake.texi (Invoking Automake): Rename the 'unused'
989         channel to 'syntax'.
990         * tests/warnopts.test: Likewise.
992         * tests/suffix8.test: Add explicit dependencies.
993         * tests/texinfo13.test, tests/texinfo16.test: Require tex.
995 2002-09-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
997         * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
999         * automake.in (variable_defined): Thinko in $cond handling.
1001 2002-09-15  Paul Eggert  <eggert@twinsun.com>
1003         * lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
1004         to Perl 5.00503.
1006         * Makefile.am (maintainer-check): Don't use egrep.
1008 2002-09-15  Tom Tromey  <tromey@redhat.com>
1010         * tests/subdircond3.test: Pass flags to make in environment.
1011         * tests/subdircond2.test: Pass flags to make in environment.
1012         * Makefile.am (maintainer-check): Add a new check for @...@
1013         substitutions.  Updated correct number of diffs between source and
1014         build trees.
1016         * configure.in (aclocal, automake): Don't create.
1017         * automake.in ($prefix): Don't define.
1018         * aclocal.in ($prefix): Don't define.
1019         * Makefile.am (do_subst): New macro.
1020         (automake): New target.
1021         (aclocal): Likewise.
1023 2002-09-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
1025         * aclocal.in, automake.in: Requote each "@var@" as '@var@'.
1027 2002-09-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
1029         * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
1030         specflags8.test.
1032 2002-09-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
1034         * automake.texi (Building ctags and etags): Rename and adjust as ...
1035         (Building true and false): ... this.
1036         * tests/targetclash.test: New file.
1037         * tests/specflags7.test, tests/specflags8.test: Adjust to build
1038         true and false.
1039         * tests/Makefile.am (TESTS): Add targetclash.test.
1041         Diagnose target clashes, for PR automake/344:
1042         * automake.in (%targets): Record conditionals for definitions.
1043         (%target_conditional): Remove (obsoleted by %targets).
1044         (%target_source, %target_owner): New hashes.
1045         (TARGET_AUTOMAKE, TARGET_USER): New constants.
1046         (initialize_per_input): Adjust to reset new variables.
1047         (err_cond_target, msg_cond_target): New functions.
1048         (msg_target): Adjust usage of %targets.
1049         (conditional_ambiguous_p): Take a list of conditional to check
1050         as a third parameter, so this can be used for other things that
1051         variables.
1052         (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
1053         (variable_defined): Restrict the target-with-same-name check
1054         to user targets.
1055         (rule_define): Add the $SOURCE argument, and take $OWNER instead
1056         of $IS_AM.  Diagnose target clashes (including ambugious
1057         conditionals).  Return a list of conditions where the rule should
1058         be defined instead of a boolean.  Fill %target_source and
1059         %target_owner.
1060         (target_define): Use `exists', not `defined'.
1061         (read_am_file): Adjust the call to rule_define.
1062         (file_contents_internal): Add more FIXMEs.  Simplify my moving
1063         and documenting the "define rules in undefined conditions" to
1064         rule_define.
1065         * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
1066         specflags8.test.
1068 2002-09-12  Akim Demaille  <akim@epita.fr>
1070         * aclocal.in: Prototype all the functions.
1071         Add `(C)' to Copyrights.
1072         (&add_file): Strip the comments before checking for `AC_REQUIRE'.
1073         Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
1075 2002-09-11  Akim Demaille  <akim@epita.fr>
1077         * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
1078         it was already supported when --pdf support was added.
1080 2002-09-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
1082         * lib/Automake/Channels.pm (_default_options): Add `backtrace'.
1083         (msg): Die with backtrace if requested.
1084         * automake.in: Enable `backtrace' on the `automake' channel.
1086         * automake.in (process_option_list): Mention `Automake' in
1087         version-mismatch error.
1088         Suggested by Akim Demaille.
1090         * tests/Makefile.am ($(TESTS)): Replace by ...
1091         (check_SCRIPTS): ... this.
1092         Suggested by Raja R Harinath.
1094 2002-09-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1096         * tests/Makefile.am ($(TESTS)): New, depends on defs.
1097         (BUILT_SOURCES): Remove (useless because of PR/359).
1099         * m4/init.m4: Execute cygpath in a sub-shell.
1101 2002-09-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1103         * automake.in (macro_define): Warn about `:=' assignments.
1104         * tests/colneq.test: Check for this warning.
1106         * automake.texi (Include): Fragments are always distributed.
1107         * NEWS: Likewise.
1109 2002-09-08  Andreas Buening  <andreas.buening@nexgo.de>
1111         Fix for automake/334:
1112         * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
1113         * m4/init.m4: New make variable CYGPATH_W.
1115 2002-09-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1117         * configure.in: Check for EGREP and FGREP.  Create tests/defs.
1118         * tests/defs: Rename as ...
1119         * tests/defs.in: ... this.  Add copyright notice.  Use configure's
1120         values for PERL, EGREP, and FGREP.  Be verbose if $srcdir is unset.
1121         * tests/Makefile.am (EXTRA_DIST): Remove defs.
1122         (BUILT_SOURCES): New.
1123         * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
1124         tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
1125         tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1126         tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
1127         tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
1128         tests/all.test, tests/alpha.test, tests/amassign.test,
1129         tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
1130         tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
1131         tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
1132         tests/ar.test, tests/asm.test, tests/autoheader.test,
1133         tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
1134         tests/backsl.test, tests/backsl2.test, tests/badline.test,
1135         tests/badopt.test, tests/badprog.test, tests/block.test,
1136         tests/canon.test, tests/canon2.test, tests/canon3.test,
1137         tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
1138         tests/check.test, tests/checkall.test, tests/clean.test,
1139         tests/colneq.test, tests/colneq2.test, tests/colon.test,
1140         tests/colon2.test, tests/colon3.test, tests/colon4.test,
1141         tests/colon5.test, tests/colon6.test, tests/colon7.test,
1142         tests/comment.test, tests/comment2.test, tests/comment3.test,
1143         tests/comment4.test, tests/comment5.test, tests/comment6.test,
1144         tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
1145         tests/cond11.test, tests/cond12.test, tests/cond13.test,
1146         tests/cond14.test, tests/cond15.test, tests/cond16.test,
1147         tests/cond17.test, tests/cond18.test, tests/cond19.test,
1148         tests/cond2.test, tests/cond20.test, tests/cond21.test,
1149         tests/cond22.test, tests/cond23.test, tests/cond24.test,
1150         tests/cond3.test, tests/cond4.test, tests/cond5.test,
1151         tests/cond6.test, tests/cond7.test, tests/cond8.test,
1152         tests/cond9.test, tests/condd.test, tests/condincl.test,
1153         tests/condincl2.test, tests/condlib.test, tests/condman.test,
1154         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1155         tests/confdist.test, tests/confh.test, tests/confh4.test,
1156         tests/config.test, tests/confincl.test, tests/confsub.test,
1157         tests/confvar.test, tests/confvar2.test, tests/copy.test,
1158         tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
1159         tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
1160         tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
1161         tests/cygwin32.test, tests/dash.test, tests/defun.test,
1162         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1163         tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
1164         tests/depcomp2.test, tests/depdist.test, tests/depend.test,
1165         tests/depend2.test, tests/depend3.test, tests/depend4.test,
1166         tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
1167         tests/discover.test, tests/distcommon.test,
1168         tests/distcommon2.test, tests/distcommon3.test,
1169         tests/distdir.test, tests/distname.test, tests/dollar.test,
1170         tests/double.test, tests/dup2.test, tests/dup3.test,
1171         tests/else.test, tests/empty.test, tests/empty2.test,
1172         tests/empty3.test, tests/empty4.test, tests/error.test,
1173         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1174         tests/exeext2.test, tests/exsource.test, tests/ext.test,
1175         tests/ext2.test, tests/extra.test, tests/extra2.test,
1176         tests/extra3.test, tests/extra4.test, tests/extra5.test,
1177         tests/extra6.test, tests/extra7.test, tests/flibs.test,
1178         tests/fnoc.test, tests/fo.test, tests/fonly.test,
1179         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1180         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1181         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1182         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1183         tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
1184         tests/implicit.test, tests/include.test, tests/include2.test,
1185         tests/info.test, tests/insh.test, tests/insh2.test,
1186         tests/install.test, tests/install2.test, tests/installdir.test,
1187         tests/installsh.test, tests/instdata.test, tests/instdata2.test,
1188         tests/instexec.test, tests/insthook.test, tests/instman.test,
1189         tests/instman2.test, tests/interp.test, tests/interp2.test,
1190         tests/java.test, tests/java2.test, tests/javaprim.test,
1191         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1192         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1193         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1194         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1195         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1196         tests/library.test, tests/library2.test, tests/libtool.test,
1197         tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
1198         tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
1199         tests/link_f_c_cxx.test, tests/link_f_cxx.test,
1200         tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
1201         tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
1202         tests/maintclean.test, tests/make.test, tests/makevars.test,
1203         tests/man.test, tests/man2.test, tests/mclean.test,
1204         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1205         tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
1206         tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
1207         tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
1208         tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
1209         tests/nolink.test, tests/nostdinc.test, tests/number.test,
1210         tests/obsolete.test, tests/order.test, tests/outdir.test,
1211         tests/output.test, tests/output2.test, tests/output3.test,
1212         tests/output4.test, tests/output5.test, tests/package.test,
1213         tests/parse.test, tests/percent.test, tests/pluseq.test,
1214         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1215         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1216         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1217         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1218         tests/pr211.test, tests/pr220.test, tests/pr224.test,
1219         tests/pr229.test, tests/pr243.test, tests/pr266.test,
1220         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1221         tests/pr300-lib.test, tests/pr300-ltlib.test,
1222         tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
1223         tests/pr87.test, tests/pr9.test, tests/prefix.test,
1224         tests/primary.test, tests/primary2.test, tests/proginst.test,
1225         tests/python.test, tests/python2.test, tests/ranlib.test,
1226         tests/recurs.test, tests/recurs2.test, tests/remake.test,
1227         tests/remake2.test, tests/remake3.test, tests/req.test,
1228         tests/required.test, tests/required2.test, tests/rulepat.test,
1229         tests/scripts.test, tests/seenc.test, tests/sinclude.test,
1230         tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
1231         tests/specflags.test, tests/specflags2.test,
1232         tests/specflags3.test, tests/specflags6.test,
1233         tests/specflags7.test, tests/specflags8.test,
1234         tests/specflags9.test, tests/spell.test, tests/spell2.test,
1235         tests/spell3.test, tests/spelling.test, tests/stamph.test,
1236         tests/stamph2.test, tests/stdlib.test, tests/strip.test,
1237         tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1238         tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1239         tests/subdir7.test, tests/subdirbuiltsources.test,
1240         tests/subdircond.test, tests/subdircond2.test,
1241         tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
1242         tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
1243         tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
1244         tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
1245         tests/subst.test, tests/substref.test, tests/substtarg.test,
1246         tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
1247         tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1248         tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1249         tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
1250         tests/symlink3.test, tests/syntax.test, tests/tags.test,
1251         tests/tagsub.test, tests/target-cflags.test, tests/target.test,
1252         tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
1253         tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
1254         tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
1255         tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
1256         tests/transform.test, tests/unused.test, tests/vars.test,
1257         tests/vars2.test, tests/vars3.test, tests/vartar.test,
1258         tests/version.test, tests/version2.test, tests/version3.test,
1259         tests/version4.test, tests/version5.test, tests/version6.test,
1260         tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
1261         tests/warnopts.test, tests/werror.test, tests/whoami.test,
1262         tests/xsource.test, tests/yacc.test, tests/yacc2.test,
1263         tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
1264         tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
1265         tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
1266         Source ./defs instead of $srcdir/defs.
1268 2002-09-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1270         * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
1271         distributed files, to workaround Sun make VPATH munging.
1272         This fixes subdircond2.test, subdircond3.test, and subpkg.test
1273         on Solaris.
1274         * tests/extra6.test, tests/lex3.test, tests/pr87.test,
1275         tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
1276         tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
1277         Don't require GNU make.
1279         * lib/am/distdir.am (distcheck): Add missing `;'.
1281         * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
1282         Sun make rewriting rules in VPATH builds.  (Fixes gnits3.test.)
1283         * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
1285 2002-09-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
1287         For automake/354:
1288         * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
1289         Don't use `-o' unless necessary.
1291 2002-08-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1293         For PR automake/343:
1294         * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
1295         and pdf.
1296         (output_texinfo_build_rules): Define %DIRSTAMP% when processing
1297         texibuild.am.  Return $dirstamp and a list of files to clean.
1298         (handle_texinfo_helper): Process texi-vers.am after the call to
1299         output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
1300         * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
1301         * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
1302         (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
1303         * tests/texinfo13.test: New file.
1304         * tests/Makefile.am (TESTS): Add texinfo13.test.
1305         * lib/am/texinfos.am (install-info-am, dist-info): Looks for
1306         info files in build or source directory.
1307         This completes the change from 2002-07-30 (for PR automake/168).
1309 2002-08-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
1311         * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
1312         (maintainer_clean_files): Replace by ...
1313         (clean_files): ... this new variable.
1314         (initialize_per_input, lang_yacc_target_hook,
1315         lang_lex_target_hook): Use %clean_files instead of
1316         @maintainer_clean_files.
1317         (handle_clean): Rewrite, using %clean_files.
1318         (require_build_directory_maybe): Use %clean_files instead
1319         of %compile_clean_files.  This allows using
1320         &require_build_directory_maybe for non-compiling targets.
1321         * lib/am/clean.am (mostlyclean-generic, clean-generic,
1322         distclean-generic, maintainer-clean-generic): Rewrite using
1323         %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
1324         %MAINTAINER_CLEAN_RMS%.
1326         For Debian Bug#157778:
1327         * m4/python.m4: Fix output of `python' in checking messages
1328         when no version of Python is required.
1330 2002-08-23  Raja R Harinath  <harinath@cs.umn.edu>
1332         * lib/am/depend2.am (%EXT%.lo): Fix typo.  Rename the file that
1333         was generated by gcc -MF.
1335 2002-08-23  Pavel Roskin  <proski@gnu.org>
1337         * lib/am/progs.am: Exit in case of install failure, otherwise
1338         it is ignored on Cygwin because of the surrounding "for" loop.
1340 2002-08-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
1342         * automake.texi (Top level): More words about conditional
1343         subdirectories.  Don't mention AC_PROG_MAKE_SET.
1344         * tests/subdircond2.test, tests/subdircond3.test: New files.
1345         * tests/Makefile.am (TESTS): Add them.
1347         For PR automake/347:
1348         * automake.in (MACRO_PATTERN): Allow `.' in variable names.
1349         (scan_variable_expansions, check_variable_expansions): New functions.
1350         (macro_define): Call check_variable_expansions.
1351         (read_am_file): Likewise, when outputing rules.
1352         (variable_conditions_recursive_sub): Simplify using
1353         scan_variable_expansions.
1354         * tests/vars3.test: New file.
1355         * tests/Makefile.am (TESTS): Add vars3.test.
1356         * tests/colneq.test: Use -Wno-portability.
1358         * lib/Automake/Channels.pm (buffering, backlog): New variables.
1359         (buffer_messages, flush_messages): New functions.
1360         (@EXPORT): Add buffer_messages and flush_messages.
1361         * automake.in (generate_makefile): Call buffer_messages and
1362         flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
1363         been read.
1365         * automake.in (read_am_file): Fix computation of path to
1366         included file when $(top_srcdir) is not used.
1367         * tests/include2.test: Augment.
1369 2002-08-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
1371         * automake.in (set_strictness): Never enable 'portability'
1372         warnings for now.
1373         (usage): Adjust `-Wportability' doc.
1374         * automake.texi (Invoking Automake): Likewise.
1375         Suggested by Ralf Corsepius.
1377 2002-08-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1379         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
1380         so_location files in current directory.
1382         Fix for PR automake/346:
1383         * automake.texi (Optional): Supress the documentation for
1384         AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
1385         AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
1386         AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
1387         AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
1388         AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS.  Augment the
1389         documentation of AC_LIBSOURCE and AC_SUBST to explain this
1390         applies to any macro that calls them.
1392 2002-08-19  Tom Tromey  <tromey@redhat.com>
1394         For PR automake/348:
1395         * tests/Makefile.am (TESTS): Added include2.test.
1396         * tests/include2.test: New file.
1397         * tests/include.test: Check to make sure include file is
1398         distributed.
1399         * automake.in (read_am_file): Distribute included files.
1401 2002-08-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1403         Fix for PR automake/345:
1404         * tests/defs: Add support for required=non-root, stolen
1405         from fileutils' test suite.
1406         * tests/destdir.test: Use required=non-root.
1408         * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
1410 2002-08-17  Tom Tromey  <tromey@redhat.com>
1412         For PR automake/347:
1413         * automake.in (rule_define): Given portability warning if "%" seen
1414         in target name.
1415         (TARGET_PATTERN): Added `%'.
1416         * tests/Makefile.am (TESTS): Added percent.test.
1417         * tests/percent.test: New file.
1419 2002-08-15  Art Haas  <ahaas@neosoft.com>
1421         * lib/am/depend2.am: Use correct name for dependency file in
1422         libtool fastdep case.
1424 2002-08-14  Art Haas  <ahaas@neosoft.com>
1426         * lib/am/depend2.am: Added missing `;'.
1428 2002-08-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1430         * automake.texi (Python): Fix wording.
1432         * tests/ext2.test: New file.  This bug is present in Automake 1.6.3
1433         and was fixed by the change on variable_conditions_permutations
1434         and invert_conditions on 2002-05-16.
1435         * tests/Makefile.am (TESTS): Add ext2.test.
1436         Reported by Ladislav Strojil.
1438 2002-08-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1440         * aclocal.in (parse_arguments): Add `dirlist' paths add the
1441         very end of the search path, after aclocal-APIVERSION/ and
1442         aclocal/.
1443         * automake.texi (Macro search path): Adjust to reflect the
1444         new ordering.
1445         * tests/dirlist.test: Check for this.
1447 2002-07-31  Charles Wilson  <cwilson@ece.gatech.edu>
1449         * aclocal.in (parse_arguments): Add support for extending
1450         default macro search path, using a `dirlist' file within
1451         the aclocal directory.
1452         * automake.texi (Invoking aclocal): Move option descriptions into ...
1453         (aclocal options): ... this new node.
1454         (Macro search path): New node.
1455         * tests/dirlist.test: New file.
1456         * tests/Makefile.am (TESTS): Add dirlist.test.
1457         * m4/dirlist: New file.
1458         * m4/Makefile.am (EXTRA_DIST): Add dirlist.
1459         * tests/defs: Honor any installed dirlist when searching for
1460         libtool.m4 and gettext.m4.
1462 2002-07-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
1464         Build info files in builddir instead of srcdir (for PR automake/168),
1465         and prepare support for info files in subdirecties.
1466         * automake.in (output_texinfo_build_rules): New function.
1467         (handle_texinfo_helper): Use output_texinfo_build_rules, and
1468         prepare to support subdir texinfos.  Define am__TEXINFO_TEX_DIR.
1469         * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
1470         current directory, not $(srcdir).  Use %STAMPVTI% to name the stamp
1471         file.
1472         * lib/am/texibuild.am: Rewrite to output files in the current
1473         directory, not $(srcdir).  Also, support both generic and
1474         non-generic output.  Pass `-o $@' to makeinfo, texinfo, and
1475         texi2dvi (for PR automake/339).
1476         * tests/texinfo3.test: Make sure the `.texi:' rule is output.
1477         * tests/texinfo10.test: Use set -e, so the checks are not ignored.
1478         * tests/texinfo16.test: New file.
1479         * tests/Makefile.am (TESTS): Add texinfo16.test.
1481 2002-07-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
1483         * aclocal.in (write_aclocal): Don't write the filename ($output_file)
1484         in the aclocal.m4 header.
1486         * configure.in: Require Autoconf 2.53b.
1488 2002-07-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
1490         * configure.in: Bump version to 1.6c.
1492         * configure.in: Bump version to 1.6b.
1493         * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
1494         upstream versions.
1495         * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
1496         since this file is processed by config.status.
1498 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1500         * automake.in (read_am_file): Escaped newlines in comments are not
1501         portable.  If a comment line doesn't start with a `#', add it.
1502         * tests/comment6.test: Ensure this is done.
1504 2002-07-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
1506         Fix failures reported by Patrick Welche on NetBSD.
1507         * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
1508         status of `make -k'.
1509         * tests/obsolete.test: Source obs.1 and obs.2 from current
1510         directory.
1512 2002-07-23  Patrick Welche  <prlw1@newn.cam.ac.uk>
1514         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1515         configure.lineno.
1517 2002-07-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
1519         * tests/required2.test: New file.
1520         * tests/Makefile.am (TESTS): Add required2.test.
1521         * automake.in (initialize_per_input): Remove %require_file_found
1522         setting.  This reverts my change of 2002-04-19.
1523         (require_file_internal): Use the full name of a file as a
1524         key in %require_file_found, not only the basename.
1525         Reported by Andrew Suffield.
1527 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
1529         * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
1530         * tests/subdir7.test: New file.
1531         * tests/Makefile.am (TESTS): Add subdir7.test.
1533         * lib/mkinstalldirs: Remove Id keyword.
1535         * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
1536         AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
1537         * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
1538         * automake.texi (Options) <std-options>: Document
1539         AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
1540         (Gnits): Reference std-options.
1541         * tests/gnits3.test: New file.
1542         * tests/Makefile.am (TESTS): Add gnits3.test.
1543         Suggested by Jim Meyering.
1545 2002-07-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
1547         * tests/gnits2.test: Use --program-prefix.  Test for scripts too.
1548         Replace the sed script by calls to grep, easier to debug.
1549         * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
1550         and $(transform).
1551         * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
1553         * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
1554         Always strip the directory part before applying $(transform),
1555         even for nobase_ targets.
1556         * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
1557         Likewise.
1558         * tests/nobase.test: Use --program-prefix while testing nobase
1559         support.
1561 2002-07-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1563         * tests/dirname.test: Delete.  We don't define _AM_DIRNAME anymore.
1564         * tests/Makefile.am (TESTS): Remove dirname.test.
1566         * m4/init.m4: Require Autoconf 2.53b.
1567         * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
1568         * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
1569         * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
1570         * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
1571         * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
1572         * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
1573         * m4/regex.m4 (fp_WITH_REGEX): Likewise.
1574         * m4/termios.m4: Delete.  AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
1575         in m4/obsolete.m4.
1576         * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
1577         AU_DEFUNed in m4/obsolete.m4.
1578         * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
1579         * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
1580         and obsolete.m4. Remove termios.m4 and winsz.m4.
1581         * aclocal.in (obsolete, obsolete_rx): Remove.
1582         (scan_configure): Don't grep for obsolete macros.
1583         * tests/defs (AUTOUPDATE): Define.
1584         * Makefile.am (maintainer-check): Check for misuses of autoupdate.
1585         * tests/obsolete.test: Rewrite.  Exercize the AU_DEFUN macros from
1586         m4/obsolete.m4.
1588         Fix for PR automake/338:
1589         * automake.in (seen_gettext_external): New variable.
1590         (handle_gettext): Conditionalize the intl/ check on
1591         $seen_gettext_external.  Fix grep usage.
1592         (scan_autoconf_traces): Set $seen_gettext_external if
1593         `external' is passed to AM_GNU_GETTEXT.
1594         * tests/gettext.test, tests/gettext2.test: New files.
1595         * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
1597 2002-07-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
1598             Akim Demaille  <akim@epita.fr>
1600         * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
1601         _AM_CONFIG_HEADER_INSINUATE): Remove them all.  Leave just ...
1602         (AM_CONFIG_HEADER): ... this new definition for compatibility.
1603         * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
1604         (_AC_AM_CONFIG_HEADER_HOOK): New macro.
1605         * tests/confh5.tests: Delete.
1606         * tests/Makefile.am (TESTS): Remove confh5.tests.
1608 2002-07-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
1610         * automake.in (handle_single_transform_list): Typo.
1612         * lib/Automake/Channels.pm (dup_channel_setup,
1613         drop_channel_setup): New functions.
1614         (@EXPORT): Add them.
1615         * automake.in (generate_makefile): Call dup_channel_setup and
1616         drop_channel_setup.
1617         (process_option_list): Recognize --warnings and -W options.
1618         * automake.texi (Options): Document them.
1619         * tests/pluseq5.test: Check that -Wno-obsolete will disable the
1620         warning.
1621         * tests/warnopts.test: New file.
1622         * tests/Makefile.am (TESTS): Add warnopts.test.
1624 2002-07-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
1626         * automake.in: Register warning channel `gnu'.
1627         (set_strictness): Turn on `gnu' in --gnu and --gnits.
1628         (usage): Mention the `gnu' category.
1629         (%var_is_am): Replace by ...
1630         (%var_owner): ... this, which uses ...
1631         (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
1632         Adjust all uses of %var_is_am.
1633         (handle_languages): Warn about user variables being overriden.
1634         (require_variables): Also check %configure_vars for the existence
1635         of a required variable.
1636         * automake.texi (Invoking Automake): Document -Wgnu.
1637         * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
1638         we test YFLAGS.
1639         * tests/gnuwarn.test: New file.
1640         * tests/Makefile.am (TESTS): Add gnuwarn.test.
1642 2002-07-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
1644         Fix for PR automake/337:
1645         * automake.in: Redefine the `flags' attribute of each language
1646         as a list.  List CPPFLAGS in `flags' when it is used.
1647         (register_language): Set the default value of 'flags'.
1648         (handle_single_transform_list): Adjust to treat `flags' as a list.
1649         (handle_languages): Likewise.  Don't bother defining the
1650         configure variable for `c', this is always done since we trace
1651         configure.ac.
1652         * automake.texi (etags): Use per-executable _CPPFLAGS.
1653         (Program and Library Variables): Mention maude_CPPFLAGS.
1654         (Program variables): Likewise.
1655         * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
1656         * tests/specflags9.test: New file.
1657         * tests/Makefile.am (TESTS): Add specflag9.test.
1659 2002-07-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
1661         * automake.texi: Use `variable' instead of `macro' everywhere it
1662         designates a Makefile variable.
1663         (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
1664         `flags', not `macros'.  `Macro' means something else in Texinfo.
1665         Also show how to use these flags.
1666         * automake.in (file_contents_internal): s/macro/variable/ in
1667         error message.
1669         * automake.in (parse_arguments): Call Getopt twice: once to catch
1670         --help or --verbose, and once to process the other arguments.
1671         (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
1672         should always be 0 because of the change to parse_arguments).
1673         * tests/Makefile.am (TESTS): Add getopt.test.
1674         * tests/getopt.test: New file.
1676 2002-07-09  Tom Tromey  <tromey@redhat.com>
1678         For PR automake/286:
1679         * automake.texi (Tags): Document ctags.
1680         * automake.in (handle_tags): Handle ctags.
1681         * lib/am/tags.am (CTAGS): New macro.
1682         (CTAGSFLAGS): Likewise.
1683         (ctags): New target.
1684         (distclean-tags): Remove `tags'.
1686         * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
1688         * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
1689         before passing to cygpath.  Partial fix for PR automake/334.
1691 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1693         * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
1694         instead of INCLUDES.
1695         * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
1697 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1699         * automake.in (usage, version): Honor $exit_code.
1700         (parse_arguments): Use fatal.
1702 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1704         * automake.texi (Invoking Automake): Document WARNINGS.
1705         * automake.in (switch_warning, parse_WARNINGS): New function.
1706         (setup_warnings): Rename to ...
1707         (parse_warnings): ... this.  Move most of the code to switch_warning.
1708         Accept a comma separated list of categories.
1709         * tests/vars2.test: Use a comma separated list of warning categories.
1711 2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1713         * NEWS (New in 1.6): Mention that libtoolize is no longer run
1714         by automake.
1716 2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1718         Fix for PR automake/291:
1719         * automake.in (macro_define): Catch variable names starting
1720         with `_'.
1721         (handle_installdirs): Rename _am_installdirs to am__installdirs.
1722         * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
1723         lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
1724         lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
1725         lib/am/texinfos.am: Likewise.
1726         * tests/canon5.test: Use -Wno-portability.
1727         * tests/vars2.test: New file.
1728         * tests/Makefile.am (TESTS): Add vars2.test.
1730 2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1732         * tests/defs (AUTOMAKE): Add -Wall.
1733         * tests/outdir.test: Use -Wno-obsolete.
1735 2002-07-07  Tom Tromey  <tromey@redhat.com>
1737         * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
1738         conditional.
1739         * automake.in (handle_languages): Compute FASTDEP.
1740         * lib/am/depend2.am: Added %FASTDEP% mode.
1742 2002-07-07  Tom Tromey  <tromey@redhat.com>
1744         * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
1745         now.  Fixes PR automake/332.
1747 2002-07-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
1749         * tests/nobase.test (test-install-exec): Move all the `test -f'
1750         tests in the Makefile so we can use $(EXEEXT) on programs.
1751         Reported by Charles Wilson.
1753 2002-07-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
1755         * m4/header.m4 (AM_CONFIG_HEADER): New macro.
1756         * tests/confh5.test: Make sure that Autoconf complains if
1757         AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
1758         AM_INIT_AUTOMAKE.
1760 2002-07-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
1762         * lib/Automake/Channels.pm: New file.
1763         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
1764         * automake.in: Use Automake::Channels and register some channels
1765         for errors and warnings.
1766         ($exit_status): Remove, replaced by Channels::$exit_code.
1767         (%required_variables): Remove, Channels will filter-out duplicates
1768         itself.
1769         (initialize_per_input): Call reset_local_duplicates.
1770         (prog_error): Adjust to all `msg'.
1771         (setup_warnings): New functions.
1772         (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
1773         call setup_warnings.
1774         (usage): Update usage text accordingly.
1775         (macro_dump, macros_dump): Return the dump as a string instead
1776         of printing it.
1777         (am_install_var) <$warned_about_extra>: Remove, Channels will
1778         filter-out duplicates itself.
1779         (set_strictness): Turn on/off channels for each stricness.
1780         (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
1781         msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
1782         New functions, to replace ...
1783         (print_error, am_error, file_error, macro_error, target_error,
1784         conf_error, file_warning): ... these functions.  Remove them.
1785         Update all the code to use the new functions.  The rough
1786         correspondance is
1787            am_error                -> err_am
1788            file_error              -> err
1789            macro_error             -> err_var
1790            target_error            -> err_target
1791            conf_error              -> err_ac
1792            die                     -> fatal
1793            macro_error if defined  -> reject_var
1794            target_error if defined -> reject_target
1795            verbose                 -> verb
1796         * automake.texi (Invoking Automake): Document -W and --warnings.
1797         Remove the documentation for --Werror and --Wno-error.
1798         * tests/defs: Use -Werror, no --Werror.
1799         * tests/exeext2.test: Test that the error message
1800         is enabled with -Wobsolete.
1801         * tests/output5.test: Rewrite to test that Automake complains
1802         when there is no Makefile specified. (The original test was
1803         succeeding for the wrong reason.)
1804         * tests/seenc.test: Don't use --Wno-error, there is no reason now
1805         that -Werror doesn't stop after the first error.
1806         * tests/subobj.test: Use --add-missing, and check that
1807         `compile' is installed and that Automake says so.
1808         * tests/subobj2.test: Don't create `compile'.
1810 2002-07-05  Tom Tromey  <tromey@redhat.com>
1812         * automake.texi (Java Support): Mention --main and _LDFLAGS.
1813         For PR automake/324.
1815 2002-07-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
1817         * tests/asm.test: Erase Autom4te's cache between each test.
1819 2002-07-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
1821         * automake.in (am_macro_for_var): Add LIBTOOL.
1822         (ac_macro_for_var): Add RANLIB.
1823         (seen_libtool): Remove.
1824         (handle_libtool, lang_c_finish, define_compiler_variable,
1825         make_paragraphs): Use
1826         variable_defined ('LIBTOOL') instead of $seen_libtool.
1827         (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
1828         already done in make_paragraphs.
1829         (handle_libraries): Simplify by requiring RANLIB with
1830         &require_variables_for_macro.
1831         (handle_ltlibraries): Simplify by requiring LIBTOOL with
1832         &require_variables_for_macro.
1833         (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
1834         AM_PROG_LIBTOOL.
1835         * tests/libtool4.test, tests/library2.test: New files.
1836         * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
1838 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1840         * automake.in (create, keyed_aclocal_warning): Delete, unused.
1842 2002-07-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1844         * automake.in (ac_macro_for_var): Add YACC.
1846 2002-07-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1848         Handle multiple suffix rules with the same input extension.
1849         For PR automake/37.
1851         * automake.in (suffix_rules_default): New variable.
1852         (suffix_rules): Redefine as a hash of hashes of pairs.
1853         (initialize_per_input): Setup suffix_rules_default from
1854         suffix_rules on first call, an override suffix_rules
1855         with suffix_rules_default on following calls.
1856         (struct) <output_extensions>: New attribute.
1857         (register_language): Set the default for output_extensions.
1858         Call register_suffix_rule for each suffix.
1859         (derive_suffix, handle_languages): Adjust to the new definition
1860         of $suffix.
1861         (register_suffix_rule): New function.
1862         (rule_define): Call register_suffix_rule.
1863         * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
1864         New files.
1865         * tests/Makefile.am (TESTS): Add them.
1867 2002-06-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
1869         * automake.in (am_macro_for_var, ac_macro_for_var,
1870         required_variables): New variables.
1871         (am_c_prototypes, seen_prog_lex, am_lispdir_location,
1872         pythondir_location): Remove.
1873         (initialize_per_input): Clear %required_variables.
1874         (require_variables, require_variables_for_macro): New functions.
1875         (handle_languages): Call &require_variables for $lang->config_vars.
1876         (handle_compile): Call &require_variables_for_macro for the
1877         ANSI2KNR and U variables.
1878         (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
1879         (handle_python): Call &require_variables for PYTHON.  Don't
1880         explicitly allow `python' as a prefix for PYTHON.
1881         (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
1882         AM_PATH_LISPDIR, and AM_PATH_PYTHON.
1883         (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
1884         AMDEPBACKSLASH here...
1885         (define_configure_variable): ... do this here.
1886         (am_primary_prefixes): Probe the existence of ${X}dir using
1887         &require_variables_for_macro.  If a standard prefix is not
1888         legitimate, say so.  Ignore all configure variables.
1889         * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
1890         tests/lisp2.test, tests/python2.test: New files
1891         * tests/Makefile.am (TESTS): Add them.
1892         * tests/asm.test: Grep stderr.
1893         * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
1894         * tests/python.test: Make sure py-compile is installed.
1896 2002-06-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
1898         * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
1899         COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
1900         Adjust all occurrences.
1902 2002-06-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
1904         * aclocal.in: Add local variables so that Emacs setups GNU style
1905         for perl-mode and cperl-mode.
1906         * automake.in: Likewise.
1907         (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
1908         ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
1909         INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
1910         perl-mode.
1912 2002-06-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
1914         * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
1915         * lib/config.sub, lib/install-sh: New upstream versions.
1917 2002-06-26  Paul Eggert  <eggert@twinsun.com>
1919         * Makefile.am (maintainer-check): Don't assume that egrep exists;
1920         this fixes a portability bug introduced in the 2002-06-08 fix for
1921         PR automake/317.
1923 2002-06-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1925         * automake.in (required_targets): Add ps and ps-am.
1926         (initialize_per_input): Reset them.
1927         (handle_texinfo_helper): Fill @pss_list, and define the
1928         PSS make variable.
1929         * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
1930         (ps, ps-am): New targets.
1931         * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
1932         `make ps' and `make pdf'.
1933         (Texinfo): Document `make ps', `make pdf', and `make dvi'.
1934         (Extending): The `ps' and `pdf' targets support a `-local' version.
1936 2002-06-26  Art Haas  <ahaas@neosoft.com>
1938         * automake.texi: s/.../@dots{}/.
1940 2002-06-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1942         * configure.in: Check that ln works, fall back to `cp -p'.
1943         * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
1944         Reported by Andreas Buening.
1946 2002-06-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1948         * automake.in: Register &lang_lex_target_hook for lex and lexxx.
1949         (lang_lex_target_hook): New function.
1950         * tests/lex3.c: Complete to check that maintainer-clean erases
1951         Lex's output.
1952         Reported by Flavien Astraud.  This was lost on 2001-06-23 too.
1954 2002-06-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1956         * automake.in (lang_yacc_target_hook): Add $output to
1957         @maintainer_clean_files.  This was lost on 2001-06-23.
1958         * tests/yacc7.test, tests/yacc4.test: Complete to check
1959         that maintainer-clean erases YACC's output files,
1960         respectively with and without `-d'.
1961         Reported by Flavien Astraud.
1963 2002-06-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1965         * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete.  This is now
1966         traced from configure.ac.
1968         * automake.in (macro_define): Don't accept to override an AC_SUBST
1969         or Automake variable in a new condition.
1970         * tests/cond23.test, tests/cond24.test: New file.
1971         * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
1972         Reported by Patrik Weiskirchre.
1974 2002-06-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1976         * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
1977         tests/pr300-ltlib.test, tests/pr300-prog.test,
1978         tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
1979         tests/subobj6.test, tests/subpkg.test, tests/transform.test:
1980         Require gcc.
1982 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
1984         * tests/libtool2.test: Use required=libtoolize.
1985         * tests/install2.test: Use required=gzip.
1987 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
1989         * tests/defs (required): Handle bison; set YACC automatically.
1990         * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
1991         tests/yaccvpath.test: Require bison.  Don't set YACC.
1993 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
1995         * tests/defs (required): Handle `gcc' and `g++'; automatically
1996         export CC and CXX when they are required.
1997         * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1998         tests/cond4.test, tests/cond16.test, tests/cond18.test,
1999         tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
2000         tests/lex3.test, tests/pr87.test, tests/pr220.test,
2001         tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
2002         tests/yaccvpath.test: Require gcc.  Don't pass CC=gcc to
2003         configure.
2004         * tests/subobj9.test: Require g++.
2006 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
2008         * tests/defs (required): Handle `GNUmake'.
2009         (needs_gnu_make): Don't define anymore.
2010         * tests/cond4.test, tests/cond18.test, tests/cond19.test,
2011         tests/dollar.test, tests/exsource.test, tests/extra6.test,
2012         tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
2013         tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
2014         tests/yaccvpath.test: Use `required=GNUmake' instead of
2015         `$needs_gnu_make'.
2017 2002-06-17  Paolo Bonzini  <bonzini@gnu.org>
2019         * automake.in (process_option_list): Recognize std-options.
2020         (handle_options): Enable std-options in gnits strictness.
2021         (am_install_var): If std-options, enable CK-OPTS section.
2022         * lib/am/scripts.am (installcheck-am): New target.
2023         * lib/am/progs.am (installcheck-am): New target.
2024         * tests/gnits2.test: New file.
2025         * tests/Makefile.am (TESTS): Add gnits2.test.
2026         * automake.texi (Gnits, Options): Document std-options.
2028 2002-06-17  Kevin Ryde  <user42@zip.com.au>
2030         * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
2031         as generated by recent texinfo.tex.
2033 2002-06-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
2035         * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
2036         (_AM_CONFIG_HEADERS): ... this.
2037         (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
2038         call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
2039         AC_CONFIG_HEADERS.
2040         * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
2041         instead of AM_CONFIG_HEADER.
2042         * tests/autoheader2.test: New file.
2043         * tests/Makefile.am (TESTS): Add autoheader2.test.
2044         Suggested by Raja R Harinath.
2046 2002-06-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2048         * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
2049         of m4_rename so that AC_CONFIG_HEADER is never undefined and
2050         therefore still traced after the redefinition.
2051         * tests/defs (AUTOHEADER): Define.
2052         * tests/autoheader.test: New file.
2053         * tests/Makefile.am (TESTS): Add autoheader.test.
2054         Reported by Braden McDaniel.
2056 2002-06-13  Paolo Bonzini  <bonzini@gnu.org>
2058         * automake.in (check_gnu_standards): In --gnu mode, accept
2059         one of COPTING, COPYING.LESSER, or COPYING.LIB.
2060         (common_files): Add COPYING.LESSER.
2061         * automake.texi (Gnits): Document this.
2063 2002-06-13  Paolo Bonzini  <bonzini@gnu.org>
2065         * automake.in (required_targets): Add the pdf and pdf-am targets.
2066         (initialize_per_input): Likewise.
2067         (scan_texinfo_file): Add pdf to @clean_suffixes.
2068         (handle_texinfo_helper): Output the .pdf dependencies, and define
2069         the PDFS variable.
2070         * lib/am/texinfos.am (TEXI2PDF): New variable.
2071         (pdf, pdf-am): New targets.
2072         (.PHONY): Add pdf, pdf-am, and pdf-recursive.
2073         * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
2075 2002-06-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2077         Fix pr307.test failure with gcc 3.x.
2078         * lib/depcomp (dashmstdout): Strip the call to libtool, and
2079         replace `-o $object' by `-o /dev/null' before running "$@"
2080         to generate dependencies.
2081         (cpp): Strip the call to libtool as well as `-o $object'.
2083 2002-06-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
2085         * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
2086         $base.lo.d, when libtool is used.
2087         Reported by Nicolas Joly.
2089 2002-06-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
2091         * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
2092         is no file to compile.
2093         * tests/java2.test: New file.
2094         * tests/Makefile.am (TESTS): Add java2.test.
2095         Reported by Braden N. McDaniel.
2097 2002-06-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
2099         * tests/maintclean.test: Don't check for autom4te.cache if
2100         it's not created by Autoconf.
2101         Reported by Bernd Jendrissek.
2103 2002-06-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
2105         * automake.texi (Tests): Document site.exp.  Update DejaGnu's url.
2107 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2109         * lib/am/header-vars.am (transform): Define.
2110         Was removed by mistake on 2002-04-13.
2111         * tests/transform.test: New file.
2112         * tests/Makefile.am (TESTS): Add transform.test.
2113         Reported by Nicolas Joly.
2115 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2117         * tests/dollar.test: Require GNU make.
2118         * tests/maintclean.test: Don't use `export YACC=false'.  Pass
2119         YACC=false to configure instead.
2121 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2123         * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
2124         INSTALL: New upstream versions.
2126 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2128         * tests/sinclude.test: Check for m4_include too.
2130 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2132         * tests/sinclude.test: Rename the package as amsinclude;
2133         am__sinclude still trigers the sinclude macro once it has been
2134         converted to am--sinclude.
2135         Reported by Nicolas Joly.
2137 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2139         * automake.texi (API versioning): Typo.
2141 2002-06-10  Nicolas Joly  <njoly@pasteur.fr>
2143         * THANKS (Nicolas Joly): Remove duplicate.
2145 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2147         * Makefile.am (maintainer-check): Fix $MAKE -e detection.
2148         * tests/yacc7.test: Use rm -f.
2150 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2152         * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
2153         * tests/subpkg.test: New file.
2154         * tests/Makefile.am (TESTS): Add subpkg.test.
2156 2002-06-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2158         For PR automake/318:
2159         * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
2160         _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
2161         * lib/am/scripts.am (install-%DIR%SCRIPTS,
2162         uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
2163         default.
2164         (?%DIR%SCRIPT_INSTALL): New variable.
2165         * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
2166         Reported by Eric Siegerman.
2168 2002-06-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
2170         * automake.in (lang_yacc_target_hook): Add rule to recover from
2171         the removal of $header.
2172         * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
2173         output by lang_yacc_target_hook).
2174         * tests/yacc7.test: Try to recreate foo.h after its removal.
2175         * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
2176         parse.h too.
2177         Reported by Bernd Jendrissek.
2179 2002-06-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
2181         For PR automake/317:
2182         * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
2183         suggest `list='$(FILES)'; for f in $$list' instead.
2184         * lib/am/distdir.am (distdir): Adjust `for' usage.
2185         * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
2186         * tests/dollar.test: New file.
2187         * tests/Makefile.am (TESTS): Add dollar.test.
2188         Reported by Eric Siegerman and Philip Fong.
2190 2002-06-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
2192         For PR automake/47 (fixed a long time ago):
2193         * tests/yacc7.test: Also check that parser sources are distributed.
2195 2002-06-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
2197         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
2198         (distclean): Use it.
2199         (maintainer-clean): Delete autom4te.cache and
2200         $(am__CONFIG_DISTCLEAN_FILES).
2201         * tests/maintclean.test: New file.
2202         * tests/Makefile.am (TESTS): Add maintclean.test.
2204 2002-06-05  Miloslav Trmac  <trmac@popelka.ms.mff.cuni.cz>
2206         * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
2207         target_alias.
2209 2002-05-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
2211         * Makefile.am (maintainer-check): Check for egrep and fgrep.
2213         * test/cond22.test: Set SHELL when calling $MAKE -e.
2215 2002-05-31  Richard Boulton <richard@tartarus.org>
2217         Fix PR automake/326:
2218         * automake.in (define_objects_from_sources): Calculate the result in
2219         all conditions before passing this to subobjname to pick a name to
2220         store the result in.
2221         (subobjname): Expect a list of condition/value pairs as input.
2222         Combine this list and use it as the key to determine the variable name.
2223         * test/cond22.test: New file.
2224         * tests/Makefile.am (TESTS): Add cond22.test
2226 2002-05-30  Paul Eggert  <eggert@twinsun.com>
2228         * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
2229         instead, use shell pattern matching.
2231 2002-05-29  Paul Eggert  <eggert@twinsun.com>
2233         Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
2234         longer requires them.
2236         * Makefile.am (maintainer-check): Use grep -E and grep -F instead
2237         of egrep and fgrep.  Omit unnecessary -E and -F.
2238         Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
2239         * lib/am/distdir.am (distdir): fgrep -> grep -F.
2240         Use $(), not ${}, for Make variables.
2241         * lib/am/texinfos.am (install-info-am, uninstall-info-am):
2242         fgrep -> grep
2243         * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2244         * tests/defs: Set FGREP and EGREP.
2246         * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
2247         tests/ansi.test, tests/ansi4.test, tests/colon3.test,
2248         tests/cond21.test, tests/condlib.test, tests/confh4.test,
2249         tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
2250         tests/depend4.test, tests/discover.test, tests/distname.test,
2251         tests/dup3.test, tests/empty4.test, tests/fo.test,
2252         tests/implicit.test, tests/insh2.test, tests/interp.test,
2253         tests/lex.test, tests/lex3.test, tests/lex4.test,
2254         tests/libobj5.test, tests/libobj7.test, tests/make.test,
2255         tests/makevars.test, tests/nostdinc.test, tests/parse.test,
2256         tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
2257         tests/pr2.test, tests/pr9.test, tests/seenc.test,
2258         tests/specflags.test, tests/specflags3.test,
2259         tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
2260         tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
2261         tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
2262         tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
2264 2002-05-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
2266         For PR automake/323:
2267         * m4/depend.m4: Missing comma.
2268         * tests/gcj4.test: New file.
2269         * tests/Makefile.am (TESTS): Add gcj4.test.
2270         Reported by David Pashley.
2272 2002-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2274         * tests/defs (configure.in): Don't double-quote $me.
2275         * tests/sinclude.test: Overwrite configure.in and use
2276         `am__sinclude' instead of `sinclude' as package name.
2277         Excercise `m4_sinclude' instead of `sinclude'.
2279 2002-05-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
2281         * automake.in (conditional_implies_one_of): Rename as ...
2282         (conditional_implies_any): ... this.
2283         * tests/pluseq9.test: Exercise another case with the new
2284         `C' variable.
2285         Suggested by Raja R Harinath.
2287 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
2289         * tests/defs (configure.in): Quote macro arguments.
2290         Reported by Nicolas Joly.
2292 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
2294         * lib/am/header-vars.am (build_triplet, host_triplet,
2295         target_triplet): Define.  Were removed by mistake on 2002-04-13.
2297 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
2299         For PR automake/186:
2300         * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
2301         * tests/destdir.test: New file.
2302         * tests/Makefile.am (TESTS): Add destdir.test.
2304 2002-05-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2306         * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
2307         (conditional_is_redundant): Simplify.
2308         (conditional_implies_one_of,
2309         variable_not_always_defined_in_cond): New functions
2310         (macro_define): Reject appends if the variable is not defined in
2311         all conditions where `+=' applies.
2312         (invert_conditions): Rewrite.  Before this patch,
2313         invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
2314         would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
2315         wrong (these conditions implies "A_FALSE").  Now it outputs (),
2316         which just means the input conditions cover all cases.
2317         (variable_conditions_permutations): Never output FALSE conditions.
2318         * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
2319         in the CHECK_FALSE condition to fix the test.
2320         * tests/pluseq5.test: Actually check the diagnostic.
2321         * tests/pluseq9.test: New file.
2322         * tests/Makefile.am (TESTS): Add pluseq9.test.
2324 2002-05-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
2326         Fix for PR automake/322:
2327         * automake.in (read_am_file): Rename $was_rule as $prev_state, and
2328         set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
2329         Handle comments continued by backslashes.
2330         * tests/comment6.test: New file.
2331         * tests/Makefile.am (TESTS): Add comment6.test.
2332         Reported by Braden N. McDaniel.
2334 2002-05-08  Charles Wilson  <cwilson@ece.gatech.edu>
2335             Alexandre Duret-Lutz  <duret_g@epita.fr>
2337         * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
2338         both `program$(EXEEXT)' and `program'; needed under Cygwin.
2339         * tests/libtool3.test: New file.
2340         * tests/Makefile.am (TESTS): Add libtool3.test.
2342 2002-05-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
2344         * TODO: Undust.
2346 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
2348         * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
2350 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
2352         Erase stamps from the Makefile that generates them.
2354         * automake.in (handle_configure): Append each used stamp to
2355         @distclean_config.  Don't warn about stamp-h in AC_OUTPUT, this
2356         file is not used anymore.
2357         * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
2358         stamp-h[0-9]*.
2359         * tests/subdir6.test: New file.
2360         * tests/Makefile.am (TESTS): Add it.
2362 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
2364         Fix for condd.test (conditional `+='):
2365         * automake.in (%appendvar): New.
2366         (initialize_per_input): Clear it.
2367         (macro_define): Handle += for variable defined in another condition.
2368         * automake.texi (Conditional Sources): Use conditional += in
2369         the example.
2370         (General Operation, Conditionals): Remove note about broken +=.
2371         * tests/cond21.test: New file.
2372         * tests/condd.test: Also test conditional append to a _SOURCE
2373         variable.  Create missing directories.
2374         * tests/Makefile.am (TESTS): Add cond21.test.
2375         (XFAILS): Remove condd.test.
2377 2002-05-05  Tom Tromey  <tromey@redhat.com>
2379         * automake.texi (Program and Library Variables): Mention _LFLAGS.
2381 2002-04-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
2383         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
2384         files.  Fix subobj9.test on OSF and IRIX.
2385         Reported by Nelson H. F. Beebe.
2387 2002-04-26  Tom Tromey  <tromey@redhat.com>
2389         * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
2390         For Debian bug 144221.
2392 2002-04-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2394         * tests/man2.test: Use `pwd`, not $PWD.  Use $MAKE -e.
2396 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2398         * automake.in (subobjname): Use the length of %subobjvar
2399         instead of $subobjnamenum.
2400         (subobjnamenum): Remove.
2402 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2404         For PR automake/307:
2405         * lib/depcomp: Never compute dependencies in the background, this
2406         can cause races with libtool.  Compute the dependencies after
2407         the actual compilation.  Don't make libtool silent now that
2408         it's run in the foreground.
2409         * tests/pr307.test: New file.
2410         * tests/Makefile.am (TESTS): Add pr307.test.
2411         Reported by Laurent Morichetti.
2413 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2415         * lib/am/check.am: Show skipped tests.  Display the
2416         $(PACKAGE_BUGREPORT) address on failure.
2418 2002-04-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
2420         Fix PR automake/315:
2421         * automake.in (subobjname): Rewrite to generate variable name
2422         unique for each content.
2423         (%substnums): Remove.
2424         (%subobjvar): New hash.
2425         (initialize_per_input): Clear %subobjvar.
2426         (define_objects_from_sources): Return the name of the variable
2427         defined, in addition to the linker.  Call subobjname only once
2428         the content of the variable to define is known.
2429         (handle_source_transform): Adjust call to define_objects_from_sources.
2430         * tests/specflags8.test: Mention PR 315.
2431         * tests/subobjname.test: New file.
2432         * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
2433         (TESTS): Add subobjname.test.
2435 2002-04-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
2437         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
2438         the whole file for 'generated by automake', not only the
2439         first line.  This accounts for post-processed Makefile.in's.
2440         * tests/postproc.test: New file.
2441         * tests/Makefile.am (TESTS): Add postproc.test.
2443 2002-04-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2445         For PR automake/151 and PR automake/314:
2446         * automake.texi (A Program): Split into
2447         (Program Sources, Linking, Conditional Sources, Conditional
2448         Programs): ... these subsections; moving the Linking node
2449         before the Conditional discussions.
2450         (Conditional Sources): More details.  Notably, mention
2451         hello_DEPENDENCIES.
2452         (Conditionals): Adjust reference to Conditional Programs.
2454 2002-04-19  Paul Eggert  <eggert@twinsun.com>
2456         Fix some bugs when using "$@" when there might be zero positional
2457         arguments in cases where this matters.  Zsh doesn't support
2458         the workaround ${1+"$@"} that has been used by Automake since
2459         the Mon Dec  4 11:55:36 1995 change.
2461         * aclocal.in: Use 'case' statement to work around problem.
2462         * automake.in: Likewise.
2463         * lib/ylwrap: Likewise.
2464         * lib/missing: No need for workaround, as the command is never
2465         invoked with zero arguments.
2466         * tests/ccnoco.test: Likewise.
2467         * missing: Update from lib/missing.
2469 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2471         * automake.in (initialize_per_input): Clear %require_file_found.
2472         (%require_file_found): Group the declaration with the other
2473         variables initialized by initialize_per_input.
2474         * tests/required.test: New file.
2475         * tests/Makefile.am (TESTS): Add it.
2476         Reported by Marius Vollmer.
2478 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2480         * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
2481         override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
2482         (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
2483         * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
2484         * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
2485         files.
2486         * tests/confh5.test: New file.
2487         * tests/Makefile.am (TESTS): Add confh5.test.
2488         * automake.texi (Optional, Public macros): Update descriptions
2489         of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
2491 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2493         * tests/man2.test: New file.
2494         * tests/Makefile.am (TESTS): Add man2.test.
2495         * lib/am/mans.am (install-man%SECTION%): Change the extension
2496         of the man pages being installed, as documented.
2498 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2500         Enable traces; wipe out the old configure.in parser.
2502         * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
2503         'autoconf'.  Honnor the $filename argument.
2504         (scan_autoconf_files): Don't call scan_one_autoconf_file.
2505         Always call scan_autoconf_traces.
2506         (scan_one_autoconf_file): Remove, with it associated regexes.
2507         (obsolete, obsolete_rx): Remove.
2508         (register_language, handle_languages): Remove the 'define_flag'
2509         support.  Remove it from the struct and language definitions too.
2510         (unquote_m4_arg): Remove.
2511         * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
2512         the `FOO = @FOO@' definitions for all AC_SUBST'ed variables.  They
2513         are now generated automatically.
2514         * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
2515         automake.in.
2516         * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
2518 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
2520         * tests/version6.test: New file.
2521         * tests/Makefile.am (TESTS): Add tests/version6.test.
2522         * automake.in (version_check): Return 0 on equality.
2524 2002-04-13  Andreas Schwab  <schwab@suse.de>
2526         * THANKS: Update my mail address.
2528 2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
2530         * tests/discover.test: Use a full configure.in that calls AC_INIT.
2531         Use AC_LIBOBJ.  Grep the error message.
2532         * test/ldadd.test: Don't use LIBOBJS.  Use a full configure.in.
2533         Grep the error message.  Require libtool.
2534         * tests/ldflags.test:  Don't use LIBOBJS.
2535         * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
2536         error messages for CC and CXX.
2538 2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
2540         * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
2541         and AMDEPBACKSLASH.
2542         * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
2543         * tests/ext.test: Enable dependencies for OBJC.
2544         * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
2545         Delete.  They tests for different flavors of $LIBOBJS assignments
2546         that wont be supported anymore.
2547         * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
2548         * tests/obsolete.test: Don't test Automake.
2549         * tests/suffix5.test: Require libtool.
2550         * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
2551         libobj9.test.
2553 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2555         * configure.in (APIVERSION): Fix definition.
2557 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2559         * NEWS: Catch up with changes since 1.6.
2561 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2563         * tests/yacc8.test: Don't assume GNU make, run config.status
2564         to regenerate the Makefile.
2566 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2568         * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
2569         always followed by a SHELL setting.
2570         * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
2571         SHELL when calling `$MAKE -e'.
2573 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2575         * tests/subobj9.test: Use configure.in, not configure.ac,
2576         otherwise this fails with old libtool versions.
2578 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2580         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2581         versions.
2583 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
2585         * ChangeLog.2001: New file, extracted from ChangeLog.
2586         * Makefile.am (EXTRA_DIST): Add it.
2588 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
2590         * automake.texi (Canonicalization): The sources for libmumble++.a
2591         go into libmumble___a_SOURCES.
2593 2002-04-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
2595         * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
2596         test suite.  Suggest `sleep 2' instead.
2597         * tests/confsub.test: Use `sleep 2'.
2599 2002-04-04  Paul Eggert  <eggert@twinsun.com>
2601         * lib/am/subdirs.am:
2602         ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
2603         $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
2604         MAKEFLAGS contains '$(...)'.
2606 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2608         * tests/specflags8.test: Typo.
2610 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2612         * tests/specflags6.test: Run aclocal.
2613         * tests/Makefile.am (TESTS): Add specflags6.test.
2615 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
2617         * tests/specflags7.test, tests/specflags8.test: New files.
2618         * tests/Makefile.am (TESTS): Add them.
2619         (XFAIL_TESTS): Add specflags8.test.
2621 2002-03-29  Tom Tromey  <tromey@redhat.com>
2623         * automake.in (check_typos): Examine AM_LDFLAGS.
2624         Fixes PR automake/311.
2626         For PR automake/312:
2627         * lib/am/libtool.am (clean-libtool): Use LTRMS.
2628         * automake.in (handle_single_transform_list): When processing a
2629         libtool object, clean the ordinary object and register the
2630         directory.
2631         (libtool_clean_directories): New global.
2632         (initialize_per_input): Initialize it.
2633         (generate_makefile): Call handle_libtool later.
2634         (handle_libtool): Handle libtool_clean_directories.
2635         * tests/subobj9.test: New file.
2636         * tests/Makefile.am (TESTS): Added subobj9.test.
2638 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2640         * tests/extra6.test, tests/subdir5.test: Require GNU make.
2642 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2644         * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
2646 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2648         * tests/extra7.test: New file.
2649         * tests/Makefile.am: Add it.
2650         * lib/am/distdir.an (distdir): When a distribuable directory
2651         exists both in `.' and $(srcdir), merge both directories.  This
2652         works around a failure of extra6.test on Tru64 reported by
2653         Nicolas Joly.
2655 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2657         * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
2659 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2661         * Makefile.am (maintainer-check): Catch occurrences of
2662         `$MAKE foo=bar' in the testsuite.  Suggest using
2663         `foo=bar $MAKE -e' instead.
2664         * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
2665         Use $MAKE -e.  This fixes a ansi5.test failure with Solaris make.
2666         * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
2667         * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
2669 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
2671         Fix for PR automake/310:
2672         * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
2673         so it never appears as a plain word.
2675 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
2677         * lib/depcomp (tru64): Correctly compute `base'.
2679 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
2681         * tests/pr211.test: s/requires/required/, otherwise the test fails
2682         if libtool is not installed.
2684 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
2686         * tests/dirname.test: Don't use $SHELL when calling ./configure.
2688 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
2690         * tests/dirname.test: Use --quiet to fix failure on installations
2691         using a site script.
2692         Reported by Nicolas Joly.
2694 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
2696         * Makefile.am (maintainer-check): Check for misuses of make,
2697         autoconf, automake, aclocal, and perl in the testsuite.  Suggest
2698         using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
2699         * tests/confsub.test: Use $AUTOCONF and $MAKE.
2700         * tests/extra5.test, tests/extra6.test, tests/lex5.test,
2701         tests/nobase.test, tests/nodist2.test, tests/pr204.test,
2702         tests/pr224.test, tests/pr287.test, tests/strip.test,
2703         tests/yacc8.test: Use $MAKE.
2705 2002-03-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
2707         Add support for two-dot versions.
2709         * tests/version5.test: New file.
2710         * tests/Makefile.am (TESTS): Add it.
2711         * automake.in (version_split, version_compare): New functions.
2712         (version_check): Rewrite using version_split and version_compare.
2713         (process_option_list): Adjust regex.
2715 2002-03-18  Richard Boulton <richard@tartarus.org>
2717         Fix for PR automake/306:
2718         * automake.texi (Generalities): Document +=.
2719         (Conditionals): Document limitations of += with conditionals.
2721 2002-03-17  Tom Tromey  <tromey@redhat.com>
2723         Fix for PR automake/295:
2724         * automake.texi (Invoking Automake): Deprecate --output-dir.
2725         * automake.in (usage): Don't document --output-dir.
2726         (output_directory): Don't initialize.
2727         (parse_arguments): Deprecate --output-dir.
2729         * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
2730         Fixes PR automake/304.
2732 2002-03-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
2734         * tests/dirforbid.test: Workaround for NetBSD sh bug.
2735         Fixes PR automake/305.
2737 2002-03-11  Richard Boulton <richard@tartarus.org>
2739         * automake.in (check_typos): Allow variables with reserved
2740         suffices (such as _LDFLAGS) and prefixes which aren't
2741         recognised if the variable is defined in configure.ac.
2742         Fixes acsubst.test.
2744 2002-03-11  Richard Boulton <richard@tartarus.org>
2746         * tests/acsubst.test: New test, by Alexandre Duret-Lutz
2747         * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
2748         * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
2750 2002-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
2752         * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
2753         causes failures.
2755 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
2757         Fix for PR automake/303:
2758         * automake.in (version_check): Move the error message ...
2759         (process_option_list): ... here, so we can distinguish between
2760         global and local options.
2762 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
2764         * tests/pr300-lib.test, tests/pr300-ltlib.test,
2765         tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
2766         Autoconf doesn't complain about Makefile being output twice.
2768 2002-03-06  Tom Tromey  <tromey@redhat.com>
2770         * configure.in: Upped version to 1.6a.
2772 2002-03-05  Tom Tromey  <tromey@redhat.com>
2774         * configure.in: Released 1.6.
2776 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
2778         Fix for PR automake/300:
2779         * tests/pr300-lib.test, tests/pr300-ltlib.test,
2780         tests/pr300-prog.test: New files.
2781         * tests/Makefile.am (TESTS): Add them.
2782         * automake.in (handle_ltlibraries): Strip nobase_ prefix to
2783         compute the directory.
2784         * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
2785         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
2786         (install-%DIR%LIBRARIES): Use it.  Honor nobase_.
2787         (uninstall-%DIR%LIBRARIES): Honor nobase_.
2788         * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
2789         (install-%DIR%LTLIBRARIES): Use it.  Honor nobase_.
2790         (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
2791         * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
2792         (install-%DIR%PROGRAMS): Use it.  Honor nobase_.
2793         (uninstall-%DIR%PROGRAMS): Honor nobase_.
2794         See also the fix for nobase.test on 2001-11-09.
2796 2002-03-05  Tom Tromey  <tromey@redhat.com>
2798         * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
2800 2002-03-05  Pavel Roskin  <proski@gnu.org>
2802         * tests/yacc8.test: Add a command between "test" and "cd" to
2803         work around a bug in bash-2.05.
2805 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
2807         Fix for PR automake/294:
2808         * tests/dirforbid.test: New file.
2809         * tests/Makefile.am (TESTS): Add it.
2810         * automake.in (standard_prefix): New hash.
2811         (am_primary_prefixes): Forbid standard_prefixes which are not
2812         explicitely allowed.
2813         * automake.texi (Uniform): Remove FIXME.
2815 2002-03-05  Jim Meyering  <meyering@lucent.com>
2817         * automake.in (@common_files): Add config.rpath.
2819 2002-03-05  Kevin Ryde  <user42@zip.com.au>
2821         For PR automake/297:
2822         * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
2823         after AC_PROG_LEX, since it will try to run it and fail (in autoconf
2824         2.52 at least).
2826 2002-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2828         * automake.in (scan_one_autoconf_file): Declare
2829         LEX_OUTPUT_ROOT and LEXLIB as configure variables when
2830         AM_PROG_LEX or AC_PROG_LEX are seen.  This allows to ...
2831         * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
2832         definitions.  Search %SOURCE% in $(srcdir).  Use s||| instead
2833         of s/// in the sed invocation, to support filenames containing
2834         slashes.
2835         * lib/am/yacc.am: Search %SOURCE% in $(srcdir).  Use s||| too.
2836         * tests/lex5.test, tests/yacc8.test: New files.
2837         * tests/Makefile.am (TESTS): Add them.
2839 2002-02-23  Per Bothner  <per@bothner.com>
2841         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
2842         `.' in else branch.
2844 2002-02-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2846         * tests/make.test: Revert the grep logic to work around a bug
2847         in NetBSD sh (see NetBSD Problem Report #11542).
2848         Reported by Patrick Welche.
2850 2002-02-20  Tim Van Holder  <tim.van.holder@pandora.be>
2852         * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
2853         to try and prevent a non-lisp emacs from starting in interactive
2854         mode.
2855         * automake.texi: Document this change.
2857 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2859         * automake.texi (Macros): Split into ...
2860         (Public Macros, Private Macros): ... these.
2862 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2864         * tests/insthook.test: Use sed instead of "tail +X".
2866 2002-02-18  Paul Eggert  <eggert@twinsun.com>
2868         * lib/depcomp: Don't use "tail +3"; it's not portable to
2869         POSIX 1003.1-2001 hosts.
2871 2002-02-18  Jim Meyering  <meyering@lucent.com>
2873         * tests/cond12.test: Use sed 1q, not `head -n 1'.
2874         The latter is not portable to some old systems.
2875         * m4/depout.m4: Don't use `head -1'; it's no longer portable.
2876         Use `sed 1q' instead.
2877         * tests/insthook.test: Likewise.
2879 2002-02-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
2881         * automake.in (handle_lib_objects_cond): Tell the user to put
2882         global linker flags in AM_LDFLAGS, not LDFLAGS.
2884         * automake.texi (General Operation): AC_SUBST'ed variables
2885         override Automake's variables.
2886         (Uniform): More words and @refs.
2887         (Auxiliary Programs) <config.sub, config.guess>: Add URL.
2888         (etags): More explanations about the first example.
2889         (Invoking Automake): Mention autoreconf.  More @refs.
2890         (Requirements): Mention AC_CONFIG_FILES.
2891         (Optional): AC_CHECK_TOOL will no longer install config.sub and
2892         config.guess.  Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
2893         (Invoking aclocal): aclocal no longer warn about duplicates.
2894         (Macros) <AM_INIT_AUTOMAKE>: More explanations.
2895         (Extending aclocal): Suggest using the output of
2896         `aclocal --print-ac-dir` to install third-party macros.
2897         (Alternative): Specify ordering of dist_, nodist_, and nobase_
2898         prefixes.
2899         (A Program): Mention scripts.  The global LDADD variable is not
2900         meant to hold link flags, suggest using AM_LDFLAGS instead.
2901         (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
2902         _LIBADD and _LDADD are subject to the same restriction wrt to
2903         link flags.
2904         (Program and Library Variables) <maude_DEPENDECIES>: Is also
2905         derived from maude_LIBADD.
2906         (Program variables): Define AM_LDFLAGS.
2907         (Dependencies): Passing the no-dependencies option to
2908         AM_INIT_AUTOMAKE is prefered.
2909         (Scripts): Explain why automake is magically cleaned.
2910         Mention noinst_SCRIPTS and check_SCRIPTS.
2911         (Data): Use dist_ in Automake's example.
2912         (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
2913         Mention AC_CONFIG_FILES instead of AC_OUTPUT.
2915 2002-02-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
2917         * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
2918         (fetch): Fetch XFile.pm.  Update the files in $(srcdir) instead
2919         of asking the maintainer to do it manually.
2920         * lib/config.guess, lib/config.sub, lib/texinfo.tex,
2921         Automake/XFile.pm: New upstream versions.
2923 2002-02-02  Tom Tromey  <tromey@redhat.com>
2925         * automake.texi (Macros): Warn about upgrading.
2927 2002-02-01  Tom Tromey  <tromey@redhat.com>
2929         Change per GNU coding standards:
2930         * aclocal.in (parse_arguments): Only mention most recent year in
2931         copyright output.
2932         * automake.in (version): Only mention most recent year.
2934 2002-01-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
2936         * automake.texi (API versioning): New Node.
2937         (Extending): Use $(DESTDIR) in examples.
2939 2002-01-28  Akim Demaille  <akim@epita.fr>
2941         * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
2942         Respect the --help layout.
2944 2002-01-27  Tom Tromey  <tromey@redhat.com>
2946         * configure.in: Bumped to 1.5e.
2948         * lib/am/yacc.am: Use `rm -f'.
2950         * configure.in: Released 1.5d.
2952         * lib/config.guess: New version from FSF.
2954         * Makefile.am (uninstall-hook): New target.
2956 2002-01-24  Akim Demaille  <akim@epita.fr>
2958         * lib/install-sh: Update, from Autoconf.
2960 2002-01-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
2962         * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
2963         as AC_CANONICAL_HOST (the former does not require the latter since
2964         Autoconf 2.50).
2965         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
2966         * automake.texi (Requirements): Do not require STRIP to be
2967         defined by the user.
2969 2002-01-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
2971         * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
2972         * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
2973         * tests/pr224.test: Make sure .deps subdirectories are
2974         erased by distclean.
2976 2002-01-22  Tom Tromey  <tromey@redhat.com>
2978         * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
2979         no-dependencies option is set.
2980         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
2981         no-dependencies option is set.  Don't call AM_DEP_TRACK or
2982         AM_SET_DEPDIR.
2984 2002-01-22  Pavel Roskin  <proski@gnu.org>
2986         * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
2987         ASFLAGS.
2989 2002-01-22  Akim Demaille  <akim@epita.fr>
2991         * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
2992         (fetch): Adjust.
2994 2002-01-21  Tom Tromey  <tromey@redhat.com>
2996         * Makefile.am (fetch): Don't fetch ansi2knr.
2998         * automake.texi (Macros): Updated for new variable names.
2999         (Program and Library Variables): Likewise.
3000         (Assembly Support): Likewise.
3001         * m4/as.m4: Use CCAS and CCASFLAGS.
3002         * automake.in (asm): Use CCAS and CCASFLAGS.
3004 2002-01-21  Akim Demaille  <akim@epita.fr>
3006         * automake.in (&parse_arguments): Use a more GNUish error message
3007         on wrong options.
3009 2002-01-20  Tom Tromey  <tromey@redhat.com>
3011         Fix for PR automake/231:
3012         * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
3013         * m4/depend.m4: Document `GCJ'.
3015         For PR automake/224:
3016         * tests/Makefile.am (TESTS): Added pr224.test.
3017         * tests/pr224.test: New file.
3018         * lib/depcomp: Fixed computation of depfile.
3019         * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
3020         * automake.in (handle_single_transform_list): Only reject `..'
3021         component for Java.  Put dependencies in directory near object.
3022         (handle_languages): Set DEPBASE.  Handle de-ansi-fication.
3024 2002-01-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
3026         * tests/defs: Export AUTOMAKE and ACLOCAL.
3028 2002-01-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
3030         Fix for PR automake/204:
3031         * tests/pr204.test: New file.
3032         * tests/Makefile.am (TESTS): Add it.
3033         * automake.in (handle_single_transform_list): Don't distribute
3034         sources derived from non-distributed sources.
3036 2002-01-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
3038         Fix for PR automake/229:
3039         * tests/pr229.test: New file.
3040         * tests/Makefile.am (TESTS): Add it.
3041         * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
3042         AC_EMXOS2, and AC_MINGW32.
3044 2002-01-18  Tom Tromey  <tromey@redhat.com>
3046         * tests/cond7.test: Fix test bug exposed by copyright update.
3048         For PR automake/288:
3049         * automake.in (lang_c_rewrite): Don't prepend directory to base if
3050         directory is `.'.  Also, properly compute de_ansi_files entry in
3051         subdir-objects case
3052         * tests/Makefile.am (TESTS): Added ansi7.test.
3053         * tests/ansi7.test: New file.
3055         * aclocal.in (parse_arguments): Added 2002.
3056         (write_aclocal): Likewise.
3057         (parse_arguments): Updated my email address.
3058         * automake.in (gen_copyright): Added 2002.
3059         (version): Likewise.  Also, changed my email address.
3061         * configure.in (APIVERSION): Refined definition.
3063 2002-01-18  Tom Tromey  <tromey@redhat.com>
3065         * missing: Updated.
3066         * lib/missing: Accept versioned aclocal.
3067         * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
3069 2002-01-17  Pavel Roskin  <proski@gnu.org>
3071         * m4/Makefile.am (m4datadir): Use APIVERSION.
3073 2002-01-16  Tom Tromey  <tromey@redhat.com>
3075         * Makefile.am (install-exec-hook): Use APIVERSION.
3076         * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
3077         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
3078         APIVERSION.
3079         * automake.in (perllibdir): Use APIVERSION.
3080         (libdir): Likewise.
3081         * aclocal.in (perllibdir): Use APIVERSION.
3082         (APIVERSION): New global.
3083         (parse_arguments): Use APIVERSION.
3084         * configure.in (APIVERSION): New subst.
3085         (pkgvdatadir): Use APIVERSION.
3087 2002-01-15  Tom Tromey  <tromey@redhat.com>
3089         * missing: Updated.
3090         * lib/missing: Match against `automake*' to pick up versioned
3091         automake.
3092         * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
3093         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
3094         variable.
3095         * lib/am/Makefile.am (amdir): Use pkgvdatadir.
3096         * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
3097         pkgvdatadir.
3098         (scriptdir): Use pkgvdatadir.
3099         (installcheck-local): Likewise.
3100         * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
3101         * automake.in (perllibdir): Added VERSION.
3102         (libdir): Likewise.
3103         * aclocal.in (parse_arguments): Search versioned directory.  Don't
3104         push unversioned directory unless it exists.
3105         (perllibdir): Added VERSION.
3106         (default_acdir): New global.
3107         * m4/Makefile.am (m4datadir): Added $(VERSION).
3108         * Makefile.am (install-exec-hook): New target.
3109         * configure.in (ACLOCAL): Search build directory.
3110         (pkgvdatadir): New subst.
3112 2002-01-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
3114         * lib/config.sub, lib/config.guess: New versions from FSF.
3116 2002-01-13  Tom Tromey  <tromey@redhat.com>
3118         For PR automake/288:
3119         * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
3120         to directory.
3121         (lang_c_finish): Likewise.  Also, use directory information from
3122         de_ansi_files.
3124 2002-01-13  Kevin Ryde  <user42@zip.com.au>
3126         For PR automake/288:
3127         * tests/Makefile.am (TESTS): Added ansi6.test.
3128         * tests/ansi6.test: New file.
3130 2002-01-13  Tom Tromey  <tromey@redhat.com>
3132         For PR automake/287:
3133         * lib/am/distdir.am (distdir): Use `$$list' trick when looping
3134         over subdirs.
3135         * tests/Makefile.am (TESTS): Added pr287.test.
3136         * tests/pr287.test: New file.
3138 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
3140         * lib/am/distdir.am (distdir): Handle subdirectories.
3141         * tests/extra6.test: New file.
3142         * tests/Makefile.am (TESTS): Add it.
3144 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
3146         * tests/extra2.test: Run $ACLOCAL.
3148 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
3150         * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
3151         AM_INIT_AUTOMAKE arguments when using the old-style call.
3152         Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
3153         Suggested by Pavel Roskin.
3155 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
3157         * test/nodefine.test, test/nodefine2.test: Check that no-define
3158         works, not the contrary...
3159         * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
3160         * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
3161         not the contrary.
3163 2002-01-12  Jim Meyering  <meyering@lucent.com>
3165         * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
3166         * tests/libobj11.test: New file.
3167         * tests/Makefile.am (TESTS): Add libobj11.test.
3169 2002-01-09  Ryan T. Sammartino  <ryants@shaw.ca>
3171         * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
3173 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3175         * automake.in (file_contents_internal): Introduce two variables,
3176         $is_rule and $discard_rules to track rules spanning across multiple
3177         paragraphs.  This fixes a very nasty bug reported by Dmitry Mikhin
3178         where only the first paragraph of such a multi-paragraph rule was
3179         discarded; but it leaves many similar latent bugs (see the FIXMEs).
3181 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3183         * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
3184         * tests/error.test: Use some macro names which are not defined by
3185         Automake itself.
3187 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3189         * automake.texi (Complete, Macros, Options): Document the new style
3190         AM_INIT_AUTOMAKE.  Remove AM_AUTOMAKE_OPTIONS documentaion.
3191         * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
3192         AC_INIT if they are available there.  Support a new call form
3193         where the only argument is an optional space-separated list of
3194         Automake options.
3195         * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
3196         (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
3197         _AM_IF_OPTION): New functions.
3198         * automake.in (AC_INIT_PATTERN): New variable.
3199         (global_options_line): Remove, use $seen_init_automake instead.
3200         (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
3201         from AC_INIT if available.  Support the new style AM_INIT_AUTOMAKE.
3202         Remove the AM_AUTOMAKE_OPTIONS handling.
3203         * configure.in: Modernize.
3204         * tests/defs (configure.in): Modernize.  One third of the tests
3205         still overwrite the default configure.in and use an old
3206         AM_INIT_AUTOMAKE call,  so that makes testing for both.
3207         * tests/nodefine.test, tests/nodefine2.test: New files.
3208         * tests/Makefile.am (TESTS): Add them.
3210 2002-01-08  Raja R Harinath  <harinath@cs.umn.edu>
3212         * automake.in (define_configure_variable): Propagate line numbers.
3214 2002-01-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
3216         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
3218 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
3220         * configure.in: Run the Autoconf test in a subdirectory, then
3221         erase this directory.
3223 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
3225         * configure.in (AUTOMAKE): Create m4/amversion.m4.
3226         * m4/amversion.in: New file.
3227         * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
3228         (dist_m4data_DATA): ... this.
3229         (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
3230         * m4/init.m4 (AM_INIT_AUTOMAKE): Require
3231         AM_SET_CURRENT_AUTOMAKE_VERSION.
3232         * automake.in (seen_automake_version): New variable.
3233         (scan_autoconf_traces, scan_one_autoconf_file,
3234         scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
3235         when the version used in aclocal.m4 differs from Automake's.
3236         * tests/defs (ACLOCAL): Look in ../m4 too.
3237         * tests/installsh.test (ACLOCAL): Likewise.
3238         * tests/installdir.test (installdirs-local): Run $ACLOCAL.
3240 2002-01-06  Raja R Harinath  <harinath@cs.umn.edu>
3242         * automake.in (handle_languages): Emit an automake
3243         internal variable 'am__depfiles_maybe'.
3244         * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
3246         * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
3247         config.status.
3249 2002-01-06  Tom Tromey  <tromey@redhat.com>
3251         * automake.texi (Tags): Document new variables.
3252         * lib/am/tags.am (ETAGS): New macro.
3253         (ETAGSFLAGS): Likewise.
3254         (TAGS): Use them.
3256 2002-01-04  Tom Tromey  <tromey@redhat.com>
3258         * configure.in (ACLOCAL): Set perllibdir.  From Nicolas Joly.
3260 2002-01-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
3262         * automake.in (read_am_file): Thinko in "comment following
3263         trailing backslash" detection.
3264         * tests/comment5.test: Test for this too.
3266 2002-01-02  Tom Tromey  <tromey@redhat.com>
3268         * automake.texi (Extending): Added index for uninstall-hook.
3270 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
3272         Fix for PR automake/278:
3273         * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
3274         with versions such as '2.2c1'.  Also, use `int' instead of the
3275         obsoleted `string.atoi'.
3276         Reported by Enrico Scholz.
3278 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
3280         Fix for PR automake/280:
3281         * automake.in (read_am_file): Warn about trailing backslashes
3282         in comments.
3283         * tests/comment5.test: New file.
3284         * tests/Makefile.am (TESTS): Add comment5.test.
3285         Reported by Enrico Scholz.
3287 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
3289         * tests/comment4.test: New file.
3290         * tests/Makefile.am (TESTS): Add comment4.test.
3292         Fix for comment4.test:
3293         * automake.in (read_am_file): Output leading comments only when
3294         encountering white lines.
3296 2002-01-01  Tom Tromey  <tromey@redhat.com>
3298         For PR automake/234:
3299         * tests/Makefile.am (TESTS): Added strip.test.
3300         * tests/strip.test: New file.
3302         * automake.texi (Extending): Mention uninstall-hook.
3303         (Install): Likewise.
3304         * automake.in (handle_factored_dependencies): Allow
3305         uninstall-hook.
3307 2002-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
3309         * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
3310         it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
3311         This fixes a bug introduced on 2001-01-28.
3312         Reported by Jared Davis.
3314 -----
3316 Copyright (C) 2002, 2003  Free Software Foundation, Inc.
3318 This file is part of GNU Automake.
3320 GNU Automake is free software; you can redistribute it and/or modify
3321 it under the terms of the GNU General Public License as published by
3322 the Free Software Foundation; either version 2, or (at your option)
3323 any later version.
3325 GNU Automake is distributed in the hope that it will be useful,
3326 but WITHOUT ANY WARRANTY; without even the implied warranty of
3327 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3328 GNU General Public License for more details.
3330 You should have received a copy of the GNU General Public License
3331 along with autoconf; see the file COPYING.  If not, write to
3332 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3333 Boston, MA 02111-1307, USA.