1 2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
4 (maintainer_clean_files): Replace by ...
5 (clean_files): ... this new variable.
6 (initialize_per_input, lang_yacc_target_hook,
7 lang_lex_target_hook): Use %clean_files instead of
8 @maintainer_clean_files.
9 (handle_clean): Rewrite, using %clean_files.
10 (require_build_directory_maybe): Use %clean_files instead
11 of %compile_clean_files. This allows using
12 &require_build_directory_maybe for non-compiling targets.
13 * lib/am/clean.am (mostlyclean-generic, clean-generic,
14 distclean-generic, maintainer-clean-generic): Rewrite using
15 %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
16 %MAINTAINER_CLEAN_RMS%.
18 For Debian Bug#157778:
19 * m4/python.m4: Fix output of `python' in checking messages
20 when no version of Python is required.
22 2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
24 * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
25 was generated by gcc -MF.
27 2002-08-23 Pavel Roskin <proski@gnu.org>
29 * lib/am/progs.am: Exit in case of install failure, otherwise
30 it is ignored on Cygwin because of the surrounding "for" loop.
32 2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
34 * automake.texi (Top level): More words about conditional
35 subdirectories. Don't mention AC_PROG_MAKE_SET.
36 * tests/subdircond2.test, tests/subdircond3.test: New files.
37 * tests/Makefile.am (TESTS): Add them.
40 * automake.in (MACRO_PATTERN): Allow `.' in variable names.
41 (scan_variable_expansions, check_variable_expansions): New functions.
42 (macro_define): Call check_variable_expansions.
43 (read_am_file): Likewise, when outputing rules.
44 (variable_conditions_recursive_sub): Simplify using
45 scan_variable_expansions.
46 * tests/vars3.test: New file.
47 * tests/Makefile.am (TESTS): Add vars3.test.
48 * tests/colneq.test: Use -Wno-portability.
50 * lib/Automake/Channels.pm (buffering, backlog): New variables.
51 (buffer_messages, flush_messages): New functions.
52 (@EXPORT): Add buffer_messages and flush_messages.
53 * automake.in (generate_makefile): Call buffer_messages and
54 flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
57 * automake.in (read_am_file): File computation of path to
58 included file, when $(top_srcdir) is not used.
59 * tests/include2.test: Augment.
61 2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
63 * automake.in (set_strictness): Never enable 'portability'
65 (usage): Adjust `-Wportability' doc.
66 * automake.texi (Invoking Automake): Likewise.
67 Suggested by Ralf Corsepius.
69 2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
71 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
72 so_location files in current directory.
74 Fix for PR automake/346:
75 * automake.texi (Optional): Supress the documentation for
76 AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
77 AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
78 AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
79 AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
80 AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
81 documentation of AC_LIBSOURCE and AC_SUBST to explain this
82 applies to any macro that calls them.
84 2002-08-19 Tom Tromey <tromey@redhat.com>
87 * tests/Makefile.am (TESTS): Added include2.test.
88 * tests/include2.test: New file.
89 * tests/include.test: Check to make sure include file is
91 * automake.in (read_am_file): Distribute included files.
93 2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
95 Fix for PR automake/345:
96 * tests/defs: Add support for required=non-root, stolen
97 from fileutils' test suite.
98 * tests/destdir.test: Use required=non-root.
100 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
102 2002-08-17 Tom Tromey <tromey@redhat.com>
105 * automake.in (rule_define): Given portability warning if "%" seen
107 (TARGET_PATTERN): Added `%'.
108 * tests/Makefile.am (TESTS): Added percent.test.
109 * tests/percent.test: New file.
111 2002-08-15 Art Haas <ahaas@neosoft.com>
113 * lib/am/depend2.am: Use correct name for dependency file in
114 libtool fastdep case.
116 2002-08-14 Art Haas <ahaas@neosoft.com>
118 * lib/am/depend2.am: Added missing `;'.
120 2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
122 * automake.texi (Python): Fix wording.
124 * tests/ext2.test: New file. This bug is present in Automake 1.6.3
125 and was fixed by the change on variable_conditions_permutations
126 and invert_conditions on 2002-05-16.
127 * tests/Makefile.am (TESTS): Add ext2.test.
128 Reported by Ladislav Strojil.
130 2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
132 * aclocal.in (parse_arguments): Add `dirlist' paths add the
133 very end of the search path, after aclocal-APIVERSION/ and
135 * automake.texi (Macro search path): Adjust to reflect the
137 * tests/dirlist.test: Check for this.
139 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
141 * aclocal.in (parse_arguments): Add support for extending
142 default macro search path, using a `dirlist' file within
143 the aclocal directory.
144 * automake.texi (Invoking aclocal): Move option descriptions into ...
145 (aclocal options): ... this new node.
146 (Macro search path): New node.
147 * tests/dirlist.test: New file.
148 * tests/Makefile.am (TESTS): Add dirlist.test.
149 * m4/dirlist: New file.
150 * m4/Makefile.am (EXTRA_DIST): Add dirlist.
151 * tests/defs: Honor any installed dirlist when searching for
152 libtool.m4 and gettext.m4.
154 2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
156 Build info files in builddir instead of srcdir (for PR automake/168),
157 and prepare support for info files in subdirecties.
158 * automake.in (output_texinfo_build_rules): New function.
159 (handle_texinfo_helper): Use output_texinfo_build_rules, and
160 prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
161 * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
162 current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
164 * lib/am/texibuild.am: Rewrite to output files in the current
165 directory, not $(srcdir). Also, support both generic and
166 non-generic output. Pass `-o $@' to makeinfo, texinfo, and
167 texi2dvi (for PR automake/339).
168 * tests/texinfo3.test: Make sure the `.texi:' rule is output.
169 * tests/texinfo10.test: Use set -e, so the checks are not ignored.
170 * tests/texinfo16.test: New file.
171 * tests/Makefile.am (TESTS): Add texinfo16.test.
173 2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
175 * aclocal.in (write_aclocal): Don't write the filename ($output_file)
176 in the aclocal.m4 header.
178 * configure.in: Require Autoconf 2.53b.
180 2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
182 * configure.in: Bump version to 1.6c.
184 * configure.in: Bump version to 1.6b.
185 * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
187 * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
188 since this file is processed by config.status.
190 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
192 * automake.in (read_am_file): Escaped newlines in comments are not
193 portable. If a comment line doesn't start with a `#', add it.
194 * tests/comment6.test: Ensure this is done.
196 2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
198 Fix failures reported by Patrick Welche on NetBSD.
199 * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
201 * tests/obsolete.test: Source obs.1 and obs.2 from current
204 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
206 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
209 2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
211 * tests/required2.test: New file.
212 * tests/Makefile.am (TESTS): Add required2.test.
213 * automake.in (initialize_per_input): Remove %require_file_found
214 setting. This reverts my change of 2002-04-19.
215 (require_file_internal): Use the full name of a file as a
216 key in %require_file_found, not only the basename.
217 Reported by Andrew Suffield.
219 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
221 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
222 * tests/subdir7.test: New file.
223 * tests/Makefile.am (TESTS): Add subdir7.test.
225 * lib/mkinstalldirs: Remove Id keyword.
227 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
228 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
229 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
230 * automake.texi (Options) <std-options>: Document
231 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
232 (Gnits): Reference std-options.
233 * tests/gnits3.test: New file.
234 * tests/Makefile.am (TESTS): Add gnits3.test.
235 Suggested by Jim Meyering.
237 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
239 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
240 Replace the sed script by calls to grep, easier to debug.
241 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
243 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
245 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
246 Always strip the directory part before applying $(transform),
247 even for nobase_ targets.
248 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
250 * tests/nobase.test: Use --program-prefix while testing nobase
253 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
255 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
256 * tests/Makefile.am (TESTS): Remove dirname.test.
258 * m4/init.m4: Require Autoconf 2.53b.
259 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
260 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
261 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
262 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
263 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
264 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
265 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
266 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
268 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
269 AU_DEFUNed in m4/obsolete.m4.
270 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
271 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
272 and obsolete.m4. Remove termios.m4 and winsz.m4.
273 * aclocal.in (obsolete, obsolete_rx): Remove.
274 (scan_configure): Don't grep for obsolete macros.
275 * tests/defs (AUTOUPDATE): Define.
276 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
277 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
280 Fix for PR automake/338:
281 * automake.in (seen_gettext_external): New variable.
282 (handle_gettext): Conditionalize the intl/ check on
283 $seen_gettext_external. Fix grep usage.
284 (scan_autoconf_traces): Set $seen_gettext_external if
285 `external' is passed to AM_GNU_GETTEXT.
286 * tests/gettext.test, tests/gettext2.test: New files.
287 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
289 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
290 Akim Demaille <akim@epita.fr>
292 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
293 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
294 (AM_CONFIG_HEADER): ... this new definition for compatibility.
295 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
296 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
297 * tests/confh5.tests: Delete.
298 * tests/Makefile.am (TESTS): Remove confh5.tests.
300 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
302 * automake.in (handle_single_transform_list): Typo.
304 * lib/Automake/Channels.pm (dup_channel_setup,
305 drop_channel_setup): New functions.
307 * automake.in (generate_makefile): Call dup_channel_setup and
309 (process_option_list): Recognize --warnings and -W options.
310 * automake.texi (Options): Document them.
311 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
313 * tests/warnopts.test: New file.
314 * tests/Makefile.am (TESTS): Add warnopts.test.
316 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
318 * automake.in: Register warning channel `gnu'.
319 (set_strictness): Turn on `gnu' in --gnu and --gnits.
320 (usage): Mention the `gnu' category.
321 (%var_is_am): Replace by ...
322 (%var_owner): ... this, which uses ...
323 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
324 Adjust all uses of %var_is_am.
325 (handle_languages): Warn about user variables being overriden.
326 (require_variables): Also check %configure_vars for the existence
327 of a required variable.
328 * automake.texi (Invoking Automake): Document -Wgnu.
329 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
331 * tests/gnuwarn.test: New file.
332 * tests/Makefile.am (TESTS): Add gnuwarn.test.
334 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
336 Fix for PR automake/337:
337 * automake.in: Redefine the `flags' attribute of each language
338 as a list. List CPPFLAGS in `flags' when it is used.
339 (register_language): Set the default value of 'flags'.
340 (handle_single_transform_list): Adjust to treat `flags' as a list.
341 (handle_languages): Likewise. Don't bother defining the
342 configure variable for `c', this is always done since we trace
344 * automake.texi (etags): Use per-executable _CPPFLAGS.
345 (Program and Library Variables): Mention maude_CPPFLAGS.
346 (Program variables): Likewise.
347 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
348 * tests/specflags9.test: New file.
349 * tests/Makefile.am (TESTS): Add specflag9.test.
351 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
353 * automake.texi: Use `variable' instead of `macro' everywhere it
354 designates a Makefile variable.
355 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
356 `flags', not `macros'. `Macro' means something else in Texinfo.
357 Also show how to use these flags.
358 * automake.in (file_contents_internal): s/macro/variable/ in
361 * automake.in (parse_arguments): Call Getopt twice: once to catch
362 --help or --verbose, and once to process the other arguments.
363 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
364 should always be 0 because of the change to parse_arguments).
365 * tests/Makefile.am (TESTS): Add getopt.test.
366 * tests/getopt.test: New file.
368 2002-07-09 Tom Tromey <tromey@redhat.com>
371 * automake.texi (Tags): Document ctags.
372 * automake.in (handle_tags): Handle ctags.
373 * lib/am/tags.am (CTAGS): New macro.
374 (CTAGSFLAGS): Likewise.
376 (distclean-tags): Remove `tags'.
378 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
380 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
381 before passing to cygpath. Partial fix for PR automake/334.
383 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
385 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
387 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
389 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
391 * automake.in (usage, version): Honor $exit_code.
392 (parse_arguments): Use fatal.
394 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
396 * automake.texi (Invoking Automake): Document WARNINGS.
397 * automake.in (switch_warning, parse_WARNINGS): New function.
398 (setup_warnings): Rename to ...
399 (parse_warnings): ... this. Move most of the code to switch_warning.
400 Accept a comma separated list of categories.
401 * tests/vars2.test: Use a comma separated list of warning categories.
403 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
405 * NEWS (New in 1.6): Mention that libtoolize is no longer run
408 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
410 Fix for PR automake/291:
411 * automake.in (macro_define): Catch variable names starting
413 (handle_installdirs): Rename _am_installdirs to am__installdirs.
414 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
415 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
416 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
417 lib/am/texinfos.am: Likewise.
418 * tests/canon5.test: Use -Wno-portability.
419 * tests/vars2.test: New file.
420 * tests/Makefile.am (TESTS): Add vars2.test.
422 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
424 * tests/defs (AUTOMAKE): Add -Wall.
425 * tests/outdir.test: Use -Wno-obsolete.
427 2002-07-07 Tom Tromey <tromey@redhat.com>
429 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
431 * automake.in (handle_languages): Compute FASTDEP.
432 * lib/am/depend2.am: Added %FASTDEP% mode.
434 2002-07-07 Tom Tromey <tromey@redhat.com>
436 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
437 now. Fixes PR automake/332.
439 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
441 * tests/nobase.test (test-install-exec): Move all the `test -f'
442 tests in the Makefile so we can use $(EXEEXT) on programs.
443 Reported by Charles Wilson.
445 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
447 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
448 * tests/confh5.test: Make sure that Autoconf complains if
449 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
452 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
454 * lib/Automake/Channels.pm: New file.
455 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
456 * automake.in: Use Automake::Channels and register some channels
457 for errors and warnings.
458 ($exit_status): Remove, replaced by Channels::$exit_code.
459 (%required_variables): Remove, Channels will filter-out duplicates
461 (initialize_per_input): Call reset_local_duplicates.
462 (prog_error): Adjust to all `msg'.
463 (setup_warnings): New functions.
464 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
466 (usage): Update usage text accordingly.
467 (macro_dump, macros_dump): Return the dump as a string instead
469 (am_install_var) <$warned_about_extra>: Remove, Channels will
470 filter-out duplicates itself.
471 (set_strictness): Turn on/off channels for each stricness.
472 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
473 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
474 New functions, to replace ...
475 (print_error, am_error, file_error, macro_error, target_error,
476 conf_error, file_warning): ... these functions. Remove them.
477 Update all the code to use the new functions. The rough
481 macro_error -> err_var
482 target_error -> err_target
485 macro_error if defined -> reject_var
486 target_error if defined -> reject_target
488 * automake.texi (Invoking Automake): Document -W and --warnings.
489 Remove the documentation for --Werror and --Wno-error.
490 * tests/defs: Use -Werror, no --Werror.
491 * tests/exeext2.test: Test that the error message
492 is enabled with -Wobsolete.
493 * tests/output5.test: Rewrite to test that Automake complains
494 when there is no Makefile specified. (The original test was
495 succeeding for the wrong reason.)
496 * tests/seenc.test: Don't use --Wno-error, there is no reason now
497 that -Werror doesn't stop after the first error.
498 * tests/subobj.test: Use --add-missing, and check that
499 `compile' is installed and that Automake says so.
500 * tests/subobj2.test: Don't create `compile'.
502 2002-07-05 Tom Tromey <tromey@redhat.com>
504 * automake.texi (Java Support): Mention --main and _LDFLAGS.
507 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
509 * tests/asm.test: Erase Autom4te's cache between each test.
511 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
513 * automake.in (am_macro_for_var): Add LIBTOOL.
514 (ac_macro_for_var): Add RANLIB.
515 (seen_libtool): Remove.
516 (handle_libtool, lang_c_finish, define_compiler_variable,
517 make_paragraphs): Use
518 variable_defined ('LIBTOOL') instead of $seen_libtool.
519 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
520 already done in make_paragraphs.
521 (handle_libraries): Simplify by requiring RANLIB with
522 &require_variables_for_macro.
523 (handle_ltlibraries): Simplify by requiring LIBTOOL with
524 &require_variables_for_macro.
525 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
527 * tests/libtool4.test, tests/library2.test: New files.
528 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
530 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
532 * automake.in (create, keyed_aclocal_warning): Delete, unused.
534 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
536 * automake.in (ac_macro_for_var): Add YACC.
538 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
540 Handle multiple suffix rules with the same input extension.
543 * automake.in (suffix_rules_default): New variable.
544 (suffix_rules): Redefine as a hash of hashes of pairs.
545 (initialize_per_input): Setup suffix_rules_default from
546 suffix_rules on first call, an override suffix_rules
547 with suffix_rules_default on following calls.
548 (struct) <output_extensions>: New attribute.
549 (register_language): Set the default for output_extensions.
550 Call register_suffix_rule for each suffix.
551 (derive_suffix, handle_languages): Adjust to the new definition
553 (register_suffix_rule): New function.
554 (rule_define): Call register_suffix_rule.
555 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
557 * tests/Makefile.am (TESTS): Add them.
559 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
561 * automake.in (am_macro_for_var, ac_macro_for_var,
562 required_variables): New variables.
563 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
564 pythondir_location): Remove.
565 (initialize_per_input): Clear %required_variables.
566 (require_variables, require_variables_for_macro): New functions.
567 (handle_languages): Call &require_variables for $lang->config_vars.
568 (handle_compile): Call &require_variables_for_macro for the
569 ANSI2KNR and U variables.
570 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
571 (handle_python): Call &require_variables for PYTHON. Don't
572 explicitly allow `python' as a prefix for PYTHON.
573 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
574 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
575 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
576 AMDEPBACKSLASH here...
577 (define_configure_variable): ... do this here.
578 (am_primary_prefixes): Probe the existence of ${X}dir using
579 &require_variables_for_macro. If a standard prefix is not
580 legitimate, say so. Ignore all configure variables.
581 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
582 tests/lisp2.test, tests/python2.test: New files
583 * tests/Makefile.am (TESTS): Add them.
584 * tests/asm.test: Grep stderr.
585 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
586 * tests/python.test: Make sure py-compile is installed.
588 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
590 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
591 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
592 Adjust all occurrences.
594 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
596 * aclocal.in: Add local variables so that Emacs setups GNU style
597 for perl-mode and cperl-mode.
598 * automake.in: Likewise.
599 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
600 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
601 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
604 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
606 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
607 * lib/config.sub, lib/install-sh: New upstream versions.
609 2002-06-26 Paul Eggert <eggert@twinsun.com>
611 * Makefile.am (maintainer-check): Don't assume that egrep exists;
612 this fixes a portability bug introduced in the 2002-06-08 fix for
615 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
617 * automake.in (required_targets): Add ps and ps-am.
618 (initialize_per_input): Reset them.
619 (handle_texinfo_helper): Fill @pss_list, and define the
621 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
622 (ps, ps-am): New targets.
623 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
624 `make ps' and `make pdf'.
625 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
626 (Extending): The `ps' and `pdf' targets support a `-local' version.
628 2002-06-26 Art Haas <ahaas@neosoft.com>
630 * automake.texi: s/.../@dots{}/.
632 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
634 * configure.in: Check that ln works, fall back to `cp -p'.
635 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
636 Reported by Andreas Buening.
638 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
640 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
641 (lang_lex_target_hook): New function.
642 * tests/lex3.c: Complete to check that maintainer-clean erases
644 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
646 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
648 * automake.in (lang_yacc_target_hook): Add $output to
649 @maintainer_clean_files. This was lost on 2001-06-23.
650 * tests/yacc7.test, tests/yacc4.test: Complete to check
651 that maintainer-clean erases YACC's output files,
652 respectively with and without `-d'.
653 Reported by Flavien Astraud.
655 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
657 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
658 traced from configure.ac.
660 * automake.in (macro_define): Don't accept to override an AC_SUBST
661 or Automake variable in a new condition.
662 * tests/cond23.test, tests/cond24.test: New file.
663 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
664 Reported by Patrik Weiskirchre.
666 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
668 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
669 tests/pr300-ltlib.test, tests/pr300-prog.test,
670 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
671 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
674 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
676 * tests/libtool2.test: Use required=libtoolize.
677 * tests/install2.test: Use required=gzip.
679 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
681 * tests/defs (required): Handle bison; set YACC automatically.
682 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
683 tests/yaccvpath.test: Require bison. Don't set YACC.
685 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
687 * tests/defs (required): Handle `gcc' and `g++'; automatically
688 export CC and CXX when they are required.
689 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
690 tests/cond4.test, tests/cond16.test, tests/cond18.test,
691 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
692 tests/lex3.test, tests/pr87.test, tests/pr220.test,
693 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
694 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
696 * tests/subobj9.test: Require g++.
698 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
700 * tests/defs (required): Handle `GNUmake'.
701 (needs_gnu_make): Don't define anymore.
702 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
703 tests/dollar.test, tests/exsource.test, tests/extra6.test,
704 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
705 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
706 tests/yaccvpath.test: Use `required=GNUmake' instead of
709 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
711 * automake.in (process_option_list): Recognize std-options.
712 (handle_options): Enable std-options in gnits strictness.
713 (am_install_var): If std-options, enable CK-OPTS section.
714 * lib/am/scripts.am (installcheck-am): New target.
715 * lib/am/progs.am (installcheck-am): New target.
716 * tests/gnits2.test: New file.
717 * tests/Makefile.am (TESTS): Add gnits2.test.
718 * automake.texi (Gnits, Options): Document std-options.
720 2002-06-17 Kevin Ryde <user42@zip.com.au>
722 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
723 as generated by recent texinfo.tex.
725 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
727 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
728 (_AM_CONFIG_HEADERS): ... this.
729 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
730 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
732 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
733 instead of AM_CONFIG_HEADER.
734 * tests/autoheader2.test: New file.
735 * tests/Makefile.am (TESTS): Add autoheader2.test.
736 Suggested by Raja R Harinath.
738 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
740 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
741 of m4_rename so that AC_CONFIG_HEADER is never undefined and
742 therefore still traced after the redefinition.
743 * tests/defs (AUTOHEADER): Define.
744 * tests/autoheader.test: New file.
745 * tests/Makefile.am (TESTS): Add autoheader.test.
746 Reported by Braden McDaniel.
748 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
750 * automake.in (check_gnu_standards): In --gnu mode, accept
751 one of COPTING, COPYING.LESSER, or COPYING.LIB.
752 (common_files): Add COPYING.LESSER.
753 * automake.texi (Gnits): Document this.
755 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
757 * automake.in (required_targets): Add the pdf and pdf-am targets.
758 (initialize_per_input): Likewise.
759 (scan_texinfo_file): Add pdf to @clean_suffixes.
760 (handle_texinfo_helper): Output the .pdf dependencies, and define
762 * lib/am/texinfos.am (TEXI2PDF): New variable.
763 (pdf, pdf-am): New targets.
764 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
765 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
767 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
769 Fix pr307.test failure with gcc 3.x.
770 * lib/depcomp (dashmstdout): Strip the call to libtool, and
771 replace `-o $object' by `-o /dev/null' before running "$@"
772 to generate dependencies.
773 (cpp): Strip the call to libtool as well as `-o $object'.
775 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
777 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
778 $base.lo.d, when libtool is used.
779 Reported by Nicolas Joly.
781 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
783 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
784 is no file to compile.
785 * tests/java2.test: New file.
786 * tests/Makefile.am (TESTS): Add java2.test.
787 Reported by Braden N. McDaniel.
789 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
791 * tests/maintclean.test: Don't check for autom4te.cache if
792 it's not created by Autoconf.
793 Reported by Bernd Jendrissek.
795 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
797 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
799 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
801 * lib/am/header-vars.am (transform): Define.
802 Was removed by mistake on 2002-04-13.
803 * tests/transform.test: New file.
804 * tests/Makefile.am (TESTS): Add transform.test.
805 Reported by Nicolas Joly.
807 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
809 * tests/dollar.test: Require GNU make.
810 * tests/maintclean.test: Don't use `export YACC=false'. Pass
811 YACC=false to configure instead.
813 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
815 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
816 INSTALL: New upstream versions.
818 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
820 * tests/sinclude.test: Check for m4_include too.
822 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
824 * tests/sinclude.test: Rename the package as amsinclude;
825 am__sinclude still trigers the sinclude macro once it has been
826 converted to am--sinclude.
827 Reported by Nicolas Joly.
829 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
831 * automake.texi (API versioning): Typo.
833 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
835 * THANKS (Nicolas Joly): Remove duplicate.
837 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
839 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
840 * tests/yacc7.test: Use rm -f.
842 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
844 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
845 * tests/subpkg.test: New file.
846 * tests/Makefile.am (TESTS): Add subpkg.test.
848 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
851 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
852 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
853 * lib/am/scripts.am (install-%DIR%SCRIPTS,
854 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
856 (?%DIR%SCRIPT_INSTALL): New variable.
857 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
858 Reported by Eric Siegerman.
860 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
862 * automake.in (lang_yacc_target_hook): Add rule to recover from
863 the removal of $header.
864 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
865 output by lang_yacc_target_hook).
866 * tests/yacc7.test: Try to recreate foo.h after its removal.
867 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
869 Reported by Bernd Jendrissek.
871 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
874 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
875 suggest `list='$(FILES)'; for f in $$list' instead.
876 * lib/am/distdir.am (distdir): Adjust `for' usage.
877 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
878 * tests/dollar.test: New file.
879 * tests/Makefile.am (TESTS): Add dollar.test.
880 Reported by Eric Siegerman and Philip Fong.
882 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
884 For PR automake/47 (fixed a long time ago):
885 * tests/yacc7.test: Also check that parser sources are distributed.
887 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
889 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
891 (maintainer-clean): Delete autom4te.cache and
892 $(am__CONFIG_DISTCLEAN_FILES).
893 * tests/maintclean.test: New file.
894 * tests/Makefile.am (TESTS): Add maintclean.test.
896 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
898 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
901 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
903 * Makefile.am (maintainer-check): Check for egrep and fgrep.
905 * test/cond22.test: Set SHELL when calling $MAKE -e.
907 2002-05-31 Richard Boulton <richard@tartarus.org>
910 * automake.in (define_objects_from_sources): Calculate the result in
911 all conditions before passing this to subobjname to pick a name to
913 (subobjname): Expect a list of condition/value pairs as input.
914 Combine this list and use it as the key to determine the variable name.
915 * test/cond22.test: New file.
916 * tests/Makefile.am (TESTS): Add cond22.test
918 2002-05-30 Paul Eggert <eggert@twinsun.com>
920 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
921 instead, use shell pattern matching.
923 2002-05-29 Paul Eggert <eggert@twinsun.com>
925 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
926 longer requires them.
928 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
929 of egrep and fgrep. Omit unnecessary -E and -F.
930 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
931 * lib/am/distdir.am (distdir): fgrep -> grep -F.
932 Use $(), not ${}, for Make variables.
933 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
935 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
936 * tests/defs: Set FGREP and EGREP.
938 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
939 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
940 tests/cond21.test, tests/condlib.test, tests/confh4.test,
941 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
942 tests/depend4.test, tests/discover.test, tests/distname.test,
943 tests/dup3.test, tests/empty4.test, tests/fo.test,
944 tests/implicit.test, tests/insh2.test, tests/interp.test,
945 tests/lex.test, tests/lex3.test, tests/lex4.test,
946 tests/libobj5.test, tests/libobj7.test, tests/make.test,
947 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
948 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
949 tests/pr2.test, tests/pr9.test, tests/seenc.test,
950 tests/specflags.test, tests/specflags3.test,
951 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
952 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
953 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
954 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
956 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
959 * m4/depend.m4: Missing comma.
960 * tests/gcj4.test: New file.
961 * tests/Makefile.am (TESTS): Add gcj4.test.
962 Reported by David Pashley.
964 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
966 * tests/defs (configure.in): Don't double-quote $me.
967 * tests/sinclude.test: Overwrite configure.in and use
968 `am__sinclude' instead of `sinclude' as package name.
969 Excercise `m4_sinclude' instead of `sinclude'.
971 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
973 * automake.in (conditional_implies_one_of): Rename as ...
974 (conditional_implies_any): ... this.
975 * tests/pluseq9.test: Exercise another case with the new
977 Suggested by Raja R Harinath.
979 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
981 * tests/defs (configure.in): Quote macro arguments.
982 Reported by Nicolas Joly.
984 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
986 * lib/am/header-vars.am (build_triplet, host_triplet,
987 target_triplet): Define. Were removed by mistake on 2002-04-13.
989 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
992 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
993 * tests/destdir.test: New file.
994 * tests/Makefile.am (TESTS): Add destdir.test.
996 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
998 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
999 (conditional_is_redundant): Simplify.
1000 (conditional_implies_one_of,
1001 variable_not_always_defined_in_cond): New functions
1002 (macro_define): Reject appends if the variable is not defined in
1003 all conditions where `+=' applies.
1004 (invert_conditions): Rewrite. Before this patch,
1005 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
1006 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
1007 wrong (these conditions implies "A_FALSE"). Now it outputs (),
1008 which just means the input conditions cover all cases.
1009 (variable_conditions_permutations): Never output FALSE conditions.
1010 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
1011 in the CHECK_FALSE condition to fix the test.
1012 * tests/pluseq5.test: Actually check the diagnostic.
1013 * tests/pluseq9.test: New file.
1014 * tests/Makefile.am (TESTS): Add pluseq9.test.
1016 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1018 Fix for PR automake/322:
1019 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
1020 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
1021 Handle comments continued by backslashes.
1022 * tests/comment6.test: New file.
1023 * tests/Makefile.am (TESTS): Add comment6.test.
1024 Reported by Braden N. McDaniel.
1026 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
1027 Alexandre Duret-Lutz <duret_g@epita.fr>
1029 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
1030 both `program$(EXEEXT)' and `program'; needed under Cygwin.
1031 * tests/libtool3.test: New file.
1032 * tests/Makefile.am (TESTS): Add libtool3.test.
1034 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1038 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1040 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
1042 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1044 Erase stamps from the Makefile that generates them.
1046 * automake.in (handle_configure): Append each used stamp to
1047 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
1048 file is not used anymore.
1049 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
1051 * tests/subdir6.test: New file.
1052 * tests/Makefile.am (TESTS): Add it.
1054 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1056 Fix for condd.test (conditional `+='):
1057 * automake.in (%appendvar): New.
1058 (initialize_per_input): Clear it.
1059 (macro_define): Handle += for variable defined in another condition.
1060 * automake.texi (Conditional Sources): Use conditional += in
1062 (General Operation, Conditionals): Remove note about broken +=.
1063 * tests/cond21.test: New file.
1064 * tests/condd.test: Also test conditional append to a _SOURCE
1065 variable. Create missing directories.
1066 * tests/Makefile.am (TESTS): Add cond21.test.
1067 (XFAILS): Remove condd.test.
1069 2002-05-05 Tom Tromey <tromey@redhat.com>
1071 * automake.texi (Program and Library Variables): Mention _LFLAGS.
1073 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1075 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
1076 files. Fix subobj9.test on OSF and IRIX.
1077 Reported by Nelson H. F. Beebe.
1079 2002-04-26 Tom Tromey <tromey@redhat.com>
1081 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
1082 For Debian bug 144221.
1084 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1086 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
1088 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1090 * automake.in (subobjname): Use the length of %subobjvar
1091 instead of $subobjnamenum.
1092 (subobjnamenum): Remove.
1094 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1096 For PR automake/307:
1097 * lib/depcomp: Never compute dependencies in the background, this
1098 can cause races with libtool. Compute the dependencies after
1099 the actual compilation. Don't make libtool silent now that
1100 it's run in the foreground.
1101 * tests/pr307.test: New file.
1102 * tests/Makefile.am (TESTS): Add pr307.test.
1103 Reported by Laurent Morichetti.
1105 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1107 * lib/am/check.am: Show skipped tests. Display the
1108 $(PACKAGE_BUGREPORT) address on failure.
1110 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1112 Fix PR automake/315:
1113 * automake.in (subobjname): Rewrite to generate variable name
1114 unique for each content.
1115 (%substnums): Remove.
1116 (%subobjvar): New hash.
1117 (initialize_per_input): Clear %subobjvar.
1118 (define_objects_from_sources): Return the name of the variable
1119 defined, in addition to the linker. Call subobjname only once
1120 the content of the variable to define is known.
1121 (handle_source_transform): Adjust call to define_objects_from_sources.
1122 * tests/specflags8.test: Mention PR 315.
1123 * tests/subobjname.test: New file.
1124 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
1125 (TESTS): Add subobjname.test.
1127 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1129 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
1130 the whole file for 'generated by automake', not only the
1131 first line. This accounts for post-processed Makefile.in's.
1132 * tests/postproc.test: New file.
1133 * tests/Makefile.am (TESTS): Add postproc.test.
1135 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1137 For PR automake/151 and PR automake/314:
1138 * automake.texi (A Program): Split into
1139 (Program Sources, Linking, Conditional Sources, Conditional
1140 Programs): ... these subsections; moving the Linking node
1141 before the Conditional discussions.
1142 (Conditional Sources): More details. Notably, mention
1144 (Conditionals): Adjust reference to Conditional Programs.
1146 2002-04-19 Paul Eggert <eggert@twinsun.com>
1148 Fix some bugs when using "$@" when there might be zero positional
1149 arguments in cases where this matters. Zsh doesn't support
1150 the workaround ${1+"$@"} that has been used by Automake since
1151 the Mon Dec 4 11:55:36 1995 change.
1153 * aclocal.in: Use 'case' statement to work around problem.
1154 * automake.in: Likewise.
1155 * lib/ylwrap: Likewise.
1156 * lib/missing: No need for workaround, as the command is never
1157 invoked with zero arguments.
1158 * tests/ccnoco.test: Likewise.
1159 * missing: Update from lib/missing.
1161 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1163 * automake.in (initialize_per_input): Clear %require_file_found.
1164 (%require_file_found): Group the declaration with the other
1165 variables initialized by initialize_per_input.
1166 * tests/required.test: New file.
1167 * tests/Makefile.am (TESTS): Add it.
1168 Reported by Marius Vollmer.
1170 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1172 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
1173 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
1174 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
1175 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
1176 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
1178 * tests/confh5.test: New file.
1179 * tests/Makefile.am (TESTS): Add confh5.test.
1180 * automake.texi (Optional, Public macros): Update descriptions
1181 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
1183 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1185 * tests/man2.test: New file.
1186 * tests/Makefile.am (TESTS): Add man2.test.
1187 * lib/am/mans.am (install-man%SECTION%): Change the extension
1188 of the man pages being installed, as documented.
1190 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1192 Enable traces; wipe out the old configure.in parser.
1194 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
1195 'autoconf'. Honnor the $filename argument.
1196 (scan_autoconf_files): Don't call scan_one_autoconf_file.
1197 Always call scan_autoconf_traces.
1198 (scan_one_autoconf_file): Remove, with it associated regexes.
1199 (obsolete, obsolete_rx): Remove.
1200 (register_language, handle_languages): Remove the 'define_flag'
1201 support. Remove it from the struct and language definitions too.
1202 (unquote_m4_arg): Remove.
1203 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
1204 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
1205 are now generated automatically.
1206 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
1208 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
1210 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1212 * tests/version6.test: New file.
1213 * tests/Makefile.am (TESTS): Add tests/version6.test.
1214 * automake.in (version_check): Return 0 on equality.
1216 2002-04-13 Andreas Schwab <schwab@suse.de>
1218 * THANKS: Update my mail address.
1220 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1222 * tests/discover.test: Use a full configure.in that calls AC_INIT.
1223 Use AC_LIBOBJ. Grep the error message.
1224 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
1225 Grep the error message. Require libtool.
1226 * tests/ldflags.test: Don't use LIBOBJS.
1227 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
1228 error messages for CC and CXX.
1230 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1232 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
1234 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
1235 * tests/ext.test: Enable dependencies for OBJC.
1236 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
1237 Delete. They tests for different flavors of $LIBOBJS assignments
1238 that wont be supported anymore.
1239 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
1240 * tests/obsolete.test: Don't test Automake.
1241 * tests/suffix5.test: Require libtool.
1242 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
1245 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1247 * configure.in (APIVERSION): Fix definition.
1249 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1251 * NEWS: Catch up with changes since 1.6.
1253 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1255 * tests/yacc8.test: Don't assume GNU make, run config.status
1256 to regenerate the Makefile.
1258 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1260 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
1261 always followed by a SHELL setting.
1262 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
1263 SHELL when calling `$MAKE -e'.
1265 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1267 * tests/subobj9.test: Use configure.in, not configure.ac,
1268 otherwise this fails with old libtool versions.
1270 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1272 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1275 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1277 * ChangeLog.2001: New file, extracted from ChangeLog.
1278 * Makefile.am (EXTRA_DIST): Add it.
1280 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1282 * automake.texi (Canonicalization): The sources for libmumble++.a
1283 go into libmumble___a_SOURCES.
1285 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1287 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
1288 test suite. Suggest `sleep 2' instead.
1289 * tests/confsub.test: Use `sleep 2'.
1291 2002-04-04 Paul Eggert <eggert@twinsun.com>
1293 * lib/am/subdirs.am:
1294 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
1295 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
1296 MAKEFLAGS contains '$(...)'.
1298 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1300 * tests/specflags8.test: Typo.
1302 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1304 * tests/specflags6.test: Run aclocal.
1305 * tests/Makefile.am (TESTS): Add specflags6.test.
1307 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1309 * tests/specflags7.test, tests/specflags8.test: New files.
1310 * tests/Makefile.am (TESTS): Add them.
1311 (XFAIL_TESTS): Add specflags8.test.
1313 2002-03-29 Tom Tromey <tromey@redhat.com>
1315 * automake.in (check_typos): Examine AM_LDFLAGS.
1316 Fixes PR automake/311.
1318 For PR automake/312:
1319 * lib/am/libtool.am (clean-libtool): Use LTRMS.
1320 * automake.in (handle_single_transform_list): When processing a
1321 libtool object, clean the ordinary object and register the
1323 (libtool_clean_directories): New global.
1324 (initialize_per_input): Initialize it.
1325 (generate_makefile): Call handle_libtool later.
1326 (handle_libtool): Handle libtool_clean_directories.
1327 * tests/subobj9.test: New file.
1328 * tests/Makefile.am (TESTS): Added subobj9.test.
1330 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1332 * tests/extra6.test, tests/subdir5.test: Require GNU make.
1334 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1336 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
1338 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1340 * tests/extra7.test: New file.
1341 * tests/Makefile.am: Add it.
1342 * lib/am/distdir.an (distdir): When a distribuable directory
1343 exists both in `.' and $(srcdir), merge both directories. This
1344 works around a failure of extra6.test on Tru64 reported by
1347 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1349 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
1351 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1353 * Makefile.am (maintainer-check): Catch occurrences of
1354 `$MAKE foo=bar' in the testsuite. Suggest using
1355 `foo=bar $MAKE -e' instead.
1356 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
1357 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
1358 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
1359 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
1361 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1363 Fix for PR automake/310:
1364 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
1365 so it never appears as a plain word.
1367 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1369 * lib/depcomp (tru64): Correctly compute `base'.
1371 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1373 * tests/pr211.test: s/requires/required/, otherwise the test fails
1374 if libtool is not installed.
1376 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1378 * tests/dirname.test: Don't use $SHELL when calling ./configure.
1380 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1382 * tests/dirname.test: Use --quiet to fix failure on installations
1383 using a site script.
1384 Reported by Nicolas Joly.
1386 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1388 * Makefile.am (maintainer-check): Check for misuses of make,
1389 autoconf, automake, aclocal, and perl in the testsuite. Suggest
1390 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
1391 * tests/confsub.test: Use $AUTOCONF and $MAKE.
1392 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
1393 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
1394 tests/pr224.test, tests/pr287.test, tests/strip.test,
1395 tests/yacc8.test: Use $MAKE.
1397 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1399 Add support for two-dot versions.
1401 * tests/version5.test: New file.
1402 * tests/Makefile.am (TESTS): Add it.
1403 * automake.in (version_split, version_compare): New functions.
1404 (version_check): Rewrite using version_split and version_compare.
1405 (process_option_list): Adjust regex.
1407 2002-03-18 Richard Boulton <richard@tartarus.org>
1409 Fix for PR automake/306:
1410 * automake.texi (Generalities): Document +=.
1411 (Conditionals): Document limitations of += with conditionals.
1413 2002-03-17 Tom Tromey <tromey@redhat.com>
1415 Fix for PR automake/295:
1416 * automake.texi (Invoking Automake): Deprecate --output-dir.
1417 * automake.in (usage): Don't document --output-dir.
1418 (output_directory): Don't initialize.
1419 (parse_arguments): Deprecate --output-dir.
1421 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
1422 Fixes PR automake/304.
1424 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1426 * tests/dirforbid.test: Workaround for NetBSD sh bug.
1427 Fixes PR automake/305.
1429 2002-03-11 Richard Boulton <richard@tartarus.org>
1431 * automake.in (check_typos): Allow variables with reserved
1432 suffices (such as _LDFLAGS) and prefixes which aren't
1433 recognised if the variable is defined in configure.ac.
1436 2002-03-11 Richard Boulton <richard@tartarus.org>
1438 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
1439 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
1440 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
1442 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
1444 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
1447 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1449 Fix for PR automake/303:
1450 * automake.in (version_check): Move the error message ...
1451 (process_option_list): ... here, so we can distinguish between
1452 global and local options.
1454 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1456 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1457 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
1458 Autoconf doesn't complain about Makefile being output twice.
1460 2002-03-06 Tom Tromey <tromey@redhat.com>
1462 * configure.in: Upped version to 1.6a.
1464 2002-03-05 Tom Tromey <tromey@redhat.com>
1466 * configure.in: Released 1.6.
1468 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1470 Fix for PR automake/300:
1471 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1472 tests/pr300-prog.test: New files.
1473 * tests/Makefile.am (TESTS): Add them.
1474 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
1475 compute the directory.
1476 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
1477 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
1478 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
1479 (uninstall-%DIR%LIBRARIES): Honor nobase_.
1480 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
1481 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
1482 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
1483 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
1484 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
1485 (uninstall-%DIR%PROGRAMS): Honor nobase_.
1486 See also the fix for nobase.test on 2001-11-09.
1488 2002-03-05 Tom Tromey <tromey@redhat.com>
1490 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
1492 2002-03-05 Pavel Roskin <proski@gnu.org>
1494 * tests/yacc8.test: Add a command between "test" and "cd" to
1495 work around a bug in bash-2.05.
1497 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1499 Fix for PR automake/294:
1500 * tests/dirforbid.test: New file.
1501 * tests/Makefile.am (TESTS): Add it.
1502 * automake.in (standard_prefix): New hash.
1503 (am_primary_prefixes): Forbid standard_prefixes which are not
1504 explicitely allowed.
1505 * automake.texi (Uniform): Remove FIXME.
1507 2002-03-05 Jim Meyering <meyering@lucent.com>
1509 * automake.in (@common_files): Add config.rpath.
1511 2002-03-05 Kevin Ryde <user42@zip.com.au>
1513 For PR automake/297:
1514 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
1515 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
1518 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1520 * automake.in (scan_one_autoconf_file): Declare
1521 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
1522 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
1523 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
1524 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
1525 of s/// in the sed invocation, to support filenames containing
1527 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
1528 * tests/lex5.test, tests/yacc8.test: New files.
1529 * tests/Makefile.am (TESTS): Add them.
1531 2002-02-23 Per Bothner <per@bothner.com>
1533 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
1536 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1538 * tests/make.test: Revert the grep logic to work around a bug
1539 in NetBSD sh (see NetBSD Problem Report #11542).
1540 Reported by Patrick Welche.
1542 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
1544 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
1545 to try and prevent a non-lisp emacs from starting in interactive
1547 * automake.texi: Document this change.
1549 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1551 * automake.texi (Macros): Split into ...
1552 (Public Macros, Private Macros): ... these.
1554 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1556 * tests/insthook.test: Use sed instead of "tail +X".
1558 2002-02-18 Paul Eggert <eggert@twinsun.com>
1560 * lib/depcomp: Don't use "tail +3"; it's not portable to
1561 POSIX 1003.1-2001 hosts.
1563 2002-02-18 Jim Meyering <meyering@lucent.com>
1565 * tests/cond12.test: Use sed 1q, not `head -n 1'.
1566 The latter is not portable to some old systems.
1567 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
1568 Use `sed 1q' instead.
1569 * tests/insthook.test: Likewise.
1571 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1573 * automake.in (handle_lib_objects_cond): Tell the user to put
1574 global linker flags in AM_LDFLAGS, not LDFLAGS.
1576 * automake.texi (General Operation): AC_SUBST'ed variables
1577 override Automake's variables.
1578 (Uniform): More words and @refs.
1579 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
1580 (etags): More explanations about the first example.
1581 (Invoking Automake): Mention autoreconf. More @refs.
1582 (Requirements): Mention AC_CONFIG_FILES.
1583 (Optional): AC_CHECK_TOOL will no longer install config.sub and
1584 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
1585 (Invoking aclocal): aclocal no longer warn about duplicates.
1586 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
1587 (Extending aclocal): Suggest using the output of
1588 `aclocal --print-ac-dir` to install third-party macros.
1589 (Alternative): Specify ordering of dist_, nodist_, and nobase_
1591 (A Program): Mention scripts. The global LDADD variable is not
1592 meant to hold link flags, suggest using AM_LDFLAGS instead.
1593 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
1594 _LIBADD and _LDADD are subject to the same restriction wrt to
1596 (Program and Library Variables) <maude_DEPENDECIES>: Is also
1597 derived from maude_LIBADD.
1598 (Program variables): Define AM_LDFLAGS.
1599 (Dependencies): Passing the no-dependencies option to
1600 AM_INIT_AUTOMAKE is prefered.
1601 (Scripts): Explain why automake is magically cleaned.
1602 Mention noinst_SCRIPTS and check_SCRIPTS.
1603 (Data): Use dist_ in Automake's example.
1604 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
1605 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
1607 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1609 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
1610 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
1611 of asking the maintainer to do it manually.
1612 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
1613 Automake/XFile.pm: New upstream versions.
1615 2002-02-02 Tom Tromey <tromey@redhat.com>
1617 * automake.texi (Macros): Warn about upgrading.
1619 2002-02-01 Tom Tromey <tromey@redhat.com>
1621 Change per GNU coding standards:
1622 * aclocal.in (parse_arguments): Only mention most recent year in
1624 * automake.in (version): Only mention most recent year.
1626 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1628 * automake.texi (API versioning): New Node.
1629 (Extending): Use $(DESTDIR) in examples.
1631 2002-01-28 Akim Demaille <akim@epita.fr>
1633 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
1634 Respect the --help layout.
1636 2002-01-27 Tom Tromey <tromey@redhat.com>
1638 * configure.in: Bumped to 1.5e.
1640 * lib/am/yacc.am: Use `rm -f'.
1642 * configure.in: Released 1.5d.
1644 * lib/config.guess: New version from FSF.
1646 * Makefile.am (uninstall-hook): New target.
1648 2002-01-24 Akim Demaille <akim@epita.fr>
1650 * lib/install-sh: Update, from Autoconf.
1652 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1654 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
1655 as AC_CANONICAL_HOST (the former does not require the latter since
1657 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
1658 * automake.texi (Requirements): Do not require STRIP to be
1659 defined by the user.
1661 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1663 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
1664 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
1665 * tests/pr224.test: Make sure .deps subdirectories are
1666 erased by distclean.
1668 2002-01-22 Tom Tromey <tromey@redhat.com>
1670 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
1671 no-dependencies option is set.
1672 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
1673 no-dependencies option is set. Don't call AM_DEP_TRACK or
1676 2002-01-22 Pavel Roskin <proski@gnu.org>
1678 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
1681 2002-01-22 Akim Demaille <akim@epita.fr>
1683 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
1686 2002-01-21 Tom Tromey <tromey@redhat.com>
1688 * Makefile.am (fetch): Don't fetch ansi2knr.
1690 * automake.texi (Macros): Updated for new variable names.
1691 (Program and Library Variables): Likewise.
1692 (Assembly Support): Likewise.
1693 * m4/as.m4: Use CCAS and CCASFLAGS.
1694 * automake.in (asm): Use CCAS and CCASFLAGS.
1696 2002-01-21 Akim Demaille <akim@epita.fr>
1698 * automake.in (&parse_arguments): Use a more GNUish error message
1701 2002-01-20 Tom Tromey <tromey@redhat.com>
1703 Fix for PR automake/231:
1704 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
1705 * m4/depend.m4: Document `GCJ'.
1707 For PR automake/224:
1708 * tests/Makefile.am (TESTS): Added pr224.test.
1709 * tests/pr224.test: New file.
1710 * lib/depcomp: Fixed computation of depfile.
1711 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
1712 * automake.in (handle_single_transform_list): Only reject `..'
1713 component for Java. Put dependencies in directory near object.
1714 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
1716 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1718 * tests/defs: Export AUTOMAKE and ACLOCAL.
1720 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1722 Fix for PR automake/204:
1723 * tests/pr204.test: New file.
1724 * tests/Makefile.am (TESTS): Add it.
1725 * automake.in (handle_single_transform_list): Don't distribute
1726 sources derived from non-distributed sources.
1728 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1730 Fix for PR automake/229:
1731 * tests/pr229.test: New file.
1732 * tests/Makefile.am (TESTS): Add it.
1733 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
1734 AC_EMXOS2, and AC_MINGW32.
1736 2002-01-18 Tom Tromey <tromey@redhat.com>
1738 * tests/cond7.test: Fix test bug exposed by copyright update.
1740 For PR automake/288:
1741 * automake.in (lang_c_rewrite): Don't prepend directory to base if
1742 directory is `.'. Also, properly compute de_ansi_files entry in
1744 * tests/Makefile.am (TESTS): Added ansi7.test.
1745 * tests/ansi7.test: New file.
1747 * aclocal.in (parse_arguments): Added 2002.
1748 (write_aclocal): Likewise.
1749 (parse_arguments): Updated my email address.
1750 * automake.in (gen_copyright): Added 2002.
1751 (version): Likewise. Also, changed my email address.
1753 * configure.in (APIVERSION): Refined definition.
1755 2002-01-18 Tom Tromey <tromey@redhat.com>
1758 * lib/missing: Accept versioned aclocal.
1759 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
1761 2002-01-17 Pavel Roskin <proski@gnu.org>
1763 * m4/Makefile.am (m4datadir): Use APIVERSION.
1765 2002-01-16 Tom Tromey <tromey@redhat.com>
1767 * Makefile.am (install-exec-hook): Use APIVERSION.
1768 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
1769 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
1771 * automake.in (perllibdir): Use APIVERSION.
1773 * aclocal.in (perllibdir): Use APIVERSION.
1774 (APIVERSION): New global.
1775 (parse_arguments): Use APIVERSION.
1776 * configure.in (APIVERSION): New subst.
1777 (pkgvdatadir): Use APIVERSION.
1779 2002-01-15 Tom Tromey <tromey@redhat.com>
1782 * lib/missing: Match against `automake*' to pick up versioned
1784 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
1785 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
1787 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
1788 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
1790 (scriptdir): Use pkgvdatadir.
1791 (installcheck-local): Likewise.
1792 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
1793 * automake.in (perllibdir): Added VERSION.
1795 * aclocal.in (parse_arguments): Search versioned directory. Don't
1796 push unversioned directory unless it exists.
1797 (perllibdir): Added VERSION.
1798 (default_acdir): New global.
1799 * m4/Makefile.am (m4datadir): Added $(VERSION).
1800 * Makefile.am (install-exec-hook): New target.
1801 * configure.in (ACLOCAL): Search build directory.
1802 (pkgvdatadir): New subst.
1804 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1806 * lib/config.sub, lib/config.guess: New versions from FSF.
1808 2002-01-13 Tom Tromey <tromey@redhat.com>
1810 For PR automake/288:
1811 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
1813 (lang_c_finish): Likewise. Also, use directory information from
1816 2002-01-13 Kevin Ryde <user42@zip.com.au>
1818 For PR automake/288:
1819 * tests/Makefile.am (TESTS): Added ansi6.test.
1820 * tests/ansi6.test: New file.
1822 2002-01-13 Tom Tromey <tromey@redhat.com>
1824 For PR automake/287:
1825 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
1827 * tests/Makefile.am (TESTS): Added pr287.test.
1828 * tests/pr287.test: New file.
1830 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1832 * lib/am/distdir.am (distdir): Handle subdirectories.
1833 * tests/extra6.test: New file.
1834 * tests/Makefile.am (TESTS): Add it.
1836 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1838 * tests/extra2.test: Run $ACLOCAL.
1840 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1842 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
1843 AM_INIT_AUTOMAKE arguments when using the old-style call.
1844 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
1845 Suggested by Pavel Roskin.
1847 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1849 * test/nodefine.test, test/nodefine2.test: Check that no-define
1850 works, not the contrary...
1851 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
1852 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
1855 2002-01-12 Jim Meyering <meyering@lucent.com>
1857 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
1858 * tests/libobj11.test: New file.
1859 * tests/Makefile.am (TESTS): Add libobj11.test.
1861 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
1863 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
1865 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1867 * automake.in (file_contents_internal): Introduce two variables,
1868 $is_rule and $discard_rules to track rules spanning across multiple
1869 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
1870 where only the first paragraph of such a multi-paragraph rule was
1871 discarded; but it leaves many similar latent bugs (see the FIXMEs).
1873 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1875 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
1876 * tests/error.test: Use some macro names which are not defined by
1879 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1881 * automake.texi (Complete, Macros, Options): Document the new style
1882 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
1883 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
1884 AC_INIT if they are available there. Support a new call form
1885 where the only argument is an optional space-separated list of
1887 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
1888 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
1889 _AM_IF_OPTION): New functions.
1890 * automake.in (AC_INIT_PATTERN): New variable.
1891 (global_options_line): Remove, use $seen_init_automake instead.
1892 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
1893 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
1894 Remove the AM_AUTOMAKE_OPTIONS handling.
1895 * configure.in: Modernize.
1896 * tests/defs (configure.in): Modernize. One third of the tests
1897 still overwrite the default configure.in and use an old
1898 AM_INIT_AUTOMAKE call, so that makes testing for both.
1899 * tests/nodefine.test, tests/nodefine2.test: New files.
1900 * tests/Makefile.am (TESTS): Add them.
1902 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
1904 * automake.in (define_configure_variable): Propagate line numbers.
1906 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1908 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1910 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1912 * configure.in: Run the Autoconf test in a subdirectory, then
1913 erase this directory.
1915 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1917 * configure.in (AUTOMAKE): Create m4/amversion.m4.
1918 * m4/amversion.in: New file.
1919 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1920 (dist_m4data_DATA): ... this.
1921 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1922 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1923 AM_SET_CURRENT_AUTOMAKE_VERSION.
1924 * automake.in (seen_automake_version): New variable.
1925 (scan_autoconf_traces, scan_one_autoconf_file,
1926 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1927 when the version used in aclocal.m4 differs from Automake's.
1928 * tests/defs (ACLOCAL): Look in ../m4 too.
1929 * tests/installsh.test (ACLOCAL): Likewise.
1930 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1932 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1934 * automake.in (handle_languages): Emit an automake
1935 internal variable 'am__depfiles_maybe'.
1936 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1938 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1941 2002-01-06 Tom Tromey <tromey@redhat.com>
1943 * automake.texi (Tags): Document new variables.
1944 * lib/am/tags.am (ETAGS): New macro.
1945 (ETAGSFLAGS): Likewise.
1948 2002-01-04 Tom Tromey <tromey@redhat.com>
1950 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1952 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1954 * automake.in (read_am_file): Thinko in "comment following
1955 trailing backslash" detection.
1956 * tests/comment5.test: Test for this too.
1958 2002-01-02 Tom Tromey <tromey@redhat.com>
1960 * automake.texi (Extending): Added index for uninstall-hook.
1962 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1964 Fix for PR automake/278:
1965 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1966 with versions such as '2.2c1'. Also, use `int' instead of the
1967 obsoleted `string.atoi'.
1968 Reported by Enrico Scholz.
1970 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1972 Fix for PR automake/280:
1973 * automake.in (read_am_file): Warn about trailing backslashes
1975 * tests/comment5.test: New file.
1976 * tests/Makefile.am (TESTS): Add comment5.test.
1977 Reported by Enrico Scholz.
1979 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1981 * tests/comment4.test: New file.
1982 * tests/Makefile.am (TESTS): Add comment4.test.
1984 Fix for comment4.test:
1985 * automake.in (read_am_file): Output leading comments only when
1986 encountering white lines.
1988 2002-01-01 Tom Tromey <tromey@redhat.com>
1990 For PR automake/234:
1991 * tests/Makefile.am (TESTS): Added strip.test.
1992 * tests/strip.test: New file.
1994 * automake.texi (Extending): Mention uninstall-hook.
1995 (Install): Likewise.
1996 * automake.in (handle_factored_dependencies): Allow
1999 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2001 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
2002 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
2003 This fixes a bug introduced on 2001-01-28.
2004 Reported by Jared Davis.
2008 Copyright (C) 2002 Free Software Foundation, Inc.
2010 This file is part of GNU Automake.
2012 GNU Automake is free software; you can redistribute it and/or modify
2013 it under the terms of the GNU General Public License as published by
2014 the Free Software Foundation; either version 2, or (at your option)
2017 GNU Automake is distributed in the hope that it will be useful,
2018 but WITHOUT ANY WARRANTY; without even the implied warranty of
2019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2020 GNU General Public License for more details.
2022 You should have received a copy of the GNU General Public License
2023 along with autoconf; see the file COPYING. If not, write to
2024 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2025 Boston, MA 02111-1307, USA.