1 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
5 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
7 Erase stamps from the Makefile that generates them.
9 * automake.in (handle_configure): Append each used stamp to
10 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
11 file is not used anymore.
12 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
14 * tests/subdir6.test: New file.
15 * tests/Makefile.am (TESTS): Add it.
17 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
19 Fix for condd.test (conditional `+='):
20 * automake.in (%appendvar): New.
21 (initialize_per_input): Clear it.
22 (macro_define): Handle += for variable defined in another condition.
23 * automake.texi (Conditional Sources): Use conditional += in
25 (General Operation, Conditionals): Remove note about broken +=.
26 * tests/cond21.test: New file.
27 * tests/condd.test: Also test conditional append to a _SOURCE
28 variable. Create missing directories.
29 * tests/Makefile.am (TESTS): Add cond21.test.
30 (XFAILS): Remove condd.test.
32 2002-05-05 Tom Tromey <tromey@redhat.com>
34 * automake.texi (Program and Library Variables): Mention _LFLAGS.
36 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
38 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
39 files. Fix subobj9.test on OSF and IRIX.
40 Reported by Nelson H. F. Beebe.
42 2002-04-26 Tom Tromey <tromey@redhat.com>
44 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
45 For Debian bug 144221.
47 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
49 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
51 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
53 * automake.in (subobjname): Use the length of %subobjvar
54 instead of $subobjnamenum.
55 (subobjnamenum): Remove.
57 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
60 * lib/depcomp: Never compute dependencies in the background, this
61 can cause races with libtool. Compute the dependencies after
62 the actual compilation. Don't make libtool silent now that
63 it's run in the foreground.
64 * tests/pr307.test: New file.
65 * tests/Makefile.am (TESTS): Add pr307.test.
66 Reported by Laurent Morichetti.
68 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
70 * lib/am/check.am: Show skipped tests. Display the
71 $(PACKAGE_BUGREPORT) address on failure.
73 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
76 * automake.in (subobjname): Rewrite to generate variable name
77 unique for each content.
79 (%subobjvar): New hash.
80 (initialize_per_input): Clear %subobjvar.
81 (define_objects_from_sources): Return the name of the variable
82 defined, in addition to the linker. Call subobjname only once
83 the content of the variable to define is known.
84 (handle_source_transform): Adjust call to define_objects_from_sources.
85 * tests/specflags8.test: Mention PR 315.
86 * tests/subobjname.test: New file.
87 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
88 (TESTS): Add subobjname.test.
90 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
92 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
93 the whole file for 'generated by automake', not only the
94 first line. This accounts for post-processed Makefile.in's.
95 * tests/postproc.test: New file.
96 * tests/Makefile.am (TESTS): Add postproc.test.
98 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
100 For PR automake/151 and PR automake/314:
101 * automake.texi (A Program): Split into
102 (Program Sources, Linking, Conditional Sources, Conditional
103 Programs): ... these subsections; moving the Linking node
104 before the Conditional discussions.
105 (Conditional Sources): More details. Notably, mention
107 (Conditionals): Adjust reference to Conditional Programs.
109 2002-04-19 Paul Eggert <eggert@twinsun.com>
111 Fix some bugs when using "$@" when there might be zero positional
112 arguments in cases where this matters. Zsh doesn't support
113 the workaround ${1+"$@"} that has been used by Automake since
114 the Mon Dec 4 11:55:36 1995 change.
116 * aclocal.in: Use 'case' statement to work around problem.
117 * automake.in: Likewise.
118 * lib/ylwrap: Likewise.
119 * lib/missing: No need for workaround, as the command is never
120 invoked with zero arguments.
121 * tests/ccnoco.test: Likewise.
122 * missing: Update from lib/missing.
124 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
126 * automake.in (initialize_per_input): Clear %require_file_found.
127 (%require_file_found): Group the declaration with the other
128 variables initialized by initialize_per_input.
129 * tests/required.test: New file.
130 * tests/Makefile.am (TESTS): Add it.
131 Reported by Marius Vollmer.
133 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
135 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
136 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
137 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
138 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
139 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
141 * tests/confh5.test: New file.
142 * tests/Makefile.am (TESTS): Add confh5.test.
143 * automake.texi (Optional, Public macros): Update descriptions
144 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
146 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
148 * tests/man2.test: New file.
149 * tests/Makefile.am (TESTS): Add man2.test.
150 * lib/am/mans.am (install-man%SECTION%): Change the extension
151 of the man pages being installed, as documented.
153 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
155 Enable traces; wipe out the old configure.in parser.
157 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
158 'autoconf'. Honnor the $filename argument.
159 (scan_autoconf_files): Don't call scan_one_autoconf_file.
160 Always call scan_autoconf_traces.
161 (scan_one_autoconf_file): Remove, with it associated regexes.
162 (obsolete, obsolete_rx): Remove.
163 (register_language, handle_languages): Remove the 'define_flag'
164 support. Remove it from the struct and language definitions too.
165 (unquote_m4_arg): Remove.
166 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
167 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
168 are now generated automatically.
169 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
171 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
173 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
175 * tests/version6.test: New file.
176 * tests/Makefile.am (TESTS): Add tests/version6.test.
177 * automake.in (version_check): Return 0 on equality.
179 2002-04-13 Andreas Schwab <schwab@suse.de>
181 * THANKS: Update my mail address.
183 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
185 * tests/discover.test: Use a full configure.in that calls AC_INIT.
186 Use AC_LIBOBJ. Grep the error message.
187 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
188 Grep the error message. Require libtool.
189 * tests/ldflags.test: Don't use LIBOBJS.
190 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
191 error messages for CC and CXX.
193 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
195 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
197 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
198 * tests/ext.test: Enable dependencies for OBJC.
199 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
200 Delete. They tests for different flavors of $LIBOBJS assignments
201 that wont be supported anymore.
202 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
203 * tests/obsolete.test: Don't test Automake.
204 * tests/suffix5.test: Require libtool.
205 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
208 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
210 * configure.in (APIVERSION): Fix definition.
212 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
214 * NEWS: Catch up with changes since 1.6.
216 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
218 * tests/yacc8.test: Don't assume GNU make, run config.status
219 to regenerate the Makefile.
221 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
223 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
224 always followed by a SHELL setting.
225 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
226 SHELL when calling `$MAKE -e'.
228 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
230 * tests/subobj9.test: Use configure.in, not configure.ac,
231 otherwise this fails with old libtool versions.
233 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
235 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
238 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
240 * ChangeLog.2001: New file, extracted from ChangeLog.
241 * Makefile.am (EXTRA_DIST): Add it.
243 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
245 * automake.texi (Canonicalization): The sources for libmumble++.a
246 go into libmumble___a_SOURCES.
248 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
250 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
251 test suite. Suggest `sleep 2' instead.
252 * tests/confsub.test: Use `sleep 2'.
254 2002-04-04 Paul Eggert <eggert@twinsun.com>
257 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
258 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
259 MAKEFLAGS contains '$(...)'.
261 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
263 * tests/specflags8.test: Typo.
265 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
267 * tests/specflags6.test: Run aclocal.
268 * tests/Makefile.am (TESTS): Add specflags6.test.
270 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
272 * tests/specflags7.test, tests/specflags8.test: New files.
273 * tests/Makefile.am (TESTS): Add them.
274 (XFAIL_TESTS): Add specflags8.test.
276 2002-03-29 Tom Tromey <tromey@redhat.com>
278 * automake.in (check_typos): Examine AM_LDFLAGS.
279 Fixes PR automake/311.
282 * lib/am/libtool.am (clean-libtool): Use LTRMS.
283 * automake.in (handle_single_transform_list): When processing a
284 libtool object, clean the ordinary object and register the
286 (libtool_clean_directories): New global.
287 (initialize_per_input): Initialize it.
288 (generate_makefile): Call handle_libtool later.
289 (handle_libtool): Handle libtool_clean_directories.
290 * tests/subobj9.test: New file.
291 * tests/Makefile.am (TESTS): Added subobj9.test.
293 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
295 * tests/extra6.test, tests/subdir5.test: Require GNU make.
297 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
299 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
301 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
303 * tests/extra7.test: New file.
304 * tests/Makefile.am: Add it.
305 * lib/am/distdir.an (distdir): When a distribuable directory
306 exists both in `.' and $(srcdir), merge both directories. This
307 works around a failure of extra6.test on Tru64 reported by
310 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
312 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
314 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
316 * Makefile.am (maintainer-check): Catch occurrences of
317 `$MAKE foo=bar' in the testsuite. Suggest using
318 `foo=bar $MAKE -e' instead.
319 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
320 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
321 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
322 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
324 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
326 Fix for PR automake/310:
327 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
328 so it never appears as a plain word.
330 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
332 * lib/depcomp (tru64): Correctly compute `base'.
334 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
336 * tests/pr211.test: s/requires/required/, otherwise the test fails
337 if libtool is not installed.
339 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
341 * tests/dirname.test: Don't use $SHELL when calling ./configure.
343 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
345 * tests/dirname.test: Use --quiet to fix failure on installations
347 Reported by Nicolas Joly.
349 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
351 * Makefile.am (maintainer-check): Check for misuses of make,
352 autoconf, automake, aclocal, and perl in the testsuite. Suggest
353 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
354 * tests/confsub.test: Use $AUTOCONF and $MAKE.
355 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
356 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
357 tests/pr224.test, tests/pr287.test, tests/strip.test,
358 tests/yacc8.test: Use $MAKE.
360 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
362 Add support for two-dot versions.
364 * tests/version5.test: New file.
365 * tests/Makefile.am (TESTS): Add it.
366 * automake.in (version_split, version_compare): New functions.
367 (version_check): Rewrite using version_split and version_compare.
368 (process_option_list): Adjust regex.
370 2002-03-18 Richard Boulton <richard@tartarus.org>
372 Fix for PR automake/306:
373 * automake.texi (Generalities): Document +=.
374 (Conditionals): Document limitations of += with conditionals.
376 2002-03-17 Tom Tromey <tromey@redhat.com>
378 Fix for PR automake/295:
379 * automake.texi (Invoking Automake): Deprecate --output-dir.
380 * automake.in (usage): Don't document --output-dir.
381 (output_directory): Don't initialize.
382 (parse_arguments): Deprecate --output-dir.
384 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
385 Fixes PR automake/304.
387 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
389 * tests/dirforbid.test: Workaround for NetBSD sh bug.
390 Fixes PR automake/305.
392 2002-03-11 Richard Boulton <richard@tartarus.org>
394 * automake.in (check_typos): Allow variables with reserved
395 suffices (such as _LDFLAGS) and prefixes which aren't
396 recognised if the variable is defined in configure.ac.
399 2002-03-11 Richard Boulton <richard@tartarus.org>
401 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
402 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
403 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
405 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
407 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
410 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
412 Fix for PR automake/303:
413 * automake.in (version_check): Move the error message ...
414 (process_option_list): ... here, so we can distinguish between
415 global and local options.
417 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
419 * tests/pr300-lib.test, tests/pr300-ltlib.test,
420 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
421 Autoconf doesn't complain about Makefile being output twice.
423 2002-03-06 Tom Tromey <tromey@redhat.com>
425 * configure.in: Upped version to 1.6a.
427 2002-03-05 Tom Tromey <tromey@redhat.com>
429 * configure.in: Released 1.6.
431 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
433 Fix for PR automake/300:
434 * tests/pr300-lib.test, tests/pr300-ltlib.test,
435 tests/pr300-prog.test: New files.
436 * tests/Makefile.am (TESTS): Add them.
437 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
438 compute the directory.
439 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
440 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
441 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
442 (uninstall-%DIR%LIBRARIES): Honor nobase_.
443 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
444 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
445 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
446 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
447 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
448 (uninstall-%DIR%PROGRAMS): Honor nobase_.
449 See also the fix for nobase.test on 2001-11-09.
451 2002-03-05 Tom Tromey <tromey@redhat.com>
453 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
455 2002-03-05 Pavel Roskin <proski@gnu.org>
457 * tests/yacc8.test: Add a command between "test" and "cd" to
458 work around a bug in bash-2.05.
460 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
462 Fix for PR automake/294:
463 * tests/dirforbid.test: New file.
464 * tests/Makefile.am (TESTS): Add it.
465 * automake.in (standard_prefix): New hash.
466 (am_primary_prefixes): Forbid standard_prefixes which are not
468 * automake.texi (Uniform): Remove FIXME.
470 2002-03-05 Jim Meyering <meyering@lucent.com>
472 * automake.in (@common_files): Add config.rpath.
474 2002-03-05 Kevin Ryde <user42@zip.com.au>
477 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
478 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
481 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
483 * automake.in (scan_one_autoconf_file): Declare
484 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
485 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
486 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
487 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
488 of s/// in the sed invocation, to support filenames containing
490 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
491 * tests/lex5.test, tests/yacc8.test: New files.
492 * tests/Makefile.am (TESTS): Add them.
494 2002-02-23 Per Bothner <per@bothner.com>
496 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
499 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
501 * tests/make.test: Revert the grep logic to work around a bug
502 in NetBSD sh (see NetBSD Problem Report #11542).
503 Reported by Patrick Welche.
505 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
507 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
508 to try and prevent a non-lisp emacs from starting in interactive
510 * automake.texi: Document this change.
512 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
514 * automake.texi (Macros): Split into ...
515 (Public Macros, Private Macros): ... these.
517 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
519 * tests/insthook.test: Use sed instead of "tail +X".
521 2002-02-18 Paul Eggert <eggert@twinsun.com>
523 * lib/depcomp: Don't use "tail +3"; it's not portable to
524 POSIX 1003.1-2001 hosts.
526 2002-02-18 Jim Meyering <meyering@lucent.com>
528 * tests/cond12.test: Use sed 1q, not `head -n 1'.
529 The latter is not portable to some old systems.
530 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
531 Use `sed 1q' instead.
532 * tests/insthook.test: Likewise.
534 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
536 * automake.in (handle_lib_objects_cond): Tell the user to put
537 global linker flags in AM_LDFLAGS, not LDFLAGS.
539 * automake.texi (General Operation): AC_SUBST'ed variables
540 override Automake's variables.
541 (Uniform): More words and @refs.
542 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
543 (etags): More explanations about the first example.
544 (Invoking Automake): Mention autoreconf. More @refs.
545 (Requirements): Mention AC_CONFIG_FILES.
546 (Optional): AC_CHECK_TOOL will no longer install config.sub and
547 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
548 (Invoking aclocal): aclocal no longer warn about duplicates.
549 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
550 (Extending aclocal): Suggest using the output of
551 `aclocal --print-ac-dir` to install third-party macros.
552 (Alternative): Specify ordering of dist_, nodist_, and nobase_
554 (A Program): Mention scripts. The global LDADD variable is not
555 meant to hold link flags, suggest using AM_LDFLAGS instead.
556 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
557 _LIBADD and _LDADD are subject to the same restriction wrt to
559 (Program and Library Variables) <maude_DEPENDECIES>: Is also
560 derived from maude_LIBADD.
561 (Program variables): Define AM_LDFLAGS.
562 (Dependencies): Passing the no-dependencies option to
563 AM_INIT_AUTOMAKE is prefered.
564 (Scripts): Explain why automake is magically cleaned.
565 Mention noinst_SCRIPTS and check_SCRIPTS.
566 (Data): Use dist_ in Automake's example.
567 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
568 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
570 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
572 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
573 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
574 of asking the maintainer to do it manually.
575 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
576 Automake/XFile.pm: New upstream versions.
578 2002-02-02 Tom Tromey <tromey@redhat.com>
580 * automake.texi (Macros): Warn about upgrading.
582 2002-02-01 Tom Tromey <tromey@redhat.com>
584 Change per GNU coding standards:
585 * aclocal.in (parse_arguments): Only mention most recent year in
587 * automake.in (version): Only mention most recent year.
589 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * automake.texi (API versioning): New Node.
592 (Extending): Use $(DESTDIR) in examples.
594 2002-01-28 Akim Demaille <akim@epita.fr>
596 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
597 Respect the --help layout.
599 2002-01-27 Tom Tromey <tromey@redhat.com>
601 * configure.in: Bumped to 1.5e.
603 * lib/am/yacc.am: Use `rm -f'.
605 * configure.in: Released 1.5d.
607 * lib/config.guess: New version from FSF.
609 * Makefile.am (uninstall-hook): New target.
611 2002-01-24 Akim Demaille <akim@epita.fr>
613 * lib/install-sh: Update, from Autoconf.
615 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
617 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
618 as AC_CANONICAL_HOST (the former does not require the latter since
620 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
621 * automake.texi (Requirements): Do not require STRIP to be
624 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
626 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
627 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
628 * tests/pr224.test: Make sure .deps subdirectories are
631 2002-01-22 Tom Tromey <tromey@redhat.com>
633 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
634 no-dependencies option is set.
635 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
636 no-dependencies option is set. Don't call AM_DEP_TRACK or
639 2002-01-22 Pavel Roskin <proski@gnu.org>
641 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
644 2002-01-22 Akim Demaille <akim@epita.fr>
646 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
649 2002-01-21 Tom Tromey <tromey@redhat.com>
651 * Makefile.am (fetch): Don't fetch ansi2knr.
653 * automake.texi (Macros): Updated for new variable names.
654 (Program and Library Variables): Likewise.
655 (Assembly Support): Likewise.
656 * m4/as.m4: Use CCAS and CCASFLAGS.
657 * automake.in (asm): Use CCAS and CCASFLAGS.
659 2002-01-21 Akim Demaille <akim@epita.fr>
661 * automake.in (&parse_arguments): Use a more GNUish error message
664 2002-01-20 Tom Tromey <tromey@redhat.com>
666 Fix for PR automake/231:
667 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
668 * m4/depend.m4: Document `GCJ'.
671 * tests/Makefile.am (TESTS): Added pr224.test.
672 * tests/pr224.test: New file.
673 * lib/depcomp: Fixed computation of depfile.
674 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
675 * automake.in (handle_single_transform_list): Only reject `..'
676 component for Java. Put dependencies in directory near object.
677 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
679 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
681 * tests/defs: Export AUTOMAKE and ACLOCAL.
683 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
685 Fix for PR automake/204:
686 * tests/pr204.test: New file.
687 * tests/Makefile.am (TESTS): Add it.
688 * automake.in (handle_single_transform_list): Don't distribute
689 sources derived from non-distributed sources.
691 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
693 Fix for PR automake/229:
694 * tests/pr229.test: New file.
695 * tests/Makefile.am (TESTS): Add it.
696 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
697 AC_EMXOS2, and AC_MINGW32.
699 2002-01-18 Tom Tromey <tromey@redhat.com>
701 * tests/cond7.test: Fix test bug exposed by copyright update.
704 * automake.in (lang_c_rewrite): Don't prepend directory to base if
705 directory is `.'. Also, properly compute de_ansi_files entry in
707 * tests/Makefile.am (TESTS): Added ansi7.test.
708 * tests/ansi7.test: New file.
710 * aclocal.in (parse_arguments): Added 2002.
711 (write_aclocal): Likewise.
712 (parse_arguments): Updated my email address.
713 * automake.in (gen_copyright): Added 2002.
714 (version): Likewise. Also, changed my email address.
716 * configure.in (APIVERSION): Refined definition.
718 2002-01-18 Tom Tromey <tromey@redhat.com>
721 * lib/missing: Accept versioned aclocal.
722 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
724 2002-01-17 Pavel Roskin <proski@gnu.org>
726 * m4/Makefile.am (m4datadir): Use APIVERSION.
728 2002-01-16 Tom Tromey <tromey@redhat.com>
730 * Makefile.am (install-exec-hook): Use APIVERSION.
731 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
732 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
734 * automake.in (perllibdir): Use APIVERSION.
736 * aclocal.in (perllibdir): Use APIVERSION.
737 (APIVERSION): New global.
738 (parse_arguments): Use APIVERSION.
739 * configure.in (APIVERSION): New subst.
740 (pkgvdatadir): Use APIVERSION.
742 2002-01-15 Tom Tromey <tromey@redhat.com>
745 * lib/missing: Match against `automake*' to pick up versioned
747 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
748 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
750 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
751 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
753 (scriptdir): Use pkgvdatadir.
754 (installcheck-local): Likewise.
755 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
756 * automake.in (perllibdir): Added VERSION.
758 * aclocal.in (parse_arguments): Search versioned directory. Don't
759 push unversioned directory unless it exists.
760 (perllibdir): Added VERSION.
761 (default_acdir): New global.
762 * m4/Makefile.am (m4datadir): Added $(VERSION).
763 * Makefile.am (install-exec-hook): New target.
764 * configure.in (ACLOCAL): Search build directory.
765 (pkgvdatadir): New subst.
767 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
769 * lib/config.sub, lib/config.guess: New versions from FSF.
771 2002-01-13 Tom Tromey <tromey@redhat.com>
774 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
776 (lang_c_finish): Likewise. Also, use directory information from
779 2002-01-13 Kevin Ryde <user42@zip.com.au>
782 * tests/Makefile.am (TESTS): Added ansi6.test.
783 * tests/ansi6.test: New file.
785 2002-01-13 Tom Tromey <tromey@redhat.com>
788 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
790 * tests/Makefile.am (TESTS): Added pr287.test.
791 * tests/pr287.test: New file.
793 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
795 * lib/am/distdir.am (distdir): Handle subdirectories.
796 * tests/extra6.test: New file.
797 * tests/Makefile.am (TESTS): Add it.
799 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
801 * tests/extra2.test: Run $ACLOCAL.
803 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
805 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
806 AM_INIT_AUTOMAKE arguments when using the old-style call.
807 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
808 Suggested by Pavel Roskin.
810 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
812 * test/nodefine.test, test/nodefine2.test: Check that no-define
813 works, not the contrary...
814 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
815 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
818 2002-01-12 Jim Meyering <meyering@lucent.com>
820 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
821 * tests/libobj11.test: New file.
822 * tests/Makefile.am (TESTS): Add libobj11.test.
824 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
826 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
828 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
830 * automake.in (file_contents_internal): Introduce two variables,
831 $is_rule and $discard_rules to track rules spanning across multiple
832 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
833 where only the first paragraph of such a multi-paragraph rule was
834 discarded; but it leaves many similar latent bugs (see the FIXMEs).
836 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
838 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
839 * tests/error.test: Use some macro names which are not defined by
842 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
844 * automake.texi (Complete, Macros, Options): Document the new style
845 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
846 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
847 AC_INIT if they are available there. Support a new call form
848 where the only argument is an optional space-separated list of
850 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
851 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
852 _AM_IF_OPTION): New functions.
853 * automake.in (AC_INIT_PATTERN): New variable.
854 (global_options_line): Remove, use $seen_init_automake instead.
855 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
856 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
857 Remove the AM_AUTOMAKE_OPTIONS handling.
858 * configure.in: Modernize.
859 * tests/defs (configure.in): Modernize. One third of the tests
860 still overwrite the default configure.in and use an old
861 AM_INIT_AUTOMAKE call, so that makes testing for both.
862 * tests/nodefine.test, tests/nodefine2.test: New files.
863 * tests/Makefile.am (TESTS): Add them.
865 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
867 * automake.in (define_configure_variable): Propagate line numbers.
869 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
871 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
873 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
875 * configure.in: Run the Autoconf test in a subdirectory, then
876 erase this directory.
878 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
880 * configure.in (AUTOMAKE): Create m4/amversion.m4.
881 * m4/amversion.in: New file.
882 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
883 (dist_m4data_DATA): ... this.
884 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
885 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
886 AM_SET_CURRENT_AUTOMAKE_VERSION.
887 * automake.in (seen_automake_version): New variable.
888 (scan_autoconf_traces, scan_one_autoconf_file,
889 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
890 when the version used in aclocal.m4 differs from Automake's.
891 * tests/defs (ACLOCAL): Look in ../m4 too.
892 * tests/installsh.test (ACLOCAL): Likewise.
893 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
895 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
897 * automake.in (handle_languages): Emit an automake
898 internal variable 'am__depfiles_maybe'.
899 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
901 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
904 2002-01-06 Tom Tromey <tromey@redhat.com>
906 * automake.texi (Tags): Document new variables.
907 * lib/am/tags.am (ETAGS): New macro.
908 (ETAGSFLAGS): Likewise.
911 2002-01-04 Tom Tromey <tromey@redhat.com>
913 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
915 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
917 * automake.in (read_am_file): Thinko in "comment following
918 trailing backslash" detection.
919 * tests/comment5.test: Test for this too.
921 2002-01-02 Tom Tromey <tromey@redhat.com>
923 * automake.texi (Extending): Added index for uninstall-hook.
925 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
927 Fix for PR automake/278:
928 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
929 with versions such as '2.2c1'. Also, use `int' instead of the
930 obsoleted `string.atoi'.
931 Reported by Enrico Scholz.
933 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
935 Fix for PR automake/280:
936 * automake.in (read_am_file): Warn about trailing backslashes
938 * tests/comment5.test: New file.
939 * tests/Makefile.am (TESTS): Add comment5.test.
940 Reported by Enrico Scholz.
942 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
944 * tests/comment4.test: New file.
945 * tests/Makefile.am (TESTS): Add comment4.test.
947 Fix for comment4.test:
948 * automake.in (read_am_file): Output leading comments only when
949 encountering white lines.
951 2002-01-01 Tom Tromey <tromey@redhat.com>
954 * tests/Makefile.am (TESTS): Added strip.test.
955 * tests/strip.test: New file.
957 * automake.texi (Extending): Mention uninstall-hook.
959 * automake.in (handle_factored_dependencies): Allow
962 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
964 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
965 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
966 This fixes a bug introduced on 2001-01-28.
967 Reported by Jared Davis.
971 Copyright (C) 2002 Free Software Foundation, Inc.
973 This file is part of GNU Automake.
975 GNU Automake is free software; you can redistribute it and/or modify
976 it under the terms of the GNU General Public License as published by
977 the Free Software Foundation; either version 2, or (at your option)
980 GNU Automake is distributed in the hope that it will be useful,
981 but WITHOUT ANY WARRANTY; without even the implied warranty of
982 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
983 GNU General Public License for more details.
985 You should have received a copy of the GNU General Public License
986 along with autoconf; see the file COPYING. If not, write to
987 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
988 Boston, MA 02111-1307, USA.