1 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
6 * tests/defs.in: Handle required=ro-dir.
7 * tests/destdir.test: Use this.
9 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
11 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
14 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
16 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
17 DJGPP-style *.iNN info files.
18 (maintainer-clean-aminfo): Rewrite using the same pattern
19 as in uninstall-info-am.
20 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
21 DJGPP-style *.iNN info files before running $(MAKEINFO).
22 * tests/txinfo19.test: New file.
23 * tests/Makefile.am (TESTS): Add txinfo19.test.
25 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
27 * lib/depcomp (dashmstdout): Cope with DOS filenames in
30 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
32 * lib/depcomp (makedepend): Don't pass $object to makedepend.
33 Reported by Stepan Kasal.
35 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
37 * configure.in: Bump version to 1.7.2c.
39 * tests/defs.in: Handle required=makedepend.
41 * configure.in, NEWS: Bump version to 1.7.2b.
43 * Makefile.am (maintainer-check): Update the diff check
44 to account for the recent @SHELL@ substitution.
46 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
48 * lib/depcomp: Do not put comments on the `icc)' line.
50 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
53 Fix for PR automake/381:
54 * automake.in (handle_gettext): Do not print diagnostics
55 about po/ and intl/ missing from SUBDIRS if po/ does not
56 exist. Warn if `SUBDIRS = intl' is used although libintl
58 * tests/gettext.test: Make sure diagnostics are not output
59 when po/ does not exist.
60 * tests/gettext2.test: Test for unwanted intl/.
61 PR from Alexander Turbov, fix suggested by Bruno Haible.
63 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
65 * lib/depcomp (icc): New mode.
66 * tests/depcomp5.test: New file.
67 * tests/defs.in: Handle required=icc.
68 * tests/Makefile.am (TESTS): Add it.
70 Temporary hack for PR automake/381:
71 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
72 into -Wsyntax warnings.
74 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
76 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
77 This makes the setting of SHELL work for DJGPP.
79 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
82 * lib/depcomp (makedepend): Strip any libtool call, before
84 * tests/depcomp4.test: New file.
85 * tests/Makefile.am (TESTS): Add it.
86 Reported by Jeff Squyres.
88 Related to PR automake/385:
89 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
90 write dependencies to /dev/null. `-o /dev/null' was added
91 on 2002-06-13 just because I tried to replace `-o foo.o' by something
92 else and didn't thought about removing it entirely.
93 * tests/depcomp3.test: New file.
94 * tests/Makefile.am (TESTS): Add it.
96 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
98 Suggested by Richard Dawe.
100 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
102 * NEWS: Summarize recent changes.
104 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
105 (distcleancheck): New nodes.
107 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
109 * automake.in (scan_autoconf_files): Don't complain that
110 AM_INIT_AUTOMAKE comes from an old version if it was not found.
112 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
114 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
115 indexes of header files so we create stamp files with
116 the right numbers when config.status is run on some headers.
117 * tests/stamph2.test: Check for this.
118 Reported by Sander Niemeijer.
120 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
122 For Debian Bug #39542:
123 * automake.texi (Invoking Automake, Optional): Document how
124 AC_CONFIG_AUX_DIR interacts with missing files.
126 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
128 * automake.texi (Program and Library Variables): Clarify that
129 _LIBADD is for libraries and _LDADD for programs.
131 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
133 * automake.texi (Python): Explain that directory variables start
134 with either ${prefix} or ${exec_prefix}, and point to the
135 `Installation Directory Variables' section of the Autoconf manual.
137 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
139 * automake.texi (Dist): Reorder the dist-hook section, and
140 move the DIST_SUBDIRS paragraph earlier.
142 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
144 * tests/README: New file.
146 * automake.texi (Conditional Programs): Show a sample Makefile.am.
147 Remind $(EXEEXT) must be appended to configure substitutions.
148 Show how Automake conditionals can be used instead.
149 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
150 appended to conditionally defined programs.
152 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
154 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
157 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
158 or `pyexecdir', for the sake of 64-bit distributions that usually
159 use lib64/ instead of lib/. Fall back to the default directory
161 Suggested by Gwenole Beauchesne.
163 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
166 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
167 Explain BUILT_SOURCES is usually needed in this case.
168 Reported by William S Fulton.
170 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
172 Rename some files for the sake of 8+3 file systems.
173 * tests/aclocali.test: Rename to tests/aclocal.test.
174 * tests/aclocali1.test: Rename to tests/aclocal2.test.
175 * tests/aclocalii.test: Rename to tests/aclocal3.test.
176 * tests/acoutput.test: Rename to tests/acoutpt.test.
177 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
178 * tests/acouttbs.test: Rename to tests/acoutbs.test.
179 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
180 * tests/autoheader.test: Rename to tests/autohdr.test.
181 * tests/autoheader2.test: Rename to tests/autohdr2.test.
182 * tests/condincl.test: Rename to tests/condinc.test.
183 * tests/condincl2.test: Rename to tests/condinc2.test.
184 * tests/distcommon.test: Rename to tests/distcom.test.
185 * tests/distcommon2.test: Rename to tests/distcom2.test.
186 * tests/distcommon3.test: Rename to tests/distcom3.test.
187 * tests/installsh.test: Rename to tests/instsh.test.
188 * tests/installsh2.test: Rename to tests/instsh2.test.
189 * tests/instdata.test: Rename to tests/instdat.test.
190 * tests/instdata2.test: Rename to tests/instdat2.test.
191 * tests/libobj12b.test: Rename to tests/libobj13.test.
192 * tests/link_f_c.test: Rename to tests/link_fc.test.
193 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
194 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
195 * tests/nodefine.test: Rename to tests/nodef.test.
196 * tests/nodefine2.test: Rename to tests/nodef2.test.
197 * tests/required.test: Rename to tests/reqd.test.
198 * tests/required2.test: Rename to tests/reqd2.test.
199 * tests/sourcesub.test: Rename to tests/srcsub.test.
200 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
201 * tests/specflags.test: Rename to tests/specflg.test.
202 * tests/specflags2.test: Rename to tests/specflg2.test.
203 * tests/specflags3.test: Rename to tests/specflg3.test.
204 * tests/specflags6.test: Rename to tests/specflg6.test.
205 * tests/specflags7.test: Rename to tests/specflg7.test.
206 * tests/specflags8.test: Rename to tests/specflg8.test.
207 * tests/specflags9.test: Rename to tests/specflg9.test.
208 * tests/subdircond.test: Rename to tests/subcond.test.
209 * tests/subdircond2.test: Rename to tests/subcond2.test.
210 * tests/subdircond3.test: Rename to tests/subcond3.test.
211 * tests/texinfo.test: Rename to tests/txinfo.test.
212 * tests/texinfo2.test: Rename to tests/txinfo2.test.
213 * tests/texinfo3.test: Rename to tests/txinfo3.test.
214 * tests/texinfo4.test: Rename to tests/txinfo4.test.
215 * tests/texinfo5.test: Rename to tests/txinfo5.test.
216 * tests/texinfo6.test: Rename to tests/txinfo6.test.
217 * tests/texinfo7.test: Rename to tests/txinfo7.test.
218 * tests/texinfo8.test: Rename to tests/txinfo8.test.
219 * tests/texinfo9.test: Rename to tests/txinfo9.test.
220 * tests/texinfo10.test: Rename to tests/txinfo10.test.
221 * tests/texinfo13.test: Rename to tests/txinfo13.test.
222 * tests/texinfo16.test: Rename to tests/txinfo16.test.
223 * tests/texinfo17.test: Rename to tests/txinfo17.test.
224 * tests/texinfo18.test: Rename to tests/txinfo18.test.
225 * tests/Makefile.am (TESTS): Adjust.
226 * ChangeLog.1996: Rename to ChangeLog.96.
227 * ChangeLog.1998: Rename to ChangeLog.98.
228 * ChangeLog.2000: Rename to ChangeLog.00.
229 * ChangeLog.2001: Rename to ChangeLog.01.
230 * Makefile.am (EXTRA_DIST): Adjust.
231 Reported by Richard Dawe.
233 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
235 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
236 Use '_build' and '_inst' instead of '=build' and '=inst'.
237 * tests/man2.test: Reflect change automake: check for files in
238 '_build' and '_inst' directories instead of '=build' and '=inst'.
240 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
242 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
243 * m4/lead-dot.m4: New file.
244 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
245 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
246 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
247 DEPDIR using am__leading_dot.
248 * automake.in (require_build_directory): Define am__dirstamp, a new
249 variable for the dirstamp basename, based on am__leading_dot.
250 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
252 Reported by Richard Dawe.
254 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
255 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
256 testing for programs.
257 Reported by Richard Dawe.
259 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
261 * Makefile.am (maintainer-check): Suggest using $sleep instead of
263 * tests/defs.in (sleep): New variable.
264 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
265 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
266 Use $sleep instead of sleep 2, to work around timestamp
267 inconsistencies in Windows.
268 Reported by Richard Dawe.
270 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
272 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
273 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
274 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
275 $SHELL is overridden by tests/defs, so it won't hurt even
276 if $MAKE -e uses the $SHELL envvar.
277 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
278 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
279 Reported by Richard Dawe.
281 Build elisp files all at once instead of one by one.
282 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
283 elc-stamp to all's dependencies.
284 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
285 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
286 (clean-lisp): Clean elc-stamp.
287 * lib/elisp-comp: Reindent. Erase the temporatry directory
288 from a trap. Propagate Emacs's exit status.
289 * tests/lisp3.test: New file.
290 * tests/Makefile.am (TESTS): Add lisp3.test.
291 Reported by Ryan T. Sammartino.
293 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
295 * automake.in (macro_define): Add missing `{$cond}' (typo from
297 ($gen_copyright): Append year 2003.
298 (version): Increase year.
300 * tests/defs.in: Substitute aclocaldir instead of running
301 the installed aclocal. Otherwise Libtool and Gettext
302 tests get skipped when aclocal doesn't preexist.
304 * tests/listval.test, tests/suffix2.test: Remove pointless -I
307 2002-12-31 Alexandre Duret-Lutz <adl@gnu.org>
309 * automake.in (err): Rename as ...
310 (error): ... this. Adjust all callers.
311 Suggested by H.Merijn Brand.
313 2002-12-11 Brian Ford <ford@vss.fsi.com>
315 * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
316 and AC_PACKAGE_VERSION.
318 2002-12-11 Alexandre Duret-Lutz <adl@gnu.org>
320 * automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
321 no longer have to be rewritten in order to support deansification.
322 (Tests): Link to the DejaGnu manual.
323 (Optional): Comment out FIXME.
324 (Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA)
325 instead of @LIBOBJ@ and @ALLOCA@.
328 2002-12-05 Alexandre Duret-Lutz <adl@gnu.org>
330 * configure.in: Bump version to 1.7.2a.
332 * configure.in, NEWS: Bump version to 1.7.2.
334 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
335 directories from info filenames.
336 * tests/texinfo13.test: Make sure main.info gets installed
337 as $(infodir)/main.info.
339 * automake.in (handle_dist): Do not define %GETTEXT% if the user
340 is using $seen_gettext_external, this distcheck won't run
341 `./configure' with a meaningless `--with-included-gettext'.
342 * tests/gettext.test: Make sure distcheck uses --with-included-gettext.
343 * tests/gettext2.test: Make sure distcheck does not use
344 --with-included-gettext.
346 * automake.texi (Public macros) <AM_PROG_CC_STDC>: Explain this
347 macro is obsolete, and that users should
348 s/am_cv_prog_cc_stdc/ac_cv_prog_cc_stdc/ their configure.ac.
350 2002-12-04 Alexandre Duret-Lutz <adl@gnu.org>
352 * automake.in (handle_languages): Test $objdir, not $srcdir, to
353 decide whether a _.c file is in a subdirectory and has to be
355 Reported by Kevin Ryde.
357 * automake.texi (Options): Some English nits from Eric Siegerman.
358 (Sources): Rewrite the introduction and move the example to ...
359 (Built sources example): ... this separate node.
361 * tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
362 not in the environment. Otherwise the test will fail when
363 run with ksh and VERBOSE=x.
364 Reported by Paul Jarc.
366 * tests/man2.test: Exercize `make uninstall', to test
369 2002-12-03 Nicolas Joly <njoly@pasteur.fr>
371 * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
372 the man pages being uninstalled, if needed.
374 2002-12-03 Alexandre Duret-Lutz <adl@gnu.org>
376 * automake.in (macro_define): Do not strip escaped new lines
377 in Automake's +='ed variables. We don't know whether it will
378 be pretty printed or not at this point.
379 (variable_pretty_output): Do this here.
380 * tests/pluseq10.test: New file.
381 * tests/Makefile.am (TESTS): Add pluseq10.test.
382 Reported by Ralf Corsepius.
384 2002-12-02 Charles Wilson <cwilson@ece.gatech.edu>
386 * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
387 Append $(EXEEXT) again.
389 2002-12-02 Alexandre Duret-Lutz <adl@gnu.org>
391 * automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
394 * automake.texi (Options): Programs listed in
395 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
396 * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
398 Reported by Charles Wilson.
400 2002-12-01 Alexandre Duret-Lutz <adl@gnu.org>
402 * configure.in, NEWS: Bump version to 1.7.1c.
404 * configure.in, NEWS: Bump version to 1.7.1b.
406 * automake.in (lang_c_finish): Do not fill de_ansi_files with
407 subdirectory informations for %libsources files. A LIBOBJS source
408 is always in the current directory. This reverts part of a change
410 * tests/ansi10.test: New file.
411 * tests/Makefile.am (TESTS): Add ansi10.test.
413 * automake.in (do_check_merge_target): Add missing space.
415 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
418 * configure.in: Do not use missing while checking for Autoconf's
419 version, otherwise we won't notice that Autoconf isn't installed.
420 Augment the error message with a few questions to help users.
422 2002-11-30 Alexandre Duret-Lutz <adl@gnu.org>
424 * tests/gnits2.test, tests/gnits3.test: Move the greps inside the
425 Makefile, so we can honor $(EXEEXT). Otherwise these tests
427 Reported by Charles Wilson.
429 * NEWS: Summarize recent fixes.
431 For PR automake/375 (Debian Bug #168671):
432 * automake.in (scan_texinfo_file): Erase all known index files, no
433 matter whether they are used at the top-level or not, because we
434 can never know if they are used in included files. The remaining
435 macros we recognize at the top-level of a Texi document are
436 @defindex, @defcodeindex, @synindex, and @syncodeindex.
437 * tests/texinfo18.test: New file.
438 * tests/Makefile.am (TESTS): Add texinfo18.test.
439 Reported by Simon Richter.
441 * automake.in (scan_texinfo_file): Honor only the first @setfilename.
442 * tests/texinfo17.test: New file.
443 * tests/Makefile.am (TESTS): Add texinfo17.test.
444 Reported by Karl Berry.
447 * automake.in (require_file_internal): Don't complain a file is "not
448 found" when it is a target. Make sure "not found" files are otherwise
449 reported as error (they were reported as 'note').
450 * tests/distcommon3.test: Augment to test the above.
451 * tests/libobj12b.test: Touch ltmain.sh.
452 * tests/required2.test: Make sure Automake fails because ltmain.sh
454 Reported by Ronald Landheer.
456 * tests/texinfo3.test: Make sure we don't output single suffix
457 inference rules when building `.info'-less Info files (this
458 confuses Solaris make). Run distcheck to make sure the rules
460 * automake.in (output_texinfo_build_rules): Define GENERIC_INFO
462 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%,
463 %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
465 2002-11-29 Jim Meyering <jim@meyering.net>
467 * automake.texi: Fix some typos and a grammar nit.
469 * lib/install-sh: Put `$0:' at the beginning of each diagnostic,
472 2002-11-29 Alexandre Duret-Lutz <adl@gnu.org>
475 * automake.in (do_check_merge_target): Make `check' dependent on
476 $(BUILT_SOURCES) if the variable is defined. Run `check-am' or
477 `check-recursive' in a submake in this case.
478 * tests/check2.test, tests/check3.test: New files.
479 * tests/check.test: Make sure `check' depends on `check-am'.
480 * tests/Makefile.am (TESTS): Add check2.test and check3.test.
482 For PR automake/371 and PR automake/372:
483 * automake.in (rule_define): Honor inference rules with multiple
484 targets, and warn when they are used.
485 * tests/suffix11.test: New file.
486 * tests/Makefile.am (TESTS): Add suffix11.test.
487 Reported by Duncan Gibson.
489 2002-11-28 Alexandre Duret-Lutz <adl@gnu.org>
492 * automake.in (handle_languages): Don't prepend $U to $myext
493 since handle_single_transform_list now appends it to $obj.
494 Process the rule twice to handle deansified files in subdirectories.
495 Mark _.c files in subdirectories for cleaning.
496 (handle_single_transform_list): Append $U to $obj_sans_ext if
497 needed: before this dependencies were output foo.Po instead
498 of foo$U.Po. Don't output explicit dependencies for renamed
499 objects or sources in sub-directories: we already output
500 a full compile rule for them.
501 (lang_c_finish): Don't always use the full filename in the
502 .c -> _.c rule. This reverts part of my change of 2002-11-21.
503 * tests/ansi6.test, tests/ansi7.test: Make sure deansified
504 files are created in the right directory, and cleaned.
505 Reported by Kevin Ryde.
507 2002-11-21 Alexandre Duret-Lutz <adl@gnu.org>
509 * tests/texinfo13.test: Require texi2dvi-o.
510 * tests/defs.in: Handle required=texi2dvi-o.
512 * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
514 * automake.in (handle_single_transform_list): Don't strip the
515 directory from $full_ansi. This reverts my patch of 2002-10-16.
516 (lang_c_finish): Use the full filename, including the directory,
517 in the .c -> _.c rule. These two files must reside in the same
519 * tests/ansi6.test: Also try to compile without ansi2knr.
520 Reported by Andreas Schwab
522 2002-11-14 Eric Blake <ebb9@email.byu.edu>
524 * lib/am/depend2.am: Add missing fi in c.obj rules.
526 2002-11-13 Alexandre Duret-Lutz <adl@gnu.org>
528 * automake.texi (Conditional Sources): Fix the `+=' example.
529 Reported by Mike Castle.
531 2002-11-12 Jim Meyering <jim@meyering.net>
533 Make install-sh work even when names contain spaces or
534 certain (but not all) shell metachars.
536 * lib/install-sh: Remove lots of unnecessary quoting.
537 Add double quotes where necessary.
538 Write diagnostics to stderr, not stdout.
539 Normalize spacing in diagnostics: use one space (not two,
540 and not a TAB) after the leading `install:'.
541 Remove trailing white space.
542 Remove unnecessary curly braces.
543 If removing the destination fails, also try to move it aside.
544 Use `trap' more portably.
545 * tests/installsh2.test: New file, to test for the above fix.
546 * tests/Makefile.am (TESTS): Add installsh2.test.
548 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
550 * automake.in (switch_warning): Subject Perl warnings to -Werror.
552 * automake.texi (Extending): Complete unterminated sentence.
553 Reported by Mike Castle.
555 2002-10-31 Alexandre Duret-Lutz <adl@gnu.org>
557 * automake.texi (Dist): Fix the distcleancheck_listfiles example.
558 Reported by Karl Berry.
560 2002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
562 * tests/defs.in: Add explicit stanza for python -V.
564 2002-10-16 Alexandre Duret-Lutz <adl@gnu.org>
566 * configure.in: Bump version to 1.7.1a.
568 * NEWS, configure.in: Version 1.7.1.
570 * automake.in (handle_single_transform_list): Strip directory name
571 from $full_ansi if subdir-objects is not set.
573 * lib/texinfo.tex: New version from Texinfo 4.2b.
575 2002-10-15 Alexandre Duret-Lutz <adl@gnu.org>
577 * automake.in (handle_single_transform_list) <full_ansi>: New variable.
578 Use this to record correct dependencies about deansifiable files which
579 are using per-program flags or are in a subdirectory.
580 * tests/ansi9.test: New file.
581 * tests/Makefile.am (TESTS): Add ansi9.test.
582 Reported by Paul D. Smith
584 2002-10-12 Alexandre Duret-Lutz <adl@gnu.org>
586 * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
587 quoted, accept any character but `]'. This makes it possible
588 to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
589 (scan_m4_files): Quote $key in the regex. Don't define $expr, it's
591 (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
593 * tests/aclocal2.test: New file.
594 * tests/Makefile.am (TESTS): Add aclocal2.test.
595 Reported by Tamara L. Dahlgren and Tom Epperly.
597 2002-10-11 Alexandre Duret-Lutz <adl@gnu.org>
599 * NEWS: Summarize recent bug fixes.
601 For Debian Bug#153697:
602 * lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
604 Suggested by Andrew Suffield.
606 2002-10-10 Alexandre Duret-Lutz <adl@gnu.org>
609 * lib/am/python.am: Lookup python files in build directory or
611 From Mathias Doreille.
612 * tests/python3.test: New file.
613 * tests/Makefile.am (TESTS): Add python3.test.
614 * tests/defs: Handle `required=python'.
617 * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
619 Suggested by Thien-Thi Nguyen.
620 * tests/vtexi.test: Adjust.
622 2002-10-08 Paul Eggert <eggert@twinsun.com>
624 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
625 %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
626 input", not "makeinfo input -o output", as the latter fails if
628 * lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
629 * m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
631 2002-10-08 Alexandre Duret-Lutz <adl@gnu.org>
633 * automake.in (file_contents_internal): Fix the relationship
634 regex flags, don't use `m'.
636 For Debian Bug#162583:
637 * automake.in (file_contents_internal): Simplify regex to
638 separate relationship from actions in rules.
639 Reported by Sam Hocevar.
641 2002-10-01 Alexandre Duret-Lutz <adl@gnu.org>
643 * automake.in (handle_source_transform): If foo_SOURCES is defined
644 conditionally, create and use am__foo_SOURCES_DIST for distribution.
645 * tests/condd.test: Extend to check distributed files.
646 * tests/substref.test: Make sure we don't use such a variable when
648 Reported by Marcus Brinkmann.
650 2002-09-30 Ezra Peisach <epeisach@MED-XTAL.BU.EDU>
652 * tests/defs.in: Run $MAKE --version -v.
653 * tests/dollar.test: Abort on ./defs failure.
654 * tests/lex5.test: Require GNUmake, not make.
656 2002-09-30 Alexandre Duret-Lutz <duret_g@epita.fr>
658 * automake.in (require_variables): The fix introduced in 2002-09-19
659 is imcomplete. Rewrite the conditional variable definition check
660 using &variable_not_always_defined_in_cond.
661 * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
662 * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
664 Reported by Juergen Keil.
666 * lib/am/distdir.am (distdir): Create $dc_destdir right before
668 Reported by Akim Demaille.
670 Fix for PR automake/366:
671 * automake.in (handle_dist): Strip $(srcdir) and replace
672 $(top_srcdir) when computing DIST_COMMON directories.
673 * tests/include2.test: Use an obsolute $(srcdir), and check
674 for spurious directories in $(distdir)/sub.
675 * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
676 Reported by Kevin Ryde.
678 2002-09-29 Alexandre Duret-Lutz <duret_g@epita.fr>
680 * tests/exeext3.test: New file.
681 * tests/Makefile.am (TESTS): Add exeext3.test.
682 * automake.in (%target_name): New hash.
683 (initialize_per_input): Reset %target_name.
684 (rule_define): Fill %target_name, and use it to detect targets
685 which have been registered with key X but really are X$(EXEEXT).
687 2002-09-27 Alexandre Duret-Lutz <duret_g@epita.fr>
689 * lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
690 Suggested by Bruno Haible.
692 * Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
693 Autoconf. Automake now has the master copy of install-sh and
696 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
698 * configure.in: Bump version to 1.7.0a.
700 * NEWS, configure.ac: Version 1.7.
702 2002-09-25 Art Haas <ahaas@neosoft.com>
704 * automake.texi (Optional, Options, Distributing, ANSI,
705 API versioning): Spelling fixes and Texi tweaks.
707 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
709 * configure.in: Check for 'tex'.
710 * tests/defs.in: Handle required=tex using configure's result.
711 Reported by Patrick Welche.
713 * Makefile.am (mdate-sh): Remove.
715 Suggested by Akim Demaille.
717 2002-09-25 Tom Tromey <tromey@redhat.com>
719 * NEWS: Mention distuninstallcheck.
720 * automake.texi (Dist): Document new macro and target.
721 * lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
722 (distuninstallcheck): New target.
723 (distcheck): Use distuninstallcheck.
725 2002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
727 * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
728 AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
730 * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
733 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
735 * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
736 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
737 %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
739 2002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
741 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
744 2002-09-24 Alexandre Duret-Lutz <duret_g@epita.fr>
746 * automake.in (handle_single_transform_list): Revert the change
747 from 2002-09-22. We need to erase .libs/ in the object directory
748 in addition to the library directory.
750 * tests/target-cflags.test: Build in `build/', not `obj/' because
751 `obj/' is special to BSD make.
753 * automake.in (read_am_file): Prefix included files with
754 $(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes
755 subdircond2.test, and subdircond3.test on OSF1.
757 * tests/defs.in (SHELL): Set it.
759 * lib/am/distdir.am (distcleancheck): Mention `in build directory'
762 2002-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
765 * automake.in (handle_ltlibraries): Allow a library to be installed
766 many times in the same directory.
767 * tests/libtool5.test, tests/libtool6.test: New files.
768 * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
770 2002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr>
772 * automake.in (handle_ltlibraries): Fill $libtool_clean_directories
773 here, with directories where .la files are built...
774 (handle_single_transform_list): ... not here with directories
775 where .lo files are built.
776 * tests/libtool3.test: Build a library in a subdirectory to
778 Reported by Peter Gavin.
780 * tests/cond5.test: Give more time to automake.
781 Reported by Art Haas.
783 * configure.in: Really check for Autoconf 2.54.
785 * automake.texi (Yacc and Lex): ylwrap is used only when there is
786 more than one yacc or lex source file in a directory.
788 * automake.in (macro_define): Update a variable's location each
789 time its owner is updated.
790 * tests/gnuwarn.test: Append to CFLAGS to check for this.
791 Reported by Harlan Stenn.
793 2002-09-20 Alexandre Duret-Lutz <duret_g@epita.fr>
795 * configure.in: Bump version to 1.6g.
797 * configure.in, NEWS: Bump version to 1.6f.
799 * Makefile.am (INSTALL): New rules.
801 2002-09-20 Mirko Streckenbach <strecken@infosun.fmi.uni-passau.de>
804 * m4/cond.m4: Fix AC_MSG_ERROR quoting.
806 2002-09-19 Pavel Roskin <proski@gnu.org>
808 * tests/warnopts.test: Fix random failures by removing Autoconf
809 cache directory when configure.in changes. Use the code and the
810 comment from tests/asm.test.
812 2002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr>
814 * automake.texi (Program and Library Variables) <maude_LIBADD>:
815 Don't mention _LDADD for Libtool libraries.
816 Reported by Schleicher Ralph.
819 * tests/suffix8.test: More explicit dependencies.
820 Reported by Paul Eggert.
822 * automake.in (rule_define): Don't diagnose duplicate user rules.
823 * tests/phony.test, tests/percent2.test: New files.
824 * tests/Makefile.am (TESTS): Add them.
825 Reported by Ralf Corsepius.
827 * automake.in (require_variables): Search variable definitions
828 in any condition implied by $cond.
829 * tests/cond25.test: New file.
830 * tests/Makefile.am (TESTS): Add cond25.test.
831 Reported by Pavel Roskin.
833 * tests/subobj9.test: Skip this test on configure errors.
834 Reported by Paul Eggert.
836 2002-09-18 Alexandre Duret-Lutz <duret_g@epita.fr>
838 * configure.in: Bump version to 1.6e.
840 * configure.in, NEWS: Bump version to 1.6d.
841 * tests/libobj12.test, tests/libobj12b.test: Include ./defs,
843 * tests/suffix8.test: Typo.
845 * automake.in (check_ambiguous_conditional, rule_define): Issue
846 syntactic warnings, not errors.
847 (macro_define): Don't adjust the owner of a variable which is being
848 appended in a condition different from its definition.
849 (variable_output, variable_pretty_output): Make sure the
850 requested condition exists.
852 For PR automake/353: fill %var_location, %var_comment,
853 %var_type, %var_owner for each condition.
854 * automake.in (msg_cond_var): New function.
856 (generate_makefile, process_option_list, handle_languages,
857 handle_lib_objects_cond, handle_compile, handle_libtool,
858 handle_ltlibraries, handle_texinfo_helper, handle_tests,
859 handle_emacs_lisp, handle_python, macro_define, macro_delete,
860 macro_dump, variable_assert, variable_output,
861 variable_pretty_output, read_am_file, read_main_am_file,
862 file_contents_internal, am_primary_prefixes,
863 require_variables_for_macro): Adjust accesses to %var_location,
864 %var_comment, %var_type, %var_owner.
865 (append_comments, require_file_with_macro,
866 require_conf_file_with_macro, require_variables): Add the
868 * tests/comment7.test: New file.
869 * tests/Makefile.am (TESTS): Add comment7.test.
871 2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
874 * automake.in (check_ambiguous_conditional): Display locations for
875 the two definitions of the ambiguous variable. Show the macro_dump
876 output in --verbose only. Accept $where as a third argument,
877 (macro_define): Pass $where.
879 * automake.in (handle_programs): Ooops. Really add LDADD
880 objects into _DEPENDENCIES.
881 * tests/libobj12.test: Check for it.
883 2002-09-17 Assar Westerlund <assar@kth.se>
884 Alexandre Duret-Lutz <duret_g@epita.fr>
886 * automake.in (handle_programs, handle_libraries,
887 handle_ltlibraries): Maintain $seen_libobjs on a
888 per-program/per-library basis, instead of globally to each
890 * tests/libobj12.test, tests/libobj12b.test: New files.
891 * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
893 2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
895 * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
898 * lib/config.guess, lib/config.sub, lib/INSTALL,
899 lib/Automate/Struct.pm: New upstream version.
900 * Makefile.am (mdate-sh): New rule.
901 (FETCHFILES): Add Automate/Struct.pm.
902 (fetch): Get Automate/Struct.pm.
903 (AUTOMAKESOURCES, CLEANFILES): New macros.
904 (EXTRA_DIST, TAGS_FILES): Use them.
905 * install-sh, mkinstalldirs, missing: Delete.
907 * automake.in: Rename the 'unused' channel to 'syntax'.
908 (variable_defined): Issue a warning instead of an error
909 for variable-is-a-target conditions.
910 * automake.texi (Invoking Automake): Rename the 'unused'
912 * tests/warnopts.test: Likewise.
914 * tests/suffix8.test: Add explicit dependencies.
915 * tests/texinfo13.test, tests/texinfo16.test: Require tex.
917 2002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr>
919 * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
921 * automake.in (variable_defined): Thinko in $cond handling.
923 2002-09-15 Paul Eggert <eggert@twinsun.com>
925 * lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
928 * Makefile.am (maintainer-check): Don't use egrep.
930 2002-09-15 Tom Tromey <tromey@redhat.com>
932 * tests/subdircond3.test: Pass flags to make in environment.
933 * tests/subdircond2.test: Pass flags to make in environment.
934 * Makefile.am (maintainer-check): Add a new check for @...@
935 substitutions. Updated correct number of diffs between source and
938 * configure.in (aclocal, automake): Don't create.
939 * automake.in ($prefix): Don't define.
940 * aclocal.in ($prefix): Don't define.
941 * Makefile.am (do_subst): New macro.
942 (automake): New target.
945 2002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
947 * aclocal.in, automake.in: Requote each "@var@" as '@var@'.
949 2002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr>
951 * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
954 2002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr>
956 * automake.texi (Building ctags and etags): Rename and adjust as ...
957 (Building true and false): ... this.
958 * tests/targetclash.test: New file.
959 * tests/specflags7.test, tests/specflags8.test: Adjust to build
961 * tests/Makefile.am (TESTS): Add targetclash.test.
963 Diagnose target clashes, for PR automake/344:
964 * automake.in (%targets): Record conditionals for definitions.
965 (%target_conditional): Remove (obsoleted by %targets).
966 (%target_source, %target_owner): New hashes.
967 (TARGET_AUTOMAKE, TARGET_USER): New constants.
968 (initialize_per_input): Adjust to reset new variables.
969 (err_cond_target, msg_cond_target): New functions.
970 (msg_target): Adjust usage of %targets.
971 (conditional_ambiguous_p): Take a list of conditional to check
972 as a third parameter, so this can be used for other things that
974 (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
975 (variable_defined): Restrict the target-with-same-name check
977 (rule_define): Add the $SOURCE argument, and take $OWNER instead
978 of $IS_AM. Diagnose target clashes (including ambugious
979 conditionals). Return a list of conditions where the rule should
980 be defined instead of a boolean. Fill %target_source and
982 (target_define): Use `exists', not `defined'.
983 (read_am_file): Adjust the call to rule_define.
984 (file_contents_internal): Add more FIXMEs. Simplify my moving
985 and documenting the "define rules in undefined conditions" to
987 * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
990 2002-09-12 Akim Demaille <akim@epita.fr>
992 * aclocal.in: Prototype all the functions.
993 Add `(C)' to Copyrights.
994 (&add_file): Strip the comments before checking for `AC_REQUIRE'.
995 Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
997 2002-09-11 Akim Demaille <akim@epita.fr>
999 * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
1000 it was already supported when --pdf support was added.
1002 2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1004 * lib/Automake/Channels.pm (_default_options): Add `backtrace'.
1005 (msg): Die with backtrace if requested.
1006 * automake.in: Enable `backtrace' on the `automake' channel.
1008 * automake.in (process_option_list): Mention `Automake' in
1009 version-mismatch error.
1010 Suggested by Akim Demaille.
1012 * tests/Makefile.am ($(TESTS)): Replace by ...
1013 (check_SCRIPTS): ... this.
1014 Suggested by Raja R Harinath.
1016 2002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1018 * tests/Makefile.am ($(TESTS)): New, depends on defs.
1019 (BUILT_SOURCES): Remove (useless because of PR/359).
1021 * m4/init.m4: Execute cygpath in a sub-shell.
1023 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1025 * automake.in (macro_define): Warn about `:=' assignments.
1026 * tests/colneq.test: Check for this warning.
1028 * automake.texi (Include): Fragments are always distributed.
1031 2002-09-08 Andreas Buening <andreas.buening@nexgo.de>
1033 Fix for automake/334:
1034 * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
1035 * m4/init.m4: New make variable CYGPATH_W.
1037 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1039 * configure.in: Check for EGREP and FGREP. Create tests/defs.
1040 * tests/defs: Rename as ...
1041 * tests/defs.in: ... this. Add copyright notice. Use configure's
1042 values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
1043 * tests/Makefile.am (EXTRA_DIST): Remove defs.
1044 (BUILT_SOURCES): New.
1045 * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
1046 tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
1047 tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1048 tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
1049 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
1050 tests/all.test, tests/alpha.test, tests/amassign.test,
1051 tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
1052 tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
1053 tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
1054 tests/ar.test, tests/asm.test, tests/autoheader.test,
1055 tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
1056 tests/backsl.test, tests/backsl2.test, tests/badline.test,
1057 tests/badopt.test, tests/badprog.test, tests/block.test,
1058 tests/canon.test, tests/canon2.test, tests/canon3.test,
1059 tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
1060 tests/check.test, tests/checkall.test, tests/clean.test,
1061 tests/colneq.test, tests/colneq2.test, tests/colon.test,
1062 tests/colon2.test, tests/colon3.test, tests/colon4.test,
1063 tests/colon5.test, tests/colon6.test, tests/colon7.test,
1064 tests/comment.test, tests/comment2.test, tests/comment3.test,
1065 tests/comment4.test, tests/comment5.test, tests/comment6.test,
1066 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
1067 tests/cond11.test, tests/cond12.test, tests/cond13.test,
1068 tests/cond14.test, tests/cond15.test, tests/cond16.test,
1069 tests/cond17.test, tests/cond18.test, tests/cond19.test,
1070 tests/cond2.test, tests/cond20.test, tests/cond21.test,
1071 tests/cond22.test, tests/cond23.test, tests/cond24.test,
1072 tests/cond3.test, tests/cond4.test, tests/cond5.test,
1073 tests/cond6.test, tests/cond7.test, tests/cond8.test,
1074 tests/cond9.test, tests/condd.test, tests/condincl.test,
1075 tests/condincl2.test, tests/condlib.test, tests/condman.test,
1076 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1077 tests/confdist.test, tests/confh.test, tests/confh4.test,
1078 tests/config.test, tests/confincl.test, tests/confsub.test,
1079 tests/confvar.test, tests/confvar2.test, tests/copy.test,
1080 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
1081 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
1082 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
1083 tests/cygwin32.test, tests/dash.test, tests/defun.test,
1084 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1085 tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
1086 tests/depcomp2.test, tests/depdist.test, tests/depend.test,
1087 tests/depend2.test, tests/depend3.test, tests/depend4.test,
1088 tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
1089 tests/discover.test, tests/distcommon.test,
1090 tests/distcommon2.test, tests/distcommon3.test,
1091 tests/distdir.test, tests/distname.test, tests/dollar.test,
1092 tests/double.test, tests/dup2.test, tests/dup3.test,
1093 tests/else.test, tests/empty.test, tests/empty2.test,
1094 tests/empty3.test, tests/empty4.test, tests/error.test,
1095 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1096 tests/exeext2.test, tests/exsource.test, tests/ext.test,
1097 tests/ext2.test, tests/extra.test, tests/extra2.test,
1098 tests/extra3.test, tests/extra4.test, tests/extra5.test,
1099 tests/extra6.test, tests/extra7.test, tests/flibs.test,
1100 tests/fnoc.test, tests/fo.test, tests/fonly.test,
1101 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1102 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1103 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1104 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1105 tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
1106 tests/implicit.test, tests/include.test, tests/include2.test,
1107 tests/info.test, tests/insh.test, tests/insh2.test,
1108 tests/install.test, tests/install2.test, tests/installdir.test,
1109 tests/installsh.test, tests/instdata.test, tests/instdata2.test,
1110 tests/instexec.test, tests/insthook.test, tests/instman.test,
1111 tests/instman2.test, tests/interp.test, tests/interp2.test,
1112 tests/java.test, tests/java2.test, tests/javaprim.test,
1113 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1114 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1115 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1116 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1117 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1118 tests/library.test, tests/library2.test, tests/libtool.test,
1119 tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
1120 tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
1121 tests/link_f_c_cxx.test, tests/link_f_cxx.test,
1122 tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
1123 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
1124 tests/maintclean.test, tests/make.test, tests/makevars.test,
1125 tests/man.test, tests/man2.test, tests/mclean.test,
1126 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1127 tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
1128 tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
1129 tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
1130 tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
1131 tests/nolink.test, tests/nostdinc.test, tests/number.test,
1132 tests/obsolete.test, tests/order.test, tests/outdir.test,
1133 tests/output.test, tests/output2.test, tests/output3.test,
1134 tests/output4.test, tests/output5.test, tests/package.test,
1135 tests/parse.test, tests/percent.test, tests/pluseq.test,
1136 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1137 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1138 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1139 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1140 tests/pr211.test, tests/pr220.test, tests/pr224.test,
1141 tests/pr229.test, tests/pr243.test, tests/pr266.test,
1142 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1143 tests/pr300-lib.test, tests/pr300-ltlib.test,
1144 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
1145 tests/pr87.test, tests/pr9.test, tests/prefix.test,
1146 tests/primary.test, tests/primary2.test, tests/proginst.test,
1147 tests/python.test, tests/python2.test, tests/ranlib.test,
1148 tests/recurs.test, tests/recurs2.test, tests/remake.test,
1149 tests/remake2.test, tests/remake3.test, tests/req.test,
1150 tests/required.test, tests/required2.test, tests/rulepat.test,
1151 tests/scripts.test, tests/seenc.test, tests/sinclude.test,
1152 tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
1153 tests/specflags.test, tests/specflags2.test,
1154 tests/specflags3.test, tests/specflags6.test,
1155 tests/specflags7.test, tests/specflags8.test,
1156 tests/specflags9.test, tests/spell.test, tests/spell2.test,
1157 tests/spell3.test, tests/spelling.test, tests/stamph.test,
1158 tests/stamph2.test, tests/stdlib.test, tests/strip.test,
1159 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1160 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1161 tests/subdir7.test, tests/subdirbuiltsources.test,
1162 tests/subdircond.test, tests/subdircond2.test,
1163 tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
1164 tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
1165 tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
1166 tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
1167 tests/subst.test, tests/substref.test, tests/substtarg.test,
1168 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
1169 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1170 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1171 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
1172 tests/symlink3.test, tests/syntax.test, tests/tags.test,
1173 tests/tagsub.test, tests/target-cflags.test, tests/target.test,
1174 tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
1175 tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
1176 tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
1177 tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
1178 tests/transform.test, tests/unused.test, tests/vars.test,
1179 tests/vars2.test, tests/vars3.test, tests/vartar.test,
1180 tests/version.test, tests/version2.test, tests/version3.test,
1181 tests/version4.test, tests/version5.test, tests/version6.test,
1182 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
1183 tests/warnopts.test, tests/werror.test, tests/whoami.test,
1184 tests/xsource.test, tests/yacc.test, tests/yacc2.test,
1185 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
1186 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
1187 tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
1188 Source ./defs instead of $srcdir/defs.
1190 2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1192 * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
1193 distributed files, to workaround Sun make VPATH munging.
1194 This fixes subdircond2.test, subdircond3.test, and subpkg.test
1196 * tests/extra6.test, tests/lex3.test, tests/pr87.test,
1197 tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
1198 tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
1199 Don't require GNU make.
1201 * lib/am/distdir.am (distcheck): Add missing `;'.
1203 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
1204 Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
1205 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
1207 2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1210 * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
1211 Don't use `-o' unless necessary.
1213 2002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1215 For PR automake/343:
1216 * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
1218 (output_texinfo_build_rules): Define %DIRSTAMP% when processing
1219 texibuild.am. Return $dirstamp and a list of files to clean.
1220 (handle_texinfo_helper): Process texi-vers.am after the call to
1221 output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
1222 * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
1223 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
1224 (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
1225 * tests/texinfo13.test: New file.
1226 * tests/Makefile.am (TESTS): Add texinfo13.test.
1227 * lib/am/texinfos.am (install-info-am, dist-info): Looks for
1228 info files in build or source directory.
1229 This completes the change from 2002-07-30 (for PR automake/168).
1231 2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1233 * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
1234 (maintainer_clean_files): Replace by ...
1235 (clean_files): ... this new variable.
1236 (initialize_per_input, lang_yacc_target_hook,
1237 lang_lex_target_hook): Use %clean_files instead of
1238 @maintainer_clean_files.
1239 (handle_clean): Rewrite, using %clean_files.
1240 (require_build_directory_maybe): Use %clean_files instead
1241 of %compile_clean_files. This allows using
1242 &require_build_directory_maybe for non-compiling targets.
1243 * lib/am/clean.am (mostlyclean-generic, clean-generic,
1244 distclean-generic, maintainer-clean-generic): Rewrite using
1245 %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
1246 %MAINTAINER_CLEAN_RMS%.
1248 For Debian Bug#157778:
1249 * m4/python.m4: Fix output of `python' in checking messages
1250 when no version of Python is required.
1252 2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
1254 * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
1255 was generated by gcc -MF.
1257 2002-08-23 Pavel Roskin <proski@gnu.org>
1259 * lib/am/progs.am: Exit in case of install failure, otherwise
1260 it is ignored on Cygwin because of the surrounding "for" loop.
1262 2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1264 * automake.texi (Top level): More words about conditional
1265 subdirectories. Don't mention AC_PROG_MAKE_SET.
1266 * tests/subdircond2.test, tests/subdircond3.test: New files.
1267 * tests/Makefile.am (TESTS): Add them.
1269 For PR automake/347:
1270 * automake.in (MACRO_PATTERN): Allow `.' in variable names.
1271 (scan_variable_expansions, check_variable_expansions): New functions.
1272 (macro_define): Call check_variable_expansions.
1273 (read_am_file): Likewise, when outputing rules.
1274 (variable_conditions_recursive_sub): Simplify using
1275 scan_variable_expansions.
1276 * tests/vars3.test: New file.
1277 * tests/Makefile.am (TESTS): Add vars3.test.
1278 * tests/colneq.test: Use -Wno-portability.
1280 * lib/Automake/Channels.pm (buffering, backlog): New variables.
1281 (buffer_messages, flush_messages): New functions.
1282 (@EXPORT): Add buffer_messages and flush_messages.
1283 * automake.in (generate_makefile): Call buffer_messages and
1284 flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
1287 * automake.in (read_am_file): Fix computation of path to
1288 included file when $(top_srcdir) is not used.
1289 * tests/include2.test: Augment.
1291 2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1293 * automake.in (set_strictness): Never enable 'portability'
1295 (usage): Adjust `-Wportability' doc.
1296 * automake.texi (Invoking Automake): Likewise.
1297 Suggested by Ralf Corsepius.
1299 2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1301 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
1302 so_location files in current directory.
1304 Fix for PR automake/346:
1305 * automake.texi (Optional): Supress the documentation for
1306 AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
1307 AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
1308 AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
1309 AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
1310 AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
1311 documentation of AC_LIBSOURCE and AC_SUBST to explain this
1312 applies to any macro that calls them.
1314 2002-08-19 Tom Tromey <tromey@redhat.com>
1316 For PR automake/348:
1317 * tests/Makefile.am (TESTS): Added include2.test.
1318 * tests/include2.test: New file.
1319 * tests/include.test: Check to make sure include file is
1321 * automake.in (read_am_file): Distribute included files.
1323 2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1325 Fix for PR automake/345:
1326 * tests/defs: Add support for required=non-root, stolen
1327 from fileutils' test suite.
1328 * tests/destdir.test: Use required=non-root.
1330 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
1332 2002-08-17 Tom Tromey <tromey@redhat.com>
1334 For PR automake/347:
1335 * automake.in (rule_define): Given portability warning if "%" seen
1337 (TARGET_PATTERN): Added `%'.
1338 * tests/Makefile.am (TESTS): Added percent.test.
1339 * tests/percent.test: New file.
1341 2002-08-15 Art Haas <ahaas@neosoft.com>
1343 * lib/am/depend2.am: Use correct name for dependency file in
1344 libtool fastdep case.
1346 2002-08-14 Art Haas <ahaas@neosoft.com>
1348 * lib/am/depend2.am: Added missing `;'.
1350 2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1352 * automake.texi (Python): Fix wording.
1354 * tests/ext2.test: New file. This bug is present in Automake 1.6.3
1355 and was fixed by the change on variable_conditions_permutations
1356 and invert_conditions on 2002-05-16.
1357 * tests/Makefile.am (TESTS): Add ext2.test.
1358 Reported by Ladislav Strojil.
1360 2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1362 * aclocal.in (parse_arguments): Add `dirlist' paths add the
1363 very end of the search path, after aclocal-APIVERSION/ and
1365 * automake.texi (Macro search path): Adjust to reflect the
1367 * tests/dirlist.test: Check for this.
1369 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
1371 * aclocal.in (parse_arguments): Add support for extending
1372 default macro search path, using a `dirlist' file within
1373 the aclocal directory.
1374 * automake.texi (Invoking aclocal): Move option descriptions into ...
1375 (aclocal options): ... this new node.
1376 (Macro search path): New node.
1377 * tests/dirlist.test: New file.
1378 * tests/Makefile.am (TESTS): Add dirlist.test.
1379 * m4/dirlist: New file.
1380 * m4/Makefile.am (EXTRA_DIST): Add dirlist.
1381 * tests/defs: Honor any installed dirlist when searching for
1382 libtool.m4 and gettext.m4.
1384 2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1386 Build info files in builddir instead of srcdir (for PR automake/168),
1387 and prepare support for info files in subdirecties.
1388 * automake.in (output_texinfo_build_rules): New function.
1389 (handle_texinfo_helper): Use output_texinfo_build_rules, and
1390 prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
1391 * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
1392 current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
1394 * lib/am/texibuild.am: Rewrite to output files in the current
1395 directory, not $(srcdir). Also, support both generic and
1396 non-generic output. Pass `-o $@' to makeinfo, texinfo, and
1397 texi2dvi (for PR automake/339).
1398 * tests/texinfo3.test: Make sure the `.texi:' rule is output.
1399 * tests/texinfo10.test: Use set -e, so the checks are not ignored.
1400 * tests/texinfo16.test: New file.
1401 * tests/Makefile.am (TESTS): Add texinfo16.test.
1403 2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
1405 * aclocal.in (write_aclocal): Don't write the filename ($output_file)
1406 in the aclocal.m4 header.
1408 * configure.in: Require Autoconf 2.53b.
1410 2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1412 * configure.in: Bump version to 1.6c.
1414 * configure.in: Bump version to 1.6b.
1415 * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
1417 * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
1418 since this file is processed by config.status.
1420 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1422 * automake.in (read_am_file): Escaped newlines in comments are not
1423 portable. If a comment line doesn't start with a `#', add it.
1424 * tests/comment6.test: Ensure this is done.
1426 2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1428 Fix failures reported by Patrick Welche on NetBSD.
1429 * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
1430 status of `make -k'.
1431 * tests/obsolete.test: Source obs.1 and obs.2 from current
1434 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
1436 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1439 2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1441 * tests/required2.test: New file.
1442 * tests/Makefile.am (TESTS): Add required2.test.
1443 * automake.in (initialize_per_input): Remove %require_file_found
1444 setting. This reverts my change of 2002-04-19.
1445 (require_file_internal): Use the full name of a file as a
1446 key in %require_file_found, not only the basename.
1447 Reported by Andrew Suffield.
1449 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1451 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
1452 * tests/subdir7.test: New file.
1453 * tests/Makefile.am (TESTS): Add subdir7.test.
1455 * lib/mkinstalldirs: Remove Id keyword.
1457 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
1458 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
1459 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
1460 * automake.texi (Options) <std-options>: Document
1461 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
1462 (Gnits): Reference std-options.
1463 * tests/gnits3.test: New file.
1464 * tests/Makefile.am (TESTS): Add gnits3.test.
1465 Suggested by Jim Meyering.
1467 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1469 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
1470 Replace the sed script by calls to grep, easier to debug.
1471 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
1473 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
1475 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
1476 Always strip the directory part before applying $(transform),
1477 even for nobase_ targets.
1478 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
1480 * tests/nobase.test: Use --program-prefix while testing nobase
1483 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1485 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
1486 * tests/Makefile.am (TESTS): Remove dirname.test.
1488 * m4/init.m4: Require Autoconf 2.53b.
1489 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
1490 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
1491 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
1492 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
1493 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
1494 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
1495 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
1496 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
1498 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
1499 AU_DEFUNed in m4/obsolete.m4.
1500 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
1501 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
1502 and obsolete.m4. Remove termios.m4 and winsz.m4.
1503 * aclocal.in (obsolete, obsolete_rx): Remove.
1504 (scan_configure): Don't grep for obsolete macros.
1505 * tests/defs (AUTOUPDATE): Define.
1506 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
1507 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
1510 Fix for PR automake/338:
1511 * automake.in (seen_gettext_external): New variable.
1512 (handle_gettext): Conditionalize the intl/ check on
1513 $seen_gettext_external. Fix grep usage.
1514 (scan_autoconf_traces): Set $seen_gettext_external if
1515 `external' is passed to AM_GNU_GETTEXT.
1516 * tests/gettext.test, tests/gettext2.test: New files.
1517 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
1519 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1520 Akim Demaille <akim@epita.fr>
1522 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
1523 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
1524 (AM_CONFIG_HEADER): ... this new definition for compatibility.
1525 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
1526 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
1527 * tests/confh5.tests: Delete.
1528 * tests/Makefile.am (TESTS): Remove confh5.tests.
1530 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1532 * automake.in (handle_single_transform_list): Typo.
1534 * lib/Automake/Channels.pm (dup_channel_setup,
1535 drop_channel_setup): New functions.
1536 (@EXPORT): Add them.
1537 * automake.in (generate_makefile): Call dup_channel_setup and
1539 (process_option_list): Recognize --warnings and -W options.
1540 * automake.texi (Options): Document them.
1541 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
1543 * tests/warnopts.test: New file.
1544 * tests/Makefile.am (TESTS): Add warnopts.test.
1546 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1548 * automake.in: Register warning channel `gnu'.
1549 (set_strictness): Turn on `gnu' in --gnu and --gnits.
1550 (usage): Mention the `gnu' category.
1551 (%var_is_am): Replace by ...
1552 (%var_owner): ... this, which uses ...
1553 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
1554 Adjust all uses of %var_is_am.
1555 (handle_languages): Warn about user variables being overriden.
1556 (require_variables): Also check %configure_vars for the existence
1557 of a required variable.
1558 * automake.texi (Invoking Automake): Document -Wgnu.
1559 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
1561 * tests/gnuwarn.test: New file.
1562 * tests/Makefile.am (TESTS): Add gnuwarn.test.
1564 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1566 Fix for PR automake/337:
1567 * automake.in: Redefine the `flags' attribute of each language
1568 as a list. List CPPFLAGS in `flags' when it is used.
1569 (register_language): Set the default value of 'flags'.
1570 (handle_single_transform_list): Adjust to treat `flags' as a list.
1571 (handle_languages): Likewise. Don't bother defining the
1572 configure variable for `c', this is always done since we trace
1574 * automake.texi (etags): Use per-executable _CPPFLAGS.
1575 (Program and Library Variables): Mention maude_CPPFLAGS.
1576 (Program variables): Likewise.
1577 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
1578 * tests/specflags9.test: New file.
1579 * tests/Makefile.am (TESTS): Add specflag9.test.
1581 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1583 * automake.texi: Use `variable' instead of `macro' everywhere it
1584 designates a Makefile variable.
1585 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
1586 `flags', not `macros'. `Macro' means something else in Texinfo.
1587 Also show how to use these flags.
1588 * automake.in (file_contents_internal): s/macro/variable/ in
1591 * automake.in (parse_arguments): Call Getopt twice: once to catch
1592 --help or --verbose, and once to process the other arguments.
1593 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
1594 should always be 0 because of the change to parse_arguments).
1595 * tests/Makefile.am (TESTS): Add getopt.test.
1596 * tests/getopt.test: New file.
1598 2002-07-09 Tom Tromey <tromey@redhat.com>
1600 For PR automake/286:
1601 * automake.texi (Tags): Document ctags.
1602 * automake.in (handle_tags): Handle ctags.
1603 * lib/am/tags.am (CTAGS): New macro.
1604 (CTAGSFLAGS): Likewise.
1605 (ctags): New target.
1606 (distclean-tags): Remove `tags'.
1608 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
1610 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
1611 before passing to cygpath. Partial fix for PR automake/334.
1613 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1615 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
1616 instead of INCLUDES.
1617 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
1619 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1621 * automake.in (usage, version): Honor $exit_code.
1622 (parse_arguments): Use fatal.
1624 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1626 * automake.texi (Invoking Automake): Document WARNINGS.
1627 * automake.in (switch_warning, parse_WARNINGS): New function.
1628 (setup_warnings): Rename to ...
1629 (parse_warnings): ... this. Move most of the code to switch_warning.
1630 Accept a comma separated list of categories.
1631 * tests/vars2.test: Use a comma separated list of warning categories.
1633 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1635 * NEWS (New in 1.6): Mention that libtoolize is no longer run
1638 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1640 Fix for PR automake/291:
1641 * automake.in (macro_define): Catch variable names starting
1643 (handle_installdirs): Rename _am_installdirs to am__installdirs.
1644 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
1645 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
1646 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
1647 lib/am/texinfos.am: Likewise.
1648 * tests/canon5.test: Use -Wno-portability.
1649 * tests/vars2.test: New file.
1650 * tests/Makefile.am (TESTS): Add vars2.test.
1652 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1654 * tests/defs (AUTOMAKE): Add -Wall.
1655 * tests/outdir.test: Use -Wno-obsolete.
1657 2002-07-07 Tom Tromey <tromey@redhat.com>
1659 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
1661 * automake.in (handle_languages): Compute FASTDEP.
1662 * lib/am/depend2.am: Added %FASTDEP% mode.
1664 2002-07-07 Tom Tromey <tromey@redhat.com>
1666 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
1667 now. Fixes PR automake/332.
1669 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1671 * tests/nobase.test (test-install-exec): Move all the `test -f'
1672 tests in the Makefile so we can use $(EXEEXT) on programs.
1673 Reported by Charles Wilson.
1675 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1677 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
1678 * tests/confh5.test: Make sure that Autoconf complains if
1679 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
1682 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1684 * lib/Automake/Channels.pm: New file.
1685 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
1686 * automake.in: Use Automake::Channels and register some channels
1687 for errors and warnings.
1688 ($exit_status): Remove, replaced by Channels::$exit_code.
1689 (%required_variables): Remove, Channels will filter-out duplicates
1691 (initialize_per_input): Call reset_local_duplicates.
1692 (prog_error): Adjust to all `msg'.
1693 (setup_warnings): New functions.
1694 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
1695 call setup_warnings.
1696 (usage): Update usage text accordingly.
1697 (macro_dump, macros_dump): Return the dump as a string instead
1699 (am_install_var) <$warned_about_extra>: Remove, Channels will
1700 filter-out duplicates itself.
1701 (set_strictness): Turn on/off channels for each stricness.
1702 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
1703 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
1704 New functions, to replace ...
1705 (print_error, am_error, file_error, macro_error, target_error,
1706 conf_error, file_warning): ... these functions. Remove them.
1707 Update all the code to use the new functions. The rough
1711 macro_error -> err_var
1712 target_error -> err_target
1713 conf_error -> err_ac
1715 macro_error if defined -> reject_var
1716 target_error if defined -> reject_target
1718 * automake.texi (Invoking Automake): Document -W and --warnings.
1719 Remove the documentation for --Werror and --Wno-error.
1720 * tests/defs: Use -Werror, no --Werror.
1721 * tests/exeext2.test: Test that the error message
1722 is enabled with -Wobsolete.
1723 * tests/output5.test: Rewrite to test that Automake complains
1724 when there is no Makefile specified. (The original test was
1725 succeeding for the wrong reason.)
1726 * tests/seenc.test: Don't use --Wno-error, there is no reason now
1727 that -Werror doesn't stop after the first error.
1728 * tests/subobj.test: Use --add-missing, and check that
1729 `compile' is installed and that Automake says so.
1730 * tests/subobj2.test: Don't create `compile'.
1732 2002-07-05 Tom Tromey <tromey@redhat.com>
1734 * automake.texi (Java Support): Mention --main and _LDFLAGS.
1735 For PR automake/324.
1737 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1739 * tests/asm.test: Erase Autom4te's cache between each test.
1741 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
1743 * automake.in (am_macro_for_var): Add LIBTOOL.
1744 (ac_macro_for_var): Add RANLIB.
1745 (seen_libtool): Remove.
1746 (handle_libtool, lang_c_finish, define_compiler_variable,
1747 make_paragraphs): Use
1748 variable_defined ('LIBTOOL') instead of $seen_libtool.
1749 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
1750 already done in make_paragraphs.
1751 (handle_libraries): Simplify by requiring RANLIB with
1752 &require_variables_for_macro.
1753 (handle_ltlibraries): Simplify by requiring LIBTOOL with
1754 &require_variables_for_macro.
1755 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
1757 * tests/libtool4.test, tests/library2.test: New files.
1758 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
1760 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1762 * automake.in (create, keyed_aclocal_warning): Delete, unused.
1764 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1766 * automake.in (ac_macro_for_var): Add YACC.
1768 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1770 Handle multiple suffix rules with the same input extension.
1773 * automake.in (suffix_rules_default): New variable.
1774 (suffix_rules): Redefine as a hash of hashes of pairs.
1775 (initialize_per_input): Setup suffix_rules_default from
1776 suffix_rules on first call, an override suffix_rules
1777 with suffix_rules_default on following calls.
1778 (struct) <output_extensions>: New attribute.
1779 (register_language): Set the default for output_extensions.
1780 Call register_suffix_rule for each suffix.
1781 (derive_suffix, handle_languages): Adjust to the new definition
1783 (register_suffix_rule): New function.
1784 (rule_define): Call register_suffix_rule.
1785 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
1787 * tests/Makefile.am (TESTS): Add them.
1789 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1791 * automake.in (am_macro_for_var, ac_macro_for_var,
1792 required_variables): New variables.
1793 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
1794 pythondir_location): Remove.
1795 (initialize_per_input): Clear %required_variables.
1796 (require_variables, require_variables_for_macro): New functions.
1797 (handle_languages): Call &require_variables for $lang->config_vars.
1798 (handle_compile): Call &require_variables_for_macro for the
1799 ANSI2KNR and U variables.
1800 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
1801 (handle_python): Call &require_variables for PYTHON. Don't
1802 explicitly allow `python' as a prefix for PYTHON.
1803 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
1804 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
1805 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
1806 AMDEPBACKSLASH here...
1807 (define_configure_variable): ... do this here.
1808 (am_primary_prefixes): Probe the existence of ${X}dir using
1809 &require_variables_for_macro. If a standard prefix is not
1810 legitimate, say so. Ignore all configure variables.
1811 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
1812 tests/lisp2.test, tests/python2.test: New files
1813 * tests/Makefile.am (TESTS): Add them.
1814 * tests/asm.test: Grep stderr.
1815 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
1816 * tests/python.test: Make sure py-compile is installed.
1818 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1820 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
1821 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
1822 Adjust all occurrences.
1824 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1826 * aclocal.in: Add local variables so that Emacs setups GNU style
1827 for perl-mode and cperl-mode.
1828 * automake.in: Likewise.
1829 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
1830 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
1831 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
1834 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1836 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
1837 * lib/config.sub, lib/install-sh: New upstream versions.
1839 2002-06-26 Paul Eggert <eggert@twinsun.com>
1841 * Makefile.am (maintainer-check): Don't assume that egrep exists;
1842 this fixes a portability bug introduced in the 2002-06-08 fix for
1845 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1847 * automake.in (required_targets): Add ps and ps-am.
1848 (initialize_per_input): Reset them.
1849 (handle_texinfo_helper): Fill @pss_list, and define the
1851 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
1852 (ps, ps-am): New targets.
1853 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
1854 `make ps' and `make pdf'.
1855 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
1856 (Extending): The `ps' and `pdf' targets support a `-local' version.
1858 2002-06-26 Art Haas <ahaas@neosoft.com>
1860 * automake.texi: s/.../@dots{}/.
1862 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1864 * configure.in: Check that ln works, fall back to `cp -p'.
1865 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
1866 Reported by Andreas Buening.
1868 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1870 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
1871 (lang_lex_target_hook): New function.
1872 * tests/lex3.c: Complete to check that maintainer-clean erases
1874 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
1876 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1878 * automake.in (lang_yacc_target_hook): Add $output to
1879 @maintainer_clean_files. This was lost on 2001-06-23.
1880 * tests/yacc7.test, tests/yacc4.test: Complete to check
1881 that maintainer-clean erases YACC's output files,
1882 respectively with and without `-d'.
1883 Reported by Flavien Astraud.
1885 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1887 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
1888 traced from configure.ac.
1890 * automake.in (macro_define): Don't accept to override an AC_SUBST
1891 or Automake variable in a new condition.
1892 * tests/cond23.test, tests/cond24.test: New file.
1893 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
1894 Reported by Patrik Weiskirchre.
1896 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1898 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
1899 tests/pr300-ltlib.test, tests/pr300-prog.test,
1900 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
1901 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
1904 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1906 * tests/libtool2.test: Use required=libtoolize.
1907 * tests/install2.test: Use required=gzip.
1909 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1911 * tests/defs (required): Handle bison; set YACC automatically.
1912 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
1913 tests/yaccvpath.test: Require bison. Don't set YACC.
1915 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1917 * tests/defs (required): Handle `gcc' and `g++'; automatically
1918 export CC and CXX when they are required.
1919 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1920 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1921 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1922 tests/lex3.test, tests/pr87.test, tests/pr220.test,
1923 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
1924 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
1926 * tests/subobj9.test: Require g++.
1928 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1930 * tests/defs (required): Handle `GNUmake'.
1931 (needs_gnu_make): Don't define anymore.
1932 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
1933 tests/dollar.test, tests/exsource.test, tests/extra6.test,
1934 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
1935 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
1936 tests/yaccvpath.test: Use `required=GNUmake' instead of
1939 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
1941 * automake.in (process_option_list): Recognize std-options.
1942 (handle_options): Enable std-options in gnits strictness.
1943 (am_install_var): If std-options, enable CK-OPTS section.
1944 * lib/am/scripts.am (installcheck-am): New target.
1945 * lib/am/progs.am (installcheck-am): New target.
1946 * tests/gnits2.test: New file.
1947 * tests/Makefile.am (TESTS): Add gnits2.test.
1948 * automake.texi (Gnits, Options): Document std-options.
1950 2002-06-17 Kevin Ryde <user42@zip.com.au>
1952 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
1953 as generated by recent texinfo.tex.
1955 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1957 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
1958 (_AM_CONFIG_HEADERS): ... this.
1959 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
1960 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
1962 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
1963 instead of AM_CONFIG_HEADER.
1964 * tests/autoheader2.test: New file.
1965 * tests/Makefile.am (TESTS): Add autoheader2.test.
1966 Suggested by Raja R Harinath.
1968 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1970 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
1971 of m4_rename so that AC_CONFIG_HEADER is never undefined and
1972 therefore still traced after the redefinition.
1973 * tests/defs (AUTOHEADER): Define.
1974 * tests/autoheader.test: New file.
1975 * tests/Makefile.am (TESTS): Add autoheader.test.
1976 Reported by Braden McDaniel.
1978 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
1980 * automake.in (check_gnu_standards): In --gnu mode, accept
1981 one of COPTING, COPYING.LESSER, or COPYING.LIB.
1982 (common_files): Add COPYING.LESSER.
1983 * automake.texi (Gnits): Document this.
1985 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
1987 * automake.in (required_targets): Add the pdf and pdf-am targets.
1988 (initialize_per_input): Likewise.
1989 (scan_texinfo_file): Add pdf to @clean_suffixes.
1990 (handle_texinfo_helper): Output the .pdf dependencies, and define
1992 * lib/am/texinfos.am (TEXI2PDF): New variable.
1993 (pdf, pdf-am): New targets.
1994 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
1995 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
1997 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1999 Fix pr307.test failure with gcc 3.x.
2000 * lib/depcomp (dashmstdout): Strip the call to libtool, and
2001 replace `-o $object' by `-o /dev/null' before running "$@"
2002 to generate dependencies.
2003 (cpp): Strip the call to libtool as well as `-o $object'.
2005 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2007 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
2008 $base.lo.d, when libtool is used.
2009 Reported by Nicolas Joly.
2011 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2013 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
2014 is no file to compile.
2015 * tests/java2.test: New file.
2016 * tests/Makefile.am (TESTS): Add java2.test.
2017 Reported by Braden N. McDaniel.
2019 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2021 * tests/maintclean.test: Don't check for autom4te.cache if
2022 it's not created by Autoconf.
2023 Reported by Bernd Jendrissek.
2025 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2027 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
2029 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2031 * lib/am/header-vars.am (transform): Define.
2032 Was removed by mistake on 2002-04-13.
2033 * tests/transform.test: New file.
2034 * tests/Makefile.am (TESTS): Add transform.test.
2035 Reported by Nicolas Joly.
2037 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2039 * tests/dollar.test: Require GNU make.
2040 * tests/maintclean.test: Don't use `export YACC=false'. Pass
2041 YACC=false to configure instead.
2043 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2045 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
2046 INSTALL: New upstream versions.
2048 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2050 * tests/sinclude.test: Check for m4_include too.
2052 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2054 * tests/sinclude.test: Rename the package as amsinclude;
2055 am__sinclude still trigers the sinclude macro once it has been
2056 converted to am--sinclude.
2057 Reported by Nicolas Joly.
2059 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2061 * automake.texi (API versioning): Typo.
2063 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
2065 * THANKS (Nicolas Joly): Remove duplicate.
2067 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2069 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
2070 * tests/yacc7.test: Use rm -f.
2072 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2074 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
2075 * tests/subpkg.test: New file.
2076 * tests/Makefile.am (TESTS): Add subpkg.test.
2078 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2080 For PR automake/318:
2081 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
2082 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
2083 * lib/am/scripts.am (install-%DIR%SCRIPTS,
2084 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
2086 (?%DIR%SCRIPT_INSTALL): New variable.
2087 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
2088 Reported by Eric Siegerman.
2090 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2092 * automake.in (lang_yacc_target_hook): Add rule to recover from
2093 the removal of $header.
2094 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
2095 output by lang_yacc_target_hook).
2096 * tests/yacc7.test: Try to recreate foo.h after its removal.
2097 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
2099 Reported by Bernd Jendrissek.
2101 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2103 For PR automake/317:
2104 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
2105 suggest `list='$(FILES)'; for f in $$list' instead.
2106 * lib/am/distdir.am (distdir): Adjust `for' usage.
2107 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
2108 * tests/dollar.test: New file.
2109 * tests/Makefile.am (TESTS): Add dollar.test.
2110 Reported by Eric Siegerman and Philip Fong.
2112 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2114 For PR automake/47 (fixed a long time ago):
2115 * tests/yacc7.test: Also check that parser sources are distributed.
2117 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2119 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
2120 (distclean): Use it.
2121 (maintainer-clean): Delete autom4te.cache and
2122 $(am__CONFIG_DISTCLEAN_FILES).
2123 * tests/maintclean.test: New file.
2124 * tests/Makefile.am (TESTS): Add maintclean.test.
2126 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
2128 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
2131 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
2133 * Makefile.am (maintainer-check): Check for egrep and fgrep.
2135 * test/cond22.test: Set SHELL when calling $MAKE -e.
2137 2002-05-31 Richard Boulton <richard@tartarus.org>
2139 Fix PR automake/326:
2140 * automake.in (define_objects_from_sources): Calculate the result in
2141 all conditions before passing this to subobjname to pick a name to
2142 store the result in.
2143 (subobjname): Expect a list of condition/value pairs as input.
2144 Combine this list and use it as the key to determine the variable name.
2145 * test/cond22.test: New file.
2146 * tests/Makefile.am (TESTS): Add cond22.test
2148 2002-05-30 Paul Eggert <eggert@twinsun.com>
2150 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
2151 instead, use shell pattern matching.
2153 2002-05-29 Paul Eggert <eggert@twinsun.com>
2155 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
2156 longer requires them.
2158 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
2159 of egrep and fgrep. Omit unnecessary -E and -F.
2160 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
2161 * lib/am/distdir.am (distdir): fgrep -> grep -F.
2162 Use $(), not ${}, for Make variables.
2163 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
2165 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2166 * tests/defs: Set FGREP and EGREP.
2168 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
2169 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
2170 tests/cond21.test, tests/condlib.test, tests/confh4.test,
2171 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
2172 tests/depend4.test, tests/discover.test, tests/distname.test,
2173 tests/dup3.test, tests/empty4.test, tests/fo.test,
2174 tests/implicit.test, tests/insh2.test, tests/interp.test,
2175 tests/lex.test, tests/lex3.test, tests/lex4.test,
2176 tests/libobj5.test, tests/libobj7.test, tests/make.test,
2177 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
2178 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
2179 tests/pr2.test, tests/pr9.test, tests/seenc.test,
2180 tests/specflags.test, tests/specflags3.test,
2181 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
2182 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
2183 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
2184 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
2186 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2188 For PR automake/323:
2189 * m4/depend.m4: Missing comma.
2190 * tests/gcj4.test: New file.
2191 * tests/Makefile.am (TESTS): Add gcj4.test.
2192 Reported by David Pashley.
2194 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2196 * tests/defs (configure.in): Don't double-quote $me.
2197 * tests/sinclude.test: Overwrite configure.in and use
2198 `am__sinclude' instead of `sinclude' as package name.
2199 Excercise `m4_sinclude' instead of `sinclude'.
2201 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2203 * automake.in (conditional_implies_one_of): Rename as ...
2204 (conditional_implies_any): ... this.
2205 * tests/pluseq9.test: Exercise another case with the new
2207 Suggested by Raja R Harinath.
2209 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2211 * tests/defs (configure.in): Quote macro arguments.
2212 Reported by Nicolas Joly.
2214 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2216 * lib/am/header-vars.am (build_triplet, host_triplet,
2217 target_triplet): Define. Were removed by mistake on 2002-04-13.
2219 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2221 For PR automake/186:
2222 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
2223 * tests/destdir.test: New file.
2224 * tests/Makefile.am (TESTS): Add destdir.test.
2226 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2228 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
2229 (conditional_is_redundant): Simplify.
2230 (conditional_implies_one_of,
2231 variable_not_always_defined_in_cond): New functions
2232 (macro_define): Reject appends if the variable is not defined in
2233 all conditions where `+=' applies.
2234 (invert_conditions): Rewrite. Before this patch,
2235 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
2236 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
2237 wrong (these conditions implies "A_FALSE"). Now it outputs (),
2238 which just means the input conditions cover all cases.
2239 (variable_conditions_permutations): Never output FALSE conditions.
2240 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
2241 in the CHECK_FALSE condition to fix the test.
2242 * tests/pluseq5.test: Actually check the diagnostic.
2243 * tests/pluseq9.test: New file.
2244 * tests/Makefile.am (TESTS): Add pluseq9.test.
2246 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2248 Fix for PR automake/322:
2249 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
2250 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
2251 Handle comments continued by backslashes.
2252 * tests/comment6.test: New file.
2253 * tests/Makefile.am (TESTS): Add comment6.test.
2254 Reported by Braden N. McDaniel.
2256 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
2257 Alexandre Duret-Lutz <duret_g@epita.fr>
2259 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
2260 both `program$(EXEEXT)' and `program'; needed under Cygwin.
2261 * tests/libtool3.test: New file.
2262 * tests/Makefile.am (TESTS): Add libtool3.test.
2264 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2268 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2270 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
2272 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2274 Erase stamps from the Makefile that generates them.
2276 * automake.in (handle_configure): Append each used stamp to
2277 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
2278 file is not used anymore.
2279 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
2281 * tests/subdir6.test: New file.
2282 * tests/Makefile.am (TESTS): Add it.
2284 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2286 Fix for condd.test (conditional `+='):
2287 * automake.in (%appendvar): New.
2288 (initialize_per_input): Clear it.
2289 (macro_define): Handle += for variable defined in another condition.
2290 * automake.texi (Conditional Sources): Use conditional += in
2292 (General Operation, Conditionals): Remove note about broken +=.
2293 * tests/cond21.test: New file.
2294 * tests/condd.test: Also test conditional append to a _SOURCE
2295 variable. Create missing directories.
2296 * tests/Makefile.am (TESTS): Add cond21.test.
2297 (XFAILS): Remove condd.test.
2299 2002-05-05 Tom Tromey <tromey@redhat.com>
2301 * automake.texi (Program and Library Variables): Mention _LFLAGS.
2303 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
2305 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
2306 files. Fix subobj9.test on OSF and IRIX.
2307 Reported by Nelson H. F. Beebe.
2309 2002-04-26 Tom Tromey <tromey@redhat.com>
2311 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
2312 For Debian bug 144221.
2314 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2316 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
2318 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2320 * automake.in (subobjname): Use the length of %subobjvar
2321 instead of $subobjnamenum.
2322 (subobjnamenum): Remove.
2324 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2326 For PR automake/307:
2327 * lib/depcomp: Never compute dependencies in the background, this
2328 can cause races with libtool. Compute the dependencies after
2329 the actual compilation. Don't make libtool silent now that
2330 it's run in the foreground.
2331 * tests/pr307.test: New file.
2332 * tests/Makefile.am (TESTS): Add pr307.test.
2333 Reported by Laurent Morichetti.
2335 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2337 * lib/am/check.am: Show skipped tests. Display the
2338 $(PACKAGE_BUGREPORT) address on failure.
2340 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2342 Fix PR automake/315:
2343 * automake.in (subobjname): Rewrite to generate variable name
2344 unique for each content.
2345 (%substnums): Remove.
2346 (%subobjvar): New hash.
2347 (initialize_per_input): Clear %subobjvar.
2348 (define_objects_from_sources): Return the name of the variable
2349 defined, in addition to the linker. Call subobjname only once
2350 the content of the variable to define is known.
2351 (handle_source_transform): Adjust call to define_objects_from_sources.
2352 * tests/specflags8.test: Mention PR 315.
2353 * tests/subobjname.test: New file.
2354 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
2355 (TESTS): Add subobjname.test.
2357 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2359 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
2360 the whole file for 'generated by automake', not only the
2361 first line. This accounts for post-processed Makefile.in's.
2362 * tests/postproc.test: New file.
2363 * tests/Makefile.am (TESTS): Add postproc.test.
2365 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2367 For PR automake/151 and PR automake/314:
2368 * automake.texi (A Program): Split into
2369 (Program Sources, Linking, Conditional Sources, Conditional
2370 Programs): ... these subsections; moving the Linking node
2371 before the Conditional discussions.
2372 (Conditional Sources): More details. Notably, mention
2374 (Conditionals): Adjust reference to Conditional Programs.
2376 2002-04-19 Paul Eggert <eggert@twinsun.com>
2378 Fix some bugs when using "$@" when there might be zero positional
2379 arguments in cases where this matters. Zsh doesn't support
2380 the workaround ${1+"$@"} that has been used by Automake since
2381 the Mon Dec 4 11:55:36 1995 change.
2383 * aclocal.in: Use 'case' statement to work around problem.
2384 * automake.in: Likewise.
2385 * lib/ylwrap: Likewise.
2386 * lib/missing: No need for workaround, as the command is never
2387 invoked with zero arguments.
2388 * tests/ccnoco.test: Likewise.
2389 * missing: Update from lib/missing.
2391 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2393 * automake.in (initialize_per_input): Clear %require_file_found.
2394 (%require_file_found): Group the declaration with the other
2395 variables initialized by initialize_per_input.
2396 * tests/required.test: New file.
2397 * tests/Makefile.am (TESTS): Add it.
2398 Reported by Marius Vollmer.
2400 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2402 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
2403 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
2404 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
2405 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
2406 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
2408 * tests/confh5.test: New file.
2409 * tests/Makefile.am (TESTS): Add confh5.test.
2410 * automake.texi (Optional, Public macros): Update descriptions
2411 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
2413 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2415 * tests/man2.test: New file.
2416 * tests/Makefile.am (TESTS): Add man2.test.
2417 * lib/am/mans.am (install-man%SECTION%): Change the extension
2418 of the man pages being installed, as documented.
2420 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2422 Enable traces; wipe out the old configure.in parser.
2424 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
2425 'autoconf'. Honnor the $filename argument.
2426 (scan_autoconf_files): Don't call scan_one_autoconf_file.
2427 Always call scan_autoconf_traces.
2428 (scan_one_autoconf_file): Remove, with it associated regexes.
2429 (obsolete, obsolete_rx): Remove.
2430 (register_language, handle_languages): Remove the 'define_flag'
2431 support. Remove it from the struct and language definitions too.
2432 (unquote_m4_arg): Remove.
2433 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
2434 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
2435 are now generated automatically.
2436 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
2438 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
2440 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2442 * tests/version6.test: New file.
2443 * tests/Makefile.am (TESTS): Add tests/version6.test.
2444 * automake.in (version_check): Return 0 on equality.
2446 2002-04-13 Andreas Schwab <schwab@suse.de>
2448 * THANKS: Update my mail address.
2450 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2452 * tests/discover.test: Use a full configure.in that calls AC_INIT.
2453 Use AC_LIBOBJ. Grep the error message.
2454 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
2455 Grep the error message. Require libtool.
2456 * tests/ldflags.test: Don't use LIBOBJS.
2457 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
2458 error messages for CC and CXX.
2460 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2462 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
2464 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
2465 * tests/ext.test: Enable dependencies for OBJC.
2466 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
2467 Delete. They tests for different flavors of $LIBOBJS assignments
2468 that wont be supported anymore.
2469 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
2470 * tests/obsolete.test: Don't test Automake.
2471 * tests/suffix5.test: Require libtool.
2472 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
2475 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2477 * configure.in (APIVERSION): Fix definition.
2479 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2481 * NEWS: Catch up with changes since 1.6.
2483 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2485 * tests/yacc8.test: Don't assume GNU make, run config.status
2486 to regenerate the Makefile.
2488 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2490 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
2491 always followed by a SHELL setting.
2492 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
2493 SHELL when calling `$MAKE -e'.
2495 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2497 * tests/subobj9.test: Use configure.in, not configure.ac,
2498 otherwise this fails with old libtool versions.
2500 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2502 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2505 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2507 * ChangeLog.2001: New file, extracted from ChangeLog.
2508 * Makefile.am (EXTRA_DIST): Add it.
2510 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2512 * automake.texi (Canonicalization): The sources for libmumble++.a
2513 go into libmumble___a_SOURCES.
2515 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2517 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
2518 test suite. Suggest `sleep 2' instead.
2519 * tests/confsub.test: Use `sleep 2'.
2521 2002-04-04 Paul Eggert <eggert@twinsun.com>
2523 * lib/am/subdirs.am:
2524 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
2525 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
2526 MAKEFLAGS contains '$(...)'.
2528 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2530 * tests/specflags8.test: Typo.
2532 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2534 * tests/specflags6.test: Run aclocal.
2535 * tests/Makefile.am (TESTS): Add specflags6.test.
2537 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2539 * tests/specflags7.test, tests/specflags8.test: New files.
2540 * tests/Makefile.am (TESTS): Add them.
2541 (XFAIL_TESTS): Add specflags8.test.
2543 2002-03-29 Tom Tromey <tromey@redhat.com>
2545 * automake.in (check_typos): Examine AM_LDFLAGS.
2546 Fixes PR automake/311.
2548 For PR automake/312:
2549 * lib/am/libtool.am (clean-libtool): Use LTRMS.
2550 * automake.in (handle_single_transform_list): When processing a
2551 libtool object, clean the ordinary object and register the
2553 (libtool_clean_directories): New global.
2554 (initialize_per_input): Initialize it.
2555 (generate_makefile): Call handle_libtool later.
2556 (handle_libtool): Handle libtool_clean_directories.
2557 * tests/subobj9.test: New file.
2558 * tests/Makefile.am (TESTS): Added subobj9.test.
2560 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2562 * tests/extra6.test, tests/subdir5.test: Require GNU make.
2564 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2566 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
2568 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2570 * tests/extra7.test: New file.
2571 * tests/Makefile.am: Add it.
2572 * lib/am/distdir.an (distdir): When a distribuable directory
2573 exists both in `.' and $(srcdir), merge both directories. This
2574 works around a failure of extra6.test on Tru64 reported by
2577 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2579 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
2581 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2583 * Makefile.am (maintainer-check): Catch occurrences of
2584 `$MAKE foo=bar' in the testsuite. Suggest using
2585 `foo=bar $MAKE -e' instead.
2586 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
2587 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
2588 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
2589 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
2591 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2593 Fix for PR automake/310:
2594 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
2595 so it never appears as a plain word.
2597 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
2599 * lib/depcomp (tru64): Correctly compute `base'.
2601 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2603 * tests/pr211.test: s/requires/required/, otherwise the test fails
2604 if libtool is not installed.
2606 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2608 * tests/dirname.test: Don't use $SHELL when calling ./configure.
2610 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2612 * tests/dirname.test: Use --quiet to fix failure on installations
2613 using a site script.
2614 Reported by Nicolas Joly.
2616 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2618 * Makefile.am (maintainer-check): Check for misuses of make,
2619 autoconf, automake, aclocal, and perl in the testsuite. Suggest
2620 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
2621 * tests/confsub.test: Use $AUTOCONF and $MAKE.
2622 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
2623 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
2624 tests/pr224.test, tests/pr287.test, tests/strip.test,
2625 tests/yacc8.test: Use $MAKE.
2627 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2629 Add support for two-dot versions.
2631 * tests/version5.test: New file.
2632 * tests/Makefile.am (TESTS): Add it.
2633 * automake.in (version_split, version_compare): New functions.
2634 (version_check): Rewrite using version_split and version_compare.
2635 (process_option_list): Adjust regex.
2637 2002-03-18 Richard Boulton <richard@tartarus.org>
2639 Fix for PR automake/306:
2640 * automake.texi (Generalities): Document +=.
2641 (Conditionals): Document limitations of += with conditionals.
2643 2002-03-17 Tom Tromey <tromey@redhat.com>
2645 Fix for PR automake/295:
2646 * automake.texi (Invoking Automake): Deprecate --output-dir.
2647 * automake.in (usage): Don't document --output-dir.
2648 (output_directory): Don't initialize.
2649 (parse_arguments): Deprecate --output-dir.
2651 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
2652 Fixes PR automake/304.
2654 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2656 * tests/dirforbid.test: Workaround for NetBSD sh bug.
2657 Fixes PR automake/305.
2659 2002-03-11 Richard Boulton <richard@tartarus.org>
2661 * automake.in (check_typos): Allow variables with reserved
2662 suffices (such as _LDFLAGS) and prefixes which aren't
2663 recognised if the variable is defined in configure.ac.
2666 2002-03-11 Richard Boulton <richard@tartarus.org>
2668 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
2669 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
2670 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
2672 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
2674 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
2677 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2679 Fix for PR automake/303:
2680 * automake.in (version_check): Move the error message ...
2681 (process_option_list): ... here, so we can distinguish between
2682 global and local options.
2684 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2686 * tests/pr300-lib.test, tests/pr300-ltlib.test,
2687 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
2688 Autoconf doesn't complain about Makefile being output twice.
2690 2002-03-06 Tom Tromey <tromey@redhat.com>
2692 * configure.in: Upped version to 1.6a.
2694 2002-03-05 Tom Tromey <tromey@redhat.com>
2696 * configure.in: Released 1.6.
2698 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
2700 Fix for PR automake/300:
2701 * tests/pr300-lib.test, tests/pr300-ltlib.test,
2702 tests/pr300-prog.test: New files.
2703 * tests/Makefile.am (TESTS): Add them.
2704 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
2705 compute the directory.
2706 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
2707 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
2708 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
2709 (uninstall-%DIR%LIBRARIES): Honor nobase_.
2710 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
2711 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
2712 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
2713 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
2714 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
2715 (uninstall-%DIR%PROGRAMS): Honor nobase_.
2716 See also the fix for nobase.test on 2001-11-09.
2718 2002-03-05 Tom Tromey <tromey@redhat.com>
2720 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
2722 2002-03-05 Pavel Roskin <proski@gnu.org>
2724 * tests/yacc8.test: Add a command between "test" and "cd" to
2725 work around a bug in bash-2.05.
2727 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
2729 Fix for PR automake/294:
2730 * tests/dirforbid.test: New file.
2731 * tests/Makefile.am (TESTS): Add it.
2732 * automake.in (standard_prefix): New hash.
2733 (am_primary_prefixes): Forbid standard_prefixes which are not
2734 explicitely allowed.
2735 * automake.texi (Uniform): Remove FIXME.
2737 2002-03-05 Jim Meyering <meyering@lucent.com>
2739 * automake.in (@common_files): Add config.rpath.
2741 2002-03-05 Kevin Ryde <user42@zip.com.au>
2743 For PR automake/297:
2744 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
2745 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
2748 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2750 * automake.in (scan_one_autoconf_file): Declare
2751 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
2752 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
2753 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
2754 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
2755 of s/// in the sed invocation, to support filenames containing
2757 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
2758 * tests/lex5.test, tests/yacc8.test: New files.
2759 * tests/Makefile.am (TESTS): Add them.
2761 2002-02-23 Per Bothner <per@bothner.com>
2763 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
2766 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2768 * tests/make.test: Revert the grep logic to work around a bug
2769 in NetBSD sh (see NetBSD Problem Report #11542).
2770 Reported by Patrick Welche.
2772 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
2774 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
2775 to try and prevent a non-lisp emacs from starting in interactive
2777 * automake.texi: Document this change.
2779 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2781 * automake.texi (Macros): Split into ...
2782 (Public Macros, Private Macros): ... these.
2784 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2786 * tests/insthook.test: Use sed instead of "tail +X".
2788 2002-02-18 Paul Eggert <eggert@twinsun.com>
2790 * lib/depcomp: Don't use "tail +3"; it's not portable to
2791 POSIX 1003.1-2001 hosts.
2793 2002-02-18 Jim Meyering <meyering@lucent.com>
2795 * tests/cond12.test: Use sed 1q, not `head -n 1'.
2796 The latter is not portable to some old systems.
2797 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
2798 Use `sed 1q' instead.
2799 * tests/insthook.test: Likewise.
2801 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2803 * automake.in (handle_lib_objects_cond): Tell the user to put
2804 global linker flags in AM_LDFLAGS, not LDFLAGS.
2806 * automake.texi (General Operation): AC_SUBST'ed variables
2807 override Automake's variables.
2808 (Uniform): More words and @refs.
2809 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
2810 (etags): More explanations about the first example.
2811 (Invoking Automake): Mention autoreconf. More @refs.
2812 (Requirements): Mention AC_CONFIG_FILES.
2813 (Optional): AC_CHECK_TOOL will no longer install config.sub and
2814 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
2815 (Invoking aclocal): aclocal no longer warn about duplicates.
2816 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
2817 (Extending aclocal): Suggest using the output of
2818 `aclocal --print-ac-dir` to install third-party macros.
2819 (Alternative): Specify ordering of dist_, nodist_, and nobase_
2821 (A Program): Mention scripts. The global LDADD variable is not
2822 meant to hold link flags, suggest using AM_LDFLAGS instead.
2823 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
2824 _LIBADD and _LDADD are subject to the same restriction wrt to
2826 (Program and Library Variables) <maude_DEPENDECIES>: Is also
2827 derived from maude_LIBADD.
2828 (Program variables): Define AM_LDFLAGS.
2829 (Dependencies): Passing the no-dependencies option to
2830 AM_INIT_AUTOMAKE is prefered.
2831 (Scripts): Explain why automake is magically cleaned.
2832 Mention noinst_SCRIPTS and check_SCRIPTS.
2833 (Data): Use dist_ in Automake's example.
2834 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
2835 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
2837 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2839 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
2840 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
2841 of asking the maintainer to do it manually.
2842 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
2843 Automake/XFile.pm: New upstream versions.
2845 2002-02-02 Tom Tromey <tromey@redhat.com>
2847 * automake.texi (Macros): Warn about upgrading.
2849 2002-02-01 Tom Tromey <tromey@redhat.com>
2851 Change per GNU coding standards:
2852 * aclocal.in (parse_arguments): Only mention most recent year in
2854 * automake.in (version): Only mention most recent year.
2856 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
2858 * automake.texi (API versioning): New Node.
2859 (Extending): Use $(DESTDIR) in examples.
2861 2002-01-28 Akim Demaille <akim@epita.fr>
2863 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
2864 Respect the --help layout.
2866 2002-01-27 Tom Tromey <tromey@redhat.com>
2868 * configure.in: Bumped to 1.5e.
2870 * lib/am/yacc.am: Use `rm -f'.
2872 * configure.in: Released 1.5d.
2874 * lib/config.guess: New version from FSF.
2876 * Makefile.am (uninstall-hook): New target.
2878 2002-01-24 Akim Demaille <akim@epita.fr>
2880 * lib/install-sh: Update, from Autoconf.
2882 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2884 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
2885 as AC_CANONICAL_HOST (the former does not require the latter since
2887 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
2888 * automake.texi (Requirements): Do not require STRIP to be
2889 defined by the user.
2891 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2893 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
2894 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
2895 * tests/pr224.test: Make sure .deps subdirectories are
2896 erased by distclean.
2898 2002-01-22 Tom Tromey <tromey@redhat.com>
2900 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
2901 no-dependencies option is set.
2902 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
2903 no-dependencies option is set. Don't call AM_DEP_TRACK or
2906 2002-01-22 Pavel Roskin <proski@gnu.org>
2908 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
2911 2002-01-22 Akim Demaille <akim@epita.fr>
2913 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
2916 2002-01-21 Tom Tromey <tromey@redhat.com>
2918 * Makefile.am (fetch): Don't fetch ansi2knr.
2920 * automake.texi (Macros): Updated for new variable names.
2921 (Program and Library Variables): Likewise.
2922 (Assembly Support): Likewise.
2923 * m4/as.m4: Use CCAS and CCASFLAGS.
2924 * automake.in (asm): Use CCAS and CCASFLAGS.
2926 2002-01-21 Akim Demaille <akim@epita.fr>
2928 * automake.in (&parse_arguments): Use a more GNUish error message
2931 2002-01-20 Tom Tromey <tromey@redhat.com>
2933 Fix for PR automake/231:
2934 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
2935 * m4/depend.m4: Document `GCJ'.
2937 For PR automake/224:
2938 * tests/Makefile.am (TESTS): Added pr224.test.
2939 * tests/pr224.test: New file.
2940 * lib/depcomp: Fixed computation of depfile.
2941 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
2942 * automake.in (handle_single_transform_list): Only reject `..'
2943 component for Java. Put dependencies in directory near object.
2944 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
2946 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2948 * tests/defs: Export AUTOMAKE and ACLOCAL.
2950 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2952 Fix for PR automake/204:
2953 * tests/pr204.test: New file.
2954 * tests/Makefile.am (TESTS): Add it.
2955 * automake.in (handle_single_transform_list): Don't distribute
2956 sources derived from non-distributed sources.
2958 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2960 Fix for PR automake/229:
2961 * tests/pr229.test: New file.
2962 * tests/Makefile.am (TESTS): Add it.
2963 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
2964 AC_EMXOS2, and AC_MINGW32.
2966 2002-01-18 Tom Tromey <tromey@redhat.com>
2968 * tests/cond7.test: Fix test bug exposed by copyright update.
2970 For PR automake/288:
2971 * automake.in (lang_c_rewrite): Don't prepend directory to base if
2972 directory is `.'. Also, properly compute de_ansi_files entry in
2974 * tests/Makefile.am (TESTS): Added ansi7.test.
2975 * tests/ansi7.test: New file.
2977 * aclocal.in (parse_arguments): Added 2002.
2978 (write_aclocal): Likewise.
2979 (parse_arguments): Updated my email address.
2980 * automake.in (gen_copyright): Added 2002.
2981 (version): Likewise. Also, changed my email address.
2983 * configure.in (APIVERSION): Refined definition.
2985 2002-01-18 Tom Tromey <tromey@redhat.com>
2988 * lib/missing: Accept versioned aclocal.
2989 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
2991 2002-01-17 Pavel Roskin <proski@gnu.org>
2993 * m4/Makefile.am (m4datadir): Use APIVERSION.
2995 2002-01-16 Tom Tromey <tromey@redhat.com>
2997 * Makefile.am (install-exec-hook): Use APIVERSION.
2998 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
2999 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
3001 * automake.in (perllibdir): Use APIVERSION.
3003 * aclocal.in (perllibdir): Use APIVERSION.
3004 (APIVERSION): New global.
3005 (parse_arguments): Use APIVERSION.
3006 * configure.in (APIVERSION): New subst.
3007 (pkgvdatadir): Use APIVERSION.
3009 2002-01-15 Tom Tromey <tromey@redhat.com>
3012 * lib/missing: Match against `automake*' to pick up versioned
3014 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
3015 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
3017 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
3018 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
3020 (scriptdir): Use pkgvdatadir.
3021 (installcheck-local): Likewise.
3022 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
3023 * automake.in (perllibdir): Added VERSION.
3025 * aclocal.in (parse_arguments): Search versioned directory. Don't
3026 push unversioned directory unless it exists.
3027 (perllibdir): Added VERSION.
3028 (default_acdir): New global.
3029 * m4/Makefile.am (m4datadir): Added $(VERSION).
3030 * Makefile.am (install-exec-hook): New target.
3031 * configure.in (ACLOCAL): Search build directory.
3032 (pkgvdatadir): New subst.
3034 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
3036 * lib/config.sub, lib/config.guess: New versions from FSF.
3038 2002-01-13 Tom Tromey <tromey@redhat.com>
3040 For PR automake/288:
3041 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
3043 (lang_c_finish): Likewise. Also, use directory information from
3046 2002-01-13 Kevin Ryde <user42@zip.com.au>
3048 For PR automake/288:
3049 * tests/Makefile.am (TESTS): Added ansi6.test.
3050 * tests/ansi6.test: New file.
3052 2002-01-13 Tom Tromey <tromey@redhat.com>
3054 For PR automake/287:
3055 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
3057 * tests/Makefile.am (TESTS): Added pr287.test.
3058 * tests/pr287.test: New file.
3060 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3062 * lib/am/distdir.am (distdir): Handle subdirectories.
3063 * tests/extra6.test: New file.
3064 * tests/Makefile.am (TESTS): Add it.
3066 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3068 * tests/extra2.test: Run $ACLOCAL.
3070 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
3072 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
3073 AM_INIT_AUTOMAKE arguments when using the old-style call.
3074 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
3075 Suggested by Pavel Roskin.
3077 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
3079 * test/nodefine.test, test/nodefine2.test: Check that no-define
3080 works, not the contrary...
3081 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
3082 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
3085 2002-01-12 Jim Meyering <meyering@lucent.com>
3087 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
3088 * tests/libobj11.test: New file.
3089 * tests/Makefile.am (TESTS): Add libobj11.test.
3091 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
3093 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
3095 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3097 * automake.in (file_contents_internal): Introduce two variables,
3098 $is_rule and $discard_rules to track rules spanning across multiple
3099 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
3100 where only the first paragraph of such a multi-paragraph rule was
3101 discarded; but it leaves many similar latent bugs (see the FIXMEs).
3103 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3105 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
3106 * tests/error.test: Use some macro names which are not defined by
3109 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3111 * automake.texi (Complete, Macros, Options): Document the new style
3112 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
3113 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
3114 AC_INIT if they are available there. Support a new call form
3115 where the only argument is an optional space-separated list of
3117 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
3118 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
3119 _AM_IF_OPTION): New functions.
3120 * automake.in (AC_INIT_PATTERN): New variable.
3121 (global_options_line): Remove, use $seen_init_automake instead.
3122 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
3123 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
3124 Remove the AM_AUTOMAKE_OPTIONS handling.
3125 * configure.in: Modernize.
3126 * tests/defs (configure.in): Modernize. One third of the tests
3127 still overwrite the default configure.in and use an old
3128 AM_INIT_AUTOMAKE call, so that makes testing for both.
3129 * tests/nodefine.test, tests/nodefine2.test: New files.
3130 * tests/Makefile.am (TESTS): Add them.
3132 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
3134 * automake.in (define_configure_variable): Propagate line numbers.
3136 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
3138 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
3140 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3142 * configure.in: Run the Autoconf test in a subdirectory, then
3143 erase this directory.
3145 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3147 * configure.in (AUTOMAKE): Create m4/amversion.m4.
3148 * m4/amversion.in: New file.
3149 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
3150 (dist_m4data_DATA): ... this.
3151 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
3152 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
3153 AM_SET_CURRENT_AUTOMAKE_VERSION.
3154 * automake.in (seen_automake_version): New variable.
3155 (scan_autoconf_traces, scan_one_autoconf_file,
3156 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
3157 when the version used in aclocal.m4 differs from Automake's.
3158 * tests/defs (ACLOCAL): Look in ../m4 too.
3159 * tests/installsh.test (ACLOCAL): Likewise.
3160 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
3162 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
3164 * automake.in (handle_languages): Emit an automake
3165 internal variable 'am__depfiles_maybe'.
3166 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
3168 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
3171 2002-01-06 Tom Tromey <tromey@redhat.com>
3173 * automake.texi (Tags): Document new variables.
3174 * lib/am/tags.am (ETAGS): New macro.
3175 (ETAGSFLAGS): Likewise.
3178 2002-01-04 Tom Tromey <tromey@redhat.com>
3180 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
3182 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
3184 * automake.in (read_am_file): Thinko in "comment following
3185 trailing backslash" detection.
3186 * tests/comment5.test: Test for this too.
3188 2002-01-02 Tom Tromey <tromey@redhat.com>
3190 * automake.texi (Extending): Added index for uninstall-hook.
3192 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3194 Fix for PR automake/278:
3195 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
3196 with versions such as '2.2c1'. Also, use `int' instead of the
3197 obsoleted `string.atoi'.
3198 Reported by Enrico Scholz.
3200 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3202 Fix for PR automake/280:
3203 * automake.in (read_am_file): Warn about trailing backslashes
3205 * tests/comment5.test: New file.
3206 * tests/Makefile.am (TESTS): Add comment5.test.
3207 Reported by Enrico Scholz.
3209 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3211 * tests/comment4.test: New file.
3212 * tests/Makefile.am (TESTS): Add comment4.test.
3214 Fix for comment4.test:
3215 * automake.in (read_am_file): Output leading comments only when
3216 encountering white lines.
3218 2002-01-01 Tom Tromey <tromey@redhat.com>
3220 For PR automake/234:
3221 * tests/Makefile.am (TESTS): Added strip.test.
3222 * tests/strip.test: New file.
3224 * automake.texi (Extending): Mention uninstall-hook.
3225 (Install): Likewise.
3226 * automake.in (handle_factored_dependencies): Allow
3229 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
3231 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
3232 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
3233 This fixes a bug introduced on 2001-01-28.
3234 Reported by Jared Davis.
3238 Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3240 This file is part of GNU Automake.
3242 GNU Automake is free software; you can redistribute it and/or modify
3243 it under the terms of the GNU General Public License as published by
3244 the Free Software Foundation; either version 2, or (at your option)
3247 GNU Automake is distributed in the hope that it will be useful,
3248 but WITHOUT ANY WARRANTY; without even the implied warranty of
3249 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3250 GNU General Public License for more details.
3252 You should have received a copy of the GNU General Public License
3253 along with autoconf; see the file COPYING. If not, write to
3254 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3255 Boston, MA 02111-1307, USA.