1 2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
4 * m4/python.m4: Fix output of `python' in checking messages
5 when no version of Python is required.
7 2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
9 * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
10 was generated by gcc -MF.
12 2002-08-23 Pavel Roskin <proski@gnu.org>
14 * lib/am/progs.am: Exit in case of install failure, otherwise
15 it is ignored on Cygwin because of the surrounding "for" loop.
17 2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
19 * automake.texi (Top level): More words about conditional
20 subdirectories. Don't mention AC_PROG_MAKE_SET.
21 * tests/subdircond2.test, tests/subdircond3.test: New files.
22 * tests/Makefile.am (TESTS): Add them.
25 * automake.in (MACRO_PATTERN): Allow `.' in variable names.
26 (scan_variable_expansions, check_variable_expansions): New functions.
27 (macro_define): Call check_variable_expansions.
28 (read_am_file): Likewise, when outputing rules.
29 (variable_conditions_recursive_sub): Simplify using
30 scan_variable_expansions.
31 * tests/vars3.test: New file.
32 * tests/Makefile.am (TESTS): Add vars3.test.
33 * tests/colneq.test: Use -Wno-portability.
35 * lib/Automake/Channels.pm (buffering, backlog): New variables.
36 (buffer_messages, flush_messages): New functions.
37 (@EXPORT): Add buffer_messages and flush_messages.
38 * automake.in (generate_makefile): Call buffer_messages and
39 flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
42 * automake.in (read_am_file): File computation of path to
43 included file, when $(top_srcdir) is not used.
44 * tests/include2.test: Augment.
46 2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
48 * automake.in (set_strictness): Never enable 'portability'
50 (usage): Adjust `-Wportability' doc.
51 * automake.texi (Invoking Automake): Likewise.
52 Suggested by Ralf Corsepius.
54 2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
56 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
57 so_location files in current directory.
59 Fix for PR automake/346:
60 * automake.texi (Optional): Supress the documentation for
61 AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
62 AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
63 AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
64 AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
65 AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
66 documentation of AC_LIBSOURCE and AC_SUBST to explain this
67 applies to any macro that calls them.
69 2002-08-19 Tom Tromey <tromey@redhat.com>
72 * tests/Makefile.am (TESTS): Added include2.test.
73 * tests/include2.test: New file.
74 * tests/include.test: Check to make sure include file is
76 * automake.in (read_am_file): Distribute included files.
78 2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
80 Fix for PR automake/345:
81 * tests/defs: Add support for required=non-root, stolen
82 from fileutils' test suite.
83 * tests/destdir.test: Use required=non-root.
85 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
87 2002-08-17 Tom Tromey <tromey@redhat.com>
90 * automake.in (rule_define): Given portability warning if "%" seen
92 (TARGET_PATTERN): Added `%'.
93 * tests/Makefile.am (TESTS): Added percent.test.
94 * tests/percent.test: New file.
96 2002-08-15 Art Haas <ahaas@neosoft.com>
98 * lib/am/depend2.am: Use correct name for dependency file in
101 2002-08-14 Art Haas <ahaas@neosoft.com>
103 * lib/am/depend2.am: Added missing `;'.
105 2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
107 * automake.texi (Python): Fix wording.
109 * tests/ext2.test: New file. This bug is present in Automake 1.6.3
110 and was fixed by the change on variable_conditions_permutations
111 and invert_conditions on 2002-05-16.
112 * tests/Makefile.am (TESTS): Add ext2.test.
113 Reported by Ladislav Strojil.
115 2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
117 * aclocal.in (parse_arguments): Add `dirlist' paths add the
118 very end of the search path, after aclocal-APIVERSION/ and
120 * automake.texi (Macro search path): Adjust to reflect the
122 * tests/dirlist.test: Check for this.
124 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
126 * aclocal.in (parse_arguments): Add support for extending
127 default macro search path, using a `dirlist' file within
128 the aclocal directory.
129 * automake.texi (Invoking aclocal): Move option descriptions into ...
130 (aclocal options): ... this new node.
131 (Macro search path): New node.
132 * tests/dirlist.test: New file.
133 * tests/Makefile.am (TESTS): Add dirlist.test.
134 * m4/dirlist: New file.
135 * m4/Makefile.am (EXTRA_DIST): Add dirlist.
136 * tests/defs: Honor any installed dirlist when searching for
137 libtool.m4 and gettext.m4.
139 2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
141 Build info files in builddir instead of srcdir (for PR automake/168),
142 and prepare support for info files in subdirecties.
143 * automake.in (output_texinfo_build_rules): New function.
144 (handle_texinfo_helper): Use output_texinfo_build_rules, and
145 prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
146 * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
147 current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
149 * lib/am/texibuild.am: Rewrite to output files in the current
150 directory, not $(srcdir). Also, support both generic and
151 non-generic output. Pass `-o $@' to makeinfo, texinfo, and
152 texi2dvi (for PR automake/339).
153 * tests/texinfo3.test: Make sure the `.texi:' rule is output.
154 * tests/texinfo10.test: Use set -e, so the checks are not ignored.
155 * tests/texinfo16.test: New file.
156 * tests/Makefile.am (TESTS): Add texinfo16.test.
158 2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
160 * aclocal.in (write_aclocal): Don't write the filename ($output_file)
161 in the aclocal.m4 header.
163 * configure.in: Require Autoconf 2.53b.
165 2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
167 * configure.in: Bump version to 1.6c.
169 * configure.in: Bump version to 1.6b.
170 * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
172 * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
173 since this file is processed by config.status.
175 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
177 * automake.in (read_am_file): Escaped newlines in comments are not
178 portable. If a comment line doesn't start with a `#', add it.
179 * tests/comment6.test: Ensure this is done.
181 2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
183 Fix failures reported by Patrick Welche on NetBSD.
184 * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
186 * tests/obsolete.test: Source obs.1 and obs.2 from current
189 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
191 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
194 2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
196 * tests/required2.test: New file.
197 * tests/Makefile.am (TESTS): Add required2.test.
198 * automake.in (initialize_per_input): Remove %require_file_found
199 setting. This reverts my change of 2002-04-19.
200 (require_file_internal): Use the full name of a file as a
201 key in %require_file_found, not only the basename.
202 Reported by Andrew Suffield.
204 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
206 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
207 * tests/subdir7.test: New file.
208 * tests/Makefile.am (TESTS): Add subdir7.test.
210 * lib/mkinstalldirs: Remove Id keyword.
212 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
213 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
214 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
215 * automake.texi (Options) <std-options>: Document
216 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
217 (Gnits): Reference std-options.
218 * tests/gnits3.test: New file.
219 * tests/Makefile.am (TESTS): Add gnits3.test.
220 Suggested by Jim Meyering.
222 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
224 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
225 Replace the sed script by calls to grep, easier to debug.
226 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
228 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
230 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
231 Always strip the directory part before applying $(transform),
232 even for nobase_ targets.
233 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
235 * tests/nobase.test: Use --program-prefix while testing nobase
238 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
240 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
241 * tests/Makefile.am (TESTS): Remove dirname.test.
243 * m4/init.m4: Require Autoconf 2.53b.
244 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
245 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
246 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
247 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
248 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
249 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
250 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
251 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
253 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
254 AU_DEFUNed in m4/obsolete.m4.
255 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
256 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
257 and obsolete.m4. Remove termios.m4 and winsz.m4.
258 * aclocal.in (obsolete, obsolete_rx): Remove.
259 (scan_configure): Don't grep for obsolete macros.
260 * tests/defs (AUTOUPDATE): Define.
261 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
262 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
265 Fix for PR automake/338:
266 * automake.in (seen_gettext_external): New variable.
267 (handle_gettext): Conditionalize the intl/ check on
268 $seen_gettext_external. Fix grep usage.
269 (scan_autoconf_traces): Set $seen_gettext_external if
270 `external' is passed to AM_GNU_GETTEXT.
271 * tests/gettext.test, tests/gettext2.test: New files.
272 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
274 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
275 Akim Demaille <akim@epita.fr>
277 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
278 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
279 (AM_CONFIG_HEADER): ... this new definition for compatibility.
280 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
281 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
282 * tests/confh5.tests: Delete.
283 * tests/Makefile.am (TESTS): Remove confh5.tests.
285 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
287 * automake.in (handle_single_transform_list): Typo.
289 * lib/Automake/Channels.pm (dup_channel_setup,
290 drop_channel_setup): New functions.
292 * automake.in (generate_makefile): Call dup_channel_setup and
294 (process_option_list): Recognize --warnings and -W options.
295 * automake.texi (Options): Document them.
296 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
298 * tests/warnopts.test: New file.
299 * tests/Makefile.am (TESTS): Add warnopts.test.
301 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
303 * automake.in: Register warning channel `gnu'.
304 (set_strictness): Turn on `gnu' in --gnu and --gnits.
305 (usage): Mention the `gnu' category.
306 (%var_is_am): Replace by ...
307 (%var_owner): ... this, which uses ...
308 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
309 Adjust all uses of %var_is_am.
310 (handle_languages): Warn about user variables being overriden.
311 (require_variables): Also check %configure_vars for the existence
312 of a required variable.
313 * automake.texi (Invoking Automake): Document -Wgnu.
314 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
316 * tests/gnuwarn.test: New file.
317 * tests/Makefile.am (TESTS): Add gnuwarn.test.
319 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
321 Fix for PR automake/337:
322 * automake.in: Redefine the `flags' attribute of each language
323 as a list. List CPPFLAGS in `flags' when it is used.
324 (register_language): Set the default value of 'flags'.
325 (handle_single_transform_list): Adjust to treat `flags' as a list.
326 (handle_languages): Likewise. Don't bother defining the
327 configure variable for `c', this is always done since we trace
329 * automake.texi (etags): Use per-executable _CPPFLAGS.
330 (Program and Library Variables): Mention maude_CPPFLAGS.
331 (Program variables): Likewise.
332 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
333 * tests/specflags9.test: New file.
334 * tests/Makefile.am (TESTS): Add specflag9.test.
336 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
338 * automake.texi: Use `variable' instead of `macro' everywhere it
339 designates a Makefile variable.
340 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
341 `flags', not `macros'. `Macro' means something else in Texinfo.
342 Also show how to use these flags.
343 * automake.in (file_contents_internal): s/macro/variable/ in
346 * automake.in (parse_arguments): Call Getopt twice: once to catch
347 --help or --verbose, and once to process the other arguments.
348 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
349 should always be 0 because of the change to parse_arguments).
350 * tests/Makefile.am (TESTS): Add getopt.test.
351 * tests/getopt.test: New file.
353 2002-07-09 Tom Tromey <tromey@redhat.com>
356 * automake.texi (Tags): Document ctags.
357 * automake.in (handle_tags): Handle ctags.
358 * lib/am/tags.am (CTAGS): New macro.
359 (CTAGSFLAGS): Likewise.
361 (distclean-tags): Remove `tags'.
363 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
365 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
366 before passing to cygpath. Partial fix for PR automake/334.
368 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
370 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
372 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
374 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
376 * automake.in (usage, version): Honor $exit_code.
377 (parse_arguments): Use fatal.
379 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
381 * automake.texi (Invoking Automake): Document WARNINGS.
382 * automake.in (switch_warning, parse_WARNINGS): New function.
383 (setup_warnings): Rename to ...
384 (parse_warnings): ... this. Move most of the code to switch_warning.
385 Accept a comma separated list of categories.
386 * tests/vars2.test: Use a comma separated list of warning categories.
388 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
390 * NEWS (New in 1.6): Mention that libtoolize is no longer run
393 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
395 Fix for PR automake/291:
396 * automake.in (macro_define): Catch variable names starting
398 (handle_installdirs): Rename _am_installdirs to am__installdirs.
399 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
400 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
401 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
402 lib/am/texinfos.am: Likewise.
403 * tests/canon5.test: Use -Wno-portability.
404 * tests/vars2.test: New file.
405 * tests/Makefile.am (TESTS): Add vars2.test.
407 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
409 * tests/defs (AUTOMAKE): Add -Wall.
410 * tests/outdir.test: Use -Wno-obsolete.
412 2002-07-07 Tom Tromey <tromey@redhat.com>
414 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
416 * automake.in (handle_languages): Compute FASTDEP.
417 * lib/am/depend2.am: Added %FASTDEP% mode.
419 2002-07-07 Tom Tromey <tromey@redhat.com>
421 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
422 now. Fixes PR automake/332.
424 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
426 * tests/nobase.test (test-install-exec): Move all the `test -f'
427 tests in the Makefile so we can use $(EXEEXT) on programs.
428 Reported by Charles Wilson.
430 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
432 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
433 * tests/confh5.test: Make sure that Autoconf complains if
434 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
437 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
439 * lib/Automake/Channels.pm: New file.
440 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
441 * automake.in: Use Automake::Channels and register some channels
442 for errors and warnings.
443 ($exit_status): Remove, replaced by Channels::$exit_code.
444 (%required_variables): Remove, Channels will filter-out duplicates
446 (initialize_per_input): Call reset_local_duplicates.
447 (prog_error): Adjust to all `msg'.
448 (setup_warnings): New functions.
449 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
451 (usage): Update usage text accordingly.
452 (macro_dump, macros_dump): Return the dump as a string instead
454 (am_install_var) <$warned_about_extra>: Remove, Channels will
455 filter-out duplicates itself.
456 (set_strictness): Turn on/off channels for each stricness.
457 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
458 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
459 New functions, to replace ...
460 (print_error, am_error, file_error, macro_error, target_error,
461 conf_error, file_warning): ... these functions. Remove them.
462 Update all the code to use the new functions. The rough
466 macro_error -> err_var
467 target_error -> err_target
470 macro_error if defined -> reject_var
471 target_error if defined -> reject_target
473 * automake.texi (Invoking Automake): Document -W and --warnings.
474 Remove the documentation for --Werror and --Wno-error.
475 * tests/defs: Use -Werror, no --Werror.
476 * tests/exeext2.test: Test that the error message
477 is enabled with -Wobsolete.
478 * tests/output5.test: Rewrite to test that Automake complains
479 when there is no Makefile specified. (The original test was
480 succeeding for the wrong reason.)
481 * tests/seenc.test: Don't use --Wno-error, there is no reason now
482 that -Werror doesn't stop after the first error.
483 * tests/subobj.test: Use --add-missing, and check that
484 `compile' is installed and that Automake says so.
485 * tests/subobj2.test: Don't create `compile'.
487 2002-07-05 Tom Tromey <tromey@redhat.com>
489 * automake.texi (Java Support): Mention --main and _LDFLAGS.
492 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
494 * tests/asm.test: Erase Autom4te's cache between each test.
496 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
498 * automake.in (am_macro_for_var): Add LIBTOOL.
499 (ac_macro_for_var): Add RANLIB.
500 (seen_libtool): Remove.
501 (handle_libtool, lang_c_finish, define_compiler_variable,
502 make_paragraphs): Use
503 variable_defined ('LIBTOOL') instead of $seen_libtool.
504 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
505 already done in make_paragraphs.
506 (handle_libraries): Simplify by requiring RANLIB with
507 &require_variables_for_macro.
508 (handle_ltlibraries): Simplify by requiring LIBTOOL with
509 &require_variables_for_macro.
510 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
512 * tests/libtool4.test, tests/library2.test: New files.
513 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
515 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
517 * automake.in (create, keyed_aclocal_warning): Delete, unused.
519 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
521 * automake.in (ac_macro_for_var): Add YACC.
523 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
525 Handle multiple suffix rules with the same input extension.
528 * automake.in (suffix_rules_default): New variable.
529 (suffix_rules): Redefine as a hash of hashes of pairs.
530 (initialize_per_input): Setup suffix_rules_default from
531 suffix_rules on first call, an override suffix_rules
532 with suffix_rules_default on following calls.
533 (struct) <output_extensions>: New attribute.
534 (register_language): Set the default for output_extensions.
535 Call register_suffix_rule for each suffix.
536 (derive_suffix, handle_languages): Adjust to the new definition
538 (register_suffix_rule): New function.
539 (rule_define): Call register_suffix_rule.
540 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
542 * tests/Makefile.am (TESTS): Add them.
544 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
546 * automake.in (am_macro_for_var, ac_macro_for_var,
547 required_variables): New variables.
548 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
549 pythondir_location): Remove.
550 (initialize_per_input): Clear %required_variables.
551 (require_variables, require_variables_for_macro): New functions.
552 (handle_languages): Call &require_variables for $lang->config_vars.
553 (handle_compile): Call &require_variables_for_macro for the
554 ANSI2KNR and U variables.
555 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
556 (handle_python): Call &require_variables for PYTHON. Don't
557 explicitly allow `python' as a prefix for PYTHON.
558 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
559 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
560 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
561 AMDEPBACKSLASH here...
562 (define_configure_variable): ... do this here.
563 (am_primary_prefixes): Probe the existence of ${X}dir using
564 &require_variables_for_macro. If a standard prefix is not
565 legitimate, say so. Ignore all configure variables.
566 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
567 tests/lisp2.test, tests/python2.test: New files
568 * tests/Makefile.am (TESTS): Add them.
569 * tests/asm.test: Grep stderr.
570 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
571 * tests/python.test: Make sure py-compile is installed.
573 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
575 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
576 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
577 Adjust all occurrences.
579 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
581 * aclocal.in: Add local variables so that Emacs setups GNU style
582 for perl-mode and cperl-mode.
583 * automake.in: Likewise.
584 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
585 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
586 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
589 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
592 * lib/config.sub, lib/install-sh: New upstream versions.
594 2002-06-26 Paul Eggert <eggert@twinsun.com>
596 * Makefile.am (maintainer-check): Don't assume that egrep exists;
597 this fixes a portability bug introduced in the 2002-06-08 fix for
600 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
602 * automake.in (required_targets): Add ps and ps-am.
603 (initialize_per_input): Reset them.
604 (handle_texinfo_helper): Fill @pss_list, and define the
606 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
607 (ps, ps-am): New targets.
608 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
609 `make ps' and `make pdf'.
610 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
611 (Extending): The `ps' and `pdf' targets support a `-local' version.
613 2002-06-26 Art Haas <ahaas@neosoft.com>
615 * automake.texi: s/.../@dots{}/.
617 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
619 * configure.in: Check that ln works, fall back to `cp -p'.
620 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
621 Reported by Andreas Buening.
623 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
625 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
626 (lang_lex_target_hook): New function.
627 * tests/lex3.c: Complete to check that maintainer-clean erases
629 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
631 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
633 * automake.in (lang_yacc_target_hook): Add $output to
634 @maintainer_clean_files. This was lost on 2001-06-23.
635 * tests/yacc7.test, tests/yacc4.test: Complete to check
636 that maintainer-clean erases YACC's output files,
637 respectively with and without `-d'.
638 Reported by Flavien Astraud.
640 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
642 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
643 traced from configure.ac.
645 * automake.in (macro_define): Don't accept to override an AC_SUBST
646 or Automake variable in a new condition.
647 * tests/cond23.test, tests/cond24.test: New file.
648 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
649 Reported by Patrik Weiskirchre.
651 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
653 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
654 tests/pr300-ltlib.test, tests/pr300-prog.test,
655 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
656 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
659 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
661 * tests/libtool2.test: Use required=libtoolize.
662 * tests/install2.test: Use required=gzip.
664 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
666 * tests/defs (required): Handle bison; set YACC automatically.
667 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
668 tests/yaccvpath.test: Require bison. Don't set YACC.
670 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
672 * tests/defs (required): Handle `gcc' and `g++'; automatically
673 export CC and CXX when they are required.
674 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
675 tests/cond4.test, tests/cond16.test, tests/cond18.test,
676 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
677 tests/lex3.test, tests/pr87.test, tests/pr220.test,
678 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
679 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
681 * tests/subobj9.test: Require g++.
683 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
685 * tests/defs (required): Handle `GNUmake'.
686 (needs_gnu_make): Don't define anymore.
687 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
688 tests/dollar.test, tests/exsource.test, tests/extra6.test,
689 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
690 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
691 tests/yaccvpath.test: Use `required=GNUmake' instead of
694 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
696 * automake.in (process_option_list): Recognize std-options.
697 (handle_options): Enable std-options in gnits strictness.
698 (am_install_var): If std-options, enable CK-OPTS section.
699 * lib/am/scripts.am (installcheck-am): New target.
700 * lib/am/progs.am (installcheck-am): New target.
701 * tests/gnits2.test: New file.
702 * tests/Makefile.am (TESTS): Add gnits2.test.
703 * automake.texi (Gnits, Options): Document std-options.
705 2002-06-17 Kevin Ryde <user42@zip.com.au>
707 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
708 as generated by recent texinfo.tex.
710 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
712 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
713 (_AM_CONFIG_HEADERS): ... this.
714 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
715 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
717 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
718 instead of AM_CONFIG_HEADER.
719 * tests/autoheader2.test: New file.
720 * tests/Makefile.am (TESTS): Add autoheader2.test.
721 Suggested by Raja R Harinath.
723 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
725 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
726 of m4_rename so that AC_CONFIG_HEADER is never undefined and
727 therefore still traced after the redefinition.
728 * tests/defs (AUTOHEADER): Define.
729 * tests/autoheader.test: New file.
730 * tests/Makefile.am (TESTS): Add autoheader.test.
731 Reported by Braden McDaniel.
733 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
735 * automake.in (check_gnu_standards): In --gnu mode, accept
736 one of COPTING, COPYING.LESSER, or COPYING.LIB.
737 (common_files): Add COPYING.LESSER.
738 * automake.texi (Gnits): Document this.
740 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
742 * automake.in (required_targets): Add the pdf and pdf-am targets.
743 (initialize_per_input): Likewise.
744 (scan_texinfo_file): Add pdf to @clean_suffixes.
745 (handle_texinfo_helper): Output the .pdf dependencies, and define
747 * lib/am/texinfos.am (TEXI2PDF): New variable.
748 (pdf, pdf-am): New targets.
749 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
750 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
752 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
754 Fix pr307.test failure with gcc 3.x.
755 * lib/depcomp (dashmstdout): Strip the call to libtool, and
756 replace `-o $object' by `-o /dev/null' before running "$@"
757 to generate dependencies.
758 (cpp): Strip the call to libtool as well as `-o $object'.
760 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
762 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
763 $base.lo.d, when libtool is used.
764 Reported by Nicolas Joly.
766 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
768 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
769 is no file to compile.
770 * tests/java2.test: New file.
771 * tests/Makefile.am (TESTS): Add java2.test.
772 Reported by Braden N. McDaniel.
774 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
776 * tests/maintclean.test: Don't check for autom4te.cache if
777 it's not created by Autoconf.
778 Reported by Bernd Jendrissek.
780 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
782 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
784 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
786 * lib/am/header-vars.am (transform): Define.
787 Was removed by mistake on 2002-04-13.
788 * tests/transform.test: New file.
789 * tests/Makefile.am (TESTS): Add transform.test.
790 Reported by Nicolas Joly.
792 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
794 * tests/dollar.test: Require GNU make.
795 * tests/maintclean.test: Don't use `export YACC=false'. Pass
796 YACC=false to configure instead.
798 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
800 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
801 INSTALL: New upstream versions.
803 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
805 * tests/sinclude.test: Check for m4_include too.
807 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
809 * tests/sinclude.test: Rename the package as amsinclude;
810 am__sinclude still trigers the sinclude macro once it has been
811 converted to am--sinclude.
812 Reported by Nicolas Joly.
814 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
816 * automake.texi (API versioning): Typo.
818 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
820 * THANKS (Nicolas Joly): Remove duplicate.
822 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
824 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
825 * tests/yacc7.test: Use rm -f.
827 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
829 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
830 * tests/subpkg.test: New file.
831 * tests/Makefile.am (TESTS): Add subpkg.test.
833 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
836 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
837 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
838 * lib/am/scripts.am (install-%DIR%SCRIPTS,
839 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
841 (?%DIR%SCRIPT_INSTALL): New variable.
842 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
843 Reported by Eric Siegerman.
845 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
847 * automake.in (lang_yacc_target_hook): Add rule to recover from
848 the removal of $header.
849 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
850 output by lang_yacc_target_hook).
851 * tests/yacc7.test: Try to recreate foo.h after its removal.
852 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
854 Reported by Bernd Jendrissek.
856 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
859 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
860 suggest `list='$(FILES)'; for f in $$list' instead.
861 * lib/am/distdir.am (distdir): Adjust `for' usage.
862 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
863 * tests/dollar.test: New file.
864 * tests/Makefile.am (TESTS): Add dollar.test.
865 Reported by Eric Siegerman and Philip Fong.
867 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
869 For PR automake/47 (fixed a long time ago):
870 * tests/yacc7.test: Also check that parser sources are distributed.
872 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
874 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
876 (maintainer-clean): Delete autom4te.cache and
877 $(am__CONFIG_DISTCLEAN_FILES).
878 * tests/maintclean.test: New file.
879 * tests/Makefile.am (TESTS): Add maintclean.test.
881 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
883 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
886 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
888 * Makefile.am (maintainer-check): Check for egrep and fgrep.
890 * test/cond22.test: Set SHELL when calling $MAKE -e.
892 2002-05-31 Richard Boulton <richard@tartarus.org>
895 * automake.in (define_objects_from_sources): Calculate the result in
896 all conditions before passing this to subobjname to pick a name to
898 (subobjname): Expect a list of condition/value pairs as input.
899 Combine this list and use it as the key to determine the variable name.
900 * test/cond22.test: New file.
901 * tests/Makefile.am (TESTS): Add cond22.test
903 2002-05-30 Paul Eggert <eggert@twinsun.com>
905 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
906 instead, use shell pattern matching.
908 2002-05-29 Paul Eggert <eggert@twinsun.com>
910 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
911 longer requires them.
913 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
914 of egrep and fgrep. Omit unnecessary -E and -F.
915 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
916 * lib/am/distdir.am (distdir): fgrep -> grep -F.
917 Use $(), not ${}, for Make variables.
918 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
920 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
921 * tests/defs: Set FGREP and EGREP.
923 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
924 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
925 tests/cond21.test, tests/condlib.test, tests/confh4.test,
926 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
927 tests/depend4.test, tests/discover.test, tests/distname.test,
928 tests/dup3.test, tests/empty4.test, tests/fo.test,
929 tests/implicit.test, tests/insh2.test, tests/interp.test,
930 tests/lex.test, tests/lex3.test, tests/lex4.test,
931 tests/libobj5.test, tests/libobj7.test, tests/make.test,
932 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
933 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
934 tests/pr2.test, tests/pr9.test, tests/seenc.test,
935 tests/specflags.test, tests/specflags3.test,
936 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
937 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
938 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
939 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
941 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
944 * m4/depend.m4: Missing comma.
945 * tests/gcj4.test: New file.
946 * tests/Makefile.am (TESTS): Add gcj4.test.
947 Reported by David Pashley.
949 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
951 * tests/defs (configure.in): Don't double-quote $me.
952 * tests/sinclude.test: Overwrite configure.in and use
953 `am__sinclude' instead of `sinclude' as package name.
954 Excercise `m4_sinclude' instead of `sinclude'.
956 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
958 * automake.in (conditional_implies_one_of): Rename as ...
959 (conditional_implies_any): ... this.
960 * tests/pluseq9.test: Exercise another case with the new
962 Suggested by Raja R Harinath.
964 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
966 * tests/defs (configure.in): Quote macro arguments.
967 Reported by Nicolas Joly.
969 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
971 * lib/am/header-vars.am (build_triplet, host_triplet,
972 target_triplet): Define. Were removed by mistake on 2002-04-13.
974 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
977 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
978 * tests/destdir.test: New file.
979 * tests/Makefile.am (TESTS): Add destdir.test.
981 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
983 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
984 (conditional_is_redundant): Simplify.
985 (conditional_implies_one_of,
986 variable_not_always_defined_in_cond): New functions
987 (macro_define): Reject appends if the variable is not defined in
988 all conditions where `+=' applies.
989 (invert_conditions): Rewrite. Before this patch,
990 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
991 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
992 wrong (these conditions implies "A_FALSE"). Now it outputs (),
993 which just means the input conditions cover all cases.
994 (variable_conditions_permutations): Never output FALSE conditions.
995 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
996 in the CHECK_FALSE condition to fix the test.
997 * tests/pluseq5.test: Actually check the diagnostic.
998 * tests/pluseq9.test: New file.
999 * tests/Makefile.am (TESTS): Add pluseq9.test.
1001 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1003 Fix for PR automake/322:
1004 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
1005 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
1006 Handle comments continued by backslashes.
1007 * tests/comment6.test: New file.
1008 * tests/Makefile.am (TESTS): Add comment6.test.
1009 Reported by Braden N. McDaniel.
1011 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
1012 Alexandre Duret-Lutz <duret_g@epita.fr>
1014 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
1015 both `program$(EXEEXT)' and `program'; needed under Cygwin.
1016 * tests/libtool3.test: New file.
1017 * tests/Makefile.am (TESTS): Add libtool3.test.
1019 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1023 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1025 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
1027 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1029 Erase stamps from the Makefile that generates them.
1031 * automake.in (handle_configure): Append each used stamp to
1032 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
1033 file is not used anymore.
1034 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
1036 * tests/subdir6.test: New file.
1037 * tests/Makefile.am (TESTS): Add it.
1039 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1041 Fix for condd.test (conditional `+='):
1042 * automake.in (%appendvar): New.
1043 (initialize_per_input): Clear it.
1044 (macro_define): Handle += for variable defined in another condition.
1045 * automake.texi (Conditional Sources): Use conditional += in
1047 (General Operation, Conditionals): Remove note about broken +=.
1048 * tests/cond21.test: New file.
1049 * tests/condd.test: Also test conditional append to a _SOURCE
1050 variable. Create missing directories.
1051 * tests/Makefile.am (TESTS): Add cond21.test.
1052 (XFAILS): Remove condd.test.
1054 2002-05-05 Tom Tromey <tromey@redhat.com>
1056 * automake.texi (Program and Library Variables): Mention _LFLAGS.
1058 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1060 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
1061 files. Fix subobj9.test on OSF and IRIX.
1062 Reported by Nelson H. F. Beebe.
1064 2002-04-26 Tom Tromey <tromey@redhat.com>
1066 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
1067 For Debian bug 144221.
1069 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1071 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
1073 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1075 * automake.in (subobjname): Use the length of %subobjvar
1076 instead of $subobjnamenum.
1077 (subobjnamenum): Remove.
1079 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1081 For PR automake/307:
1082 * lib/depcomp: Never compute dependencies in the background, this
1083 can cause races with libtool. Compute the dependencies after
1084 the actual compilation. Don't make libtool silent now that
1085 it's run in the foreground.
1086 * tests/pr307.test: New file.
1087 * tests/Makefile.am (TESTS): Add pr307.test.
1088 Reported by Laurent Morichetti.
1090 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1092 * lib/am/check.am: Show skipped tests. Display the
1093 $(PACKAGE_BUGREPORT) address on failure.
1095 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1097 Fix PR automake/315:
1098 * automake.in (subobjname): Rewrite to generate variable name
1099 unique for each content.
1100 (%substnums): Remove.
1101 (%subobjvar): New hash.
1102 (initialize_per_input): Clear %subobjvar.
1103 (define_objects_from_sources): Return the name of the variable
1104 defined, in addition to the linker. Call subobjname only once
1105 the content of the variable to define is known.
1106 (handle_source_transform): Adjust call to define_objects_from_sources.
1107 * tests/specflags8.test: Mention PR 315.
1108 * tests/subobjname.test: New file.
1109 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
1110 (TESTS): Add subobjname.test.
1112 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1114 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
1115 the whole file for 'generated by automake', not only the
1116 first line. This accounts for post-processed Makefile.in's.
1117 * tests/postproc.test: New file.
1118 * tests/Makefile.am (TESTS): Add postproc.test.
1120 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1122 For PR automake/151 and PR automake/314:
1123 * automake.texi (A Program): Split into
1124 (Program Sources, Linking, Conditional Sources, Conditional
1125 Programs): ... these subsections; moving the Linking node
1126 before the Conditional discussions.
1127 (Conditional Sources): More details. Notably, mention
1129 (Conditionals): Adjust reference to Conditional Programs.
1131 2002-04-19 Paul Eggert <eggert@twinsun.com>
1133 Fix some bugs when using "$@" when there might be zero positional
1134 arguments in cases where this matters. Zsh doesn't support
1135 the workaround ${1+"$@"} that has been used by Automake since
1136 the Mon Dec 4 11:55:36 1995 change.
1138 * aclocal.in: Use 'case' statement to work around problem.
1139 * automake.in: Likewise.
1140 * lib/ylwrap: Likewise.
1141 * lib/missing: No need for workaround, as the command is never
1142 invoked with zero arguments.
1143 * tests/ccnoco.test: Likewise.
1144 * missing: Update from lib/missing.
1146 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1148 * automake.in (initialize_per_input): Clear %require_file_found.
1149 (%require_file_found): Group the declaration with the other
1150 variables initialized by initialize_per_input.
1151 * tests/required.test: New file.
1152 * tests/Makefile.am (TESTS): Add it.
1153 Reported by Marius Vollmer.
1155 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1157 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
1158 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
1159 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
1160 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
1161 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
1163 * tests/confh5.test: New file.
1164 * tests/Makefile.am (TESTS): Add confh5.test.
1165 * automake.texi (Optional, Public macros): Update descriptions
1166 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
1168 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1170 * tests/man2.test: New file.
1171 * tests/Makefile.am (TESTS): Add man2.test.
1172 * lib/am/mans.am (install-man%SECTION%): Change the extension
1173 of the man pages being installed, as documented.
1175 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1177 Enable traces; wipe out the old configure.in parser.
1179 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
1180 'autoconf'. Honnor the $filename argument.
1181 (scan_autoconf_files): Don't call scan_one_autoconf_file.
1182 Always call scan_autoconf_traces.
1183 (scan_one_autoconf_file): Remove, with it associated regexes.
1184 (obsolete, obsolete_rx): Remove.
1185 (register_language, handle_languages): Remove the 'define_flag'
1186 support. Remove it from the struct and language definitions too.
1187 (unquote_m4_arg): Remove.
1188 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
1189 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
1190 are now generated automatically.
1191 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
1193 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
1195 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1197 * tests/version6.test: New file.
1198 * tests/Makefile.am (TESTS): Add tests/version6.test.
1199 * automake.in (version_check): Return 0 on equality.
1201 2002-04-13 Andreas Schwab <schwab@suse.de>
1203 * THANKS: Update my mail address.
1205 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1207 * tests/discover.test: Use a full configure.in that calls AC_INIT.
1208 Use AC_LIBOBJ. Grep the error message.
1209 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
1210 Grep the error message. Require libtool.
1211 * tests/ldflags.test: Don't use LIBOBJS.
1212 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
1213 error messages for CC and CXX.
1215 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1217 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
1219 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
1220 * tests/ext.test: Enable dependencies for OBJC.
1221 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
1222 Delete. They tests for different flavors of $LIBOBJS assignments
1223 that wont be supported anymore.
1224 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
1225 * tests/obsolete.test: Don't test Automake.
1226 * tests/suffix5.test: Require libtool.
1227 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
1230 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1232 * configure.in (APIVERSION): Fix definition.
1234 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1236 * NEWS: Catch up with changes since 1.6.
1238 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1240 * tests/yacc8.test: Don't assume GNU make, run config.status
1241 to regenerate the Makefile.
1243 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1245 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
1246 always followed by a SHELL setting.
1247 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
1248 SHELL when calling `$MAKE -e'.
1250 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1252 * tests/subobj9.test: Use configure.in, not configure.ac,
1253 otherwise this fails with old libtool versions.
1255 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1257 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1260 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1262 * ChangeLog.2001: New file, extracted from ChangeLog.
1263 * Makefile.am (EXTRA_DIST): Add it.
1265 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1267 * automake.texi (Canonicalization): The sources for libmumble++.a
1268 go into libmumble___a_SOURCES.
1270 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1272 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
1273 test suite. Suggest `sleep 2' instead.
1274 * tests/confsub.test: Use `sleep 2'.
1276 2002-04-04 Paul Eggert <eggert@twinsun.com>
1278 * lib/am/subdirs.am:
1279 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
1280 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
1281 MAKEFLAGS contains '$(...)'.
1283 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1285 * tests/specflags8.test: Typo.
1287 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1289 * tests/specflags6.test: Run aclocal.
1290 * tests/Makefile.am (TESTS): Add specflags6.test.
1292 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1294 * tests/specflags7.test, tests/specflags8.test: New files.
1295 * tests/Makefile.am (TESTS): Add them.
1296 (XFAIL_TESTS): Add specflags8.test.
1298 2002-03-29 Tom Tromey <tromey@redhat.com>
1300 * automake.in (check_typos): Examine AM_LDFLAGS.
1301 Fixes PR automake/311.
1303 For PR automake/312:
1304 * lib/am/libtool.am (clean-libtool): Use LTRMS.
1305 * automake.in (handle_single_transform_list): When processing a
1306 libtool object, clean the ordinary object and register the
1308 (libtool_clean_directories): New global.
1309 (initialize_per_input): Initialize it.
1310 (generate_makefile): Call handle_libtool later.
1311 (handle_libtool): Handle libtool_clean_directories.
1312 * tests/subobj9.test: New file.
1313 * tests/Makefile.am (TESTS): Added subobj9.test.
1315 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1317 * tests/extra6.test, tests/subdir5.test: Require GNU make.
1319 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1321 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
1323 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1325 * tests/extra7.test: New file.
1326 * tests/Makefile.am: Add it.
1327 * lib/am/distdir.an (distdir): When a distribuable directory
1328 exists both in `.' and $(srcdir), merge both directories. This
1329 works around a failure of extra6.test on Tru64 reported by
1332 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1334 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
1336 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1338 * Makefile.am (maintainer-check): Catch occurrences of
1339 `$MAKE foo=bar' in the testsuite. Suggest using
1340 `foo=bar $MAKE -e' instead.
1341 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
1342 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
1343 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
1344 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
1346 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1348 Fix for PR automake/310:
1349 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
1350 so it never appears as a plain word.
1352 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1354 * lib/depcomp (tru64): Correctly compute `base'.
1356 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1358 * tests/pr211.test: s/requires/required/, otherwise the test fails
1359 if libtool is not installed.
1361 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1363 * tests/dirname.test: Don't use $SHELL when calling ./configure.
1365 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1367 * tests/dirname.test: Use --quiet to fix failure on installations
1368 using a site script.
1369 Reported by Nicolas Joly.
1371 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1373 * Makefile.am (maintainer-check): Check for misuses of make,
1374 autoconf, automake, aclocal, and perl in the testsuite. Suggest
1375 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
1376 * tests/confsub.test: Use $AUTOCONF and $MAKE.
1377 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
1378 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
1379 tests/pr224.test, tests/pr287.test, tests/strip.test,
1380 tests/yacc8.test: Use $MAKE.
1382 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1384 Add support for two-dot versions.
1386 * tests/version5.test: New file.
1387 * tests/Makefile.am (TESTS): Add it.
1388 * automake.in (version_split, version_compare): New functions.
1389 (version_check): Rewrite using version_split and version_compare.
1390 (process_option_list): Adjust regex.
1392 2002-03-18 Richard Boulton <richard@tartarus.org>
1394 Fix for PR automake/306:
1395 * automake.texi (Generalities): Document +=.
1396 (Conditionals): Document limitations of += with conditionals.
1398 2002-03-17 Tom Tromey <tromey@redhat.com>
1400 Fix for PR automake/295:
1401 * automake.texi (Invoking Automake): Deprecate --output-dir.
1402 * automake.in (usage): Don't document --output-dir.
1403 (output_directory): Don't initialize.
1404 (parse_arguments): Deprecate --output-dir.
1406 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
1407 Fixes PR automake/304.
1409 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1411 * tests/dirforbid.test: Workaround for NetBSD sh bug.
1412 Fixes PR automake/305.
1414 2002-03-11 Richard Boulton <richard@tartarus.org>
1416 * automake.in (check_typos): Allow variables with reserved
1417 suffices (such as _LDFLAGS) and prefixes which aren't
1418 recognised if the variable is defined in configure.ac.
1421 2002-03-11 Richard Boulton <richard@tartarus.org>
1423 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
1424 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
1425 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
1427 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
1429 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
1432 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1434 Fix for PR automake/303:
1435 * automake.in (version_check): Move the error message ...
1436 (process_option_list): ... here, so we can distinguish between
1437 global and local options.
1439 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1441 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1442 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
1443 Autoconf doesn't complain about Makefile being output twice.
1445 2002-03-06 Tom Tromey <tromey@redhat.com>
1447 * configure.in: Upped version to 1.6a.
1449 2002-03-05 Tom Tromey <tromey@redhat.com>
1451 * configure.in: Released 1.6.
1453 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1455 Fix for PR automake/300:
1456 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1457 tests/pr300-prog.test: New files.
1458 * tests/Makefile.am (TESTS): Add them.
1459 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
1460 compute the directory.
1461 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
1462 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
1463 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
1464 (uninstall-%DIR%LIBRARIES): Honor nobase_.
1465 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
1466 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
1467 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
1468 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
1469 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
1470 (uninstall-%DIR%PROGRAMS): Honor nobase_.
1471 See also the fix for nobase.test on 2001-11-09.
1473 2002-03-05 Tom Tromey <tromey@redhat.com>
1475 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
1477 2002-03-05 Pavel Roskin <proski@gnu.org>
1479 * tests/yacc8.test: Add a command between "test" and "cd" to
1480 work around a bug in bash-2.05.
1482 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1484 Fix for PR automake/294:
1485 * tests/dirforbid.test: New file.
1486 * tests/Makefile.am (TESTS): Add it.
1487 * automake.in (standard_prefix): New hash.
1488 (am_primary_prefixes): Forbid standard_prefixes which are not
1489 explicitely allowed.
1490 * automake.texi (Uniform): Remove FIXME.
1492 2002-03-05 Jim Meyering <meyering@lucent.com>
1494 * automake.in (@common_files): Add config.rpath.
1496 2002-03-05 Kevin Ryde <user42@zip.com.au>
1498 For PR automake/297:
1499 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
1500 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
1503 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1505 * automake.in (scan_one_autoconf_file): Declare
1506 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
1507 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
1508 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
1509 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
1510 of s/// in the sed invocation, to support filenames containing
1512 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
1513 * tests/lex5.test, tests/yacc8.test: New files.
1514 * tests/Makefile.am (TESTS): Add them.
1516 2002-02-23 Per Bothner <per@bothner.com>
1518 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
1521 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1523 * tests/make.test: Revert the grep logic to work around a bug
1524 in NetBSD sh (see NetBSD Problem Report #11542).
1525 Reported by Patrick Welche.
1527 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
1529 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
1530 to try and prevent a non-lisp emacs from starting in interactive
1532 * automake.texi: Document this change.
1534 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1536 * automake.texi (Macros): Split into ...
1537 (Public Macros, Private Macros): ... these.
1539 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1541 * tests/insthook.test: Use sed instead of "tail +X".
1543 2002-02-18 Paul Eggert <eggert@twinsun.com>
1545 * lib/depcomp: Don't use "tail +3"; it's not portable to
1546 POSIX 1003.1-2001 hosts.
1548 2002-02-18 Jim Meyering <meyering@lucent.com>
1550 * tests/cond12.test: Use sed 1q, not `head -n 1'.
1551 The latter is not portable to some old systems.
1552 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
1553 Use `sed 1q' instead.
1554 * tests/insthook.test: Likewise.
1556 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1558 * automake.in (handle_lib_objects_cond): Tell the user to put
1559 global linker flags in AM_LDFLAGS, not LDFLAGS.
1561 * automake.texi (General Operation): AC_SUBST'ed variables
1562 override Automake's variables.
1563 (Uniform): More words and @refs.
1564 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
1565 (etags): More explanations about the first example.
1566 (Invoking Automake): Mention autoreconf. More @refs.
1567 (Requirements): Mention AC_CONFIG_FILES.
1568 (Optional): AC_CHECK_TOOL will no longer install config.sub and
1569 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
1570 (Invoking aclocal): aclocal no longer warn about duplicates.
1571 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
1572 (Extending aclocal): Suggest using the output of
1573 `aclocal --print-ac-dir` to install third-party macros.
1574 (Alternative): Specify ordering of dist_, nodist_, and nobase_
1576 (A Program): Mention scripts. The global LDADD variable is not
1577 meant to hold link flags, suggest using AM_LDFLAGS instead.
1578 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
1579 _LIBADD and _LDADD are subject to the same restriction wrt to
1581 (Program and Library Variables) <maude_DEPENDECIES>: Is also
1582 derived from maude_LIBADD.
1583 (Program variables): Define AM_LDFLAGS.
1584 (Dependencies): Passing the no-dependencies option to
1585 AM_INIT_AUTOMAKE is prefered.
1586 (Scripts): Explain why automake is magically cleaned.
1587 Mention noinst_SCRIPTS and check_SCRIPTS.
1588 (Data): Use dist_ in Automake's example.
1589 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
1590 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
1592 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1594 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
1595 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
1596 of asking the maintainer to do it manually.
1597 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
1598 Automake/XFile.pm: New upstream versions.
1600 2002-02-02 Tom Tromey <tromey@redhat.com>
1602 * automake.texi (Macros): Warn about upgrading.
1604 2002-02-01 Tom Tromey <tromey@redhat.com>
1606 Change per GNU coding standards:
1607 * aclocal.in (parse_arguments): Only mention most recent year in
1609 * automake.in (version): Only mention most recent year.
1611 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1613 * automake.texi (API versioning): New Node.
1614 (Extending): Use $(DESTDIR) in examples.
1616 2002-01-28 Akim Demaille <akim@epita.fr>
1618 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
1619 Respect the --help layout.
1621 2002-01-27 Tom Tromey <tromey@redhat.com>
1623 * configure.in: Bumped to 1.5e.
1625 * lib/am/yacc.am: Use `rm -f'.
1627 * configure.in: Released 1.5d.
1629 * lib/config.guess: New version from FSF.
1631 * Makefile.am (uninstall-hook): New target.
1633 2002-01-24 Akim Demaille <akim@epita.fr>
1635 * lib/install-sh: Update, from Autoconf.
1637 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1639 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
1640 as AC_CANONICAL_HOST (the former does not require the latter since
1642 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
1643 * automake.texi (Requirements): Do not require STRIP to be
1644 defined by the user.
1646 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1648 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
1649 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
1650 * tests/pr224.test: Make sure .deps subdirectories are
1651 erased by distclean.
1653 2002-01-22 Tom Tromey <tromey@redhat.com>
1655 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
1656 no-dependencies option is set.
1657 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
1658 no-dependencies option is set. Don't call AM_DEP_TRACK or
1661 2002-01-22 Pavel Roskin <proski@gnu.org>
1663 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
1666 2002-01-22 Akim Demaille <akim@epita.fr>
1668 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
1671 2002-01-21 Tom Tromey <tromey@redhat.com>
1673 * Makefile.am (fetch): Don't fetch ansi2knr.
1675 * automake.texi (Macros): Updated for new variable names.
1676 (Program and Library Variables): Likewise.
1677 (Assembly Support): Likewise.
1678 * m4/as.m4: Use CCAS and CCASFLAGS.
1679 * automake.in (asm): Use CCAS and CCASFLAGS.
1681 2002-01-21 Akim Demaille <akim@epita.fr>
1683 * automake.in (&parse_arguments): Use a more GNUish error message
1686 2002-01-20 Tom Tromey <tromey@redhat.com>
1688 Fix for PR automake/231:
1689 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
1690 * m4/depend.m4: Document `GCJ'.
1692 For PR automake/224:
1693 * tests/Makefile.am (TESTS): Added pr224.test.
1694 * tests/pr224.test: New file.
1695 * lib/depcomp: Fixed computation of depfile.
1696 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
1697 * automake.in (handle_single_transform_list): Only reject `..'
1698 component for Java. Put dependencies in directory near object.
1699 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
1701 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1703 * tests/defs: Export AUTOMAKE and ACLOCAL.
1705 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1707 Fix for PR automake/204:
1708 * tests/pr204.test: New file.
1709 * tests/Makefile.am (TESTS): Add it.
1710 * automake.in (handle_single_transform_list): Don't distribute
1711 sources derived from non-distributed sources.
1713 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1715 Fix for PR automake/229:
1716 * tests/pr229.test: New file.
1717 * tests/Makefile.am (TESTS): Add it.
1718 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
1719 AC_EMXOS2, and AC_MINGW32.
1721 2002-01-18 Tom Tromey <tromey@redhat.com>
1723 * tests/cond7.test: Fix test bug exposed by copyright update.
1725 For PR automake/288:
1726 * automake.in (lang_c_rewrite): Don't prepend directory to base if
1727 directory is `.'. Also, properly compute de_ansi_files entry in
1729 * tests/Makefile.am (TESTS): Added ansi7.test.
1730 * tests/ansi7.test: New file.
1732 * aclocal.in (parse_arguments): Added 2002.
1733 (write_aclocal): Likewise.
1734 (parse_arguments): Updated my email address.
1735 * automake.in (gen_copyright): Added 2002.
1736 (version): Likewise. Also, changed my email address.
1738 * configure.in (APIVERSION): Refined definition.
1740 2002-01-18 Tom Tromey <tromey@redhat.com>
1743 * lib/missing: Accept versioned aclocal.
1744 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
1746 2002-01-17 Pavel Roskin <proski@gnu.org>
1748 * m4/Makefile.am (m4datadir): Use APIVERSION.
1750 2002-01-16 Tom Tromey <tromey@redhat.com>
1752 * Makefile.am (install-exec-hook): Use APIVERSION.
1753 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
1754 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
1756 * automake.in (perllibdir): Use APIVERSION.
1758 * aclocal.in (perllibdir): Use APIVERSION.
1759 (APIVERSION): New global.
1760 (parse_arguments): Use APIVERSION.
1761 * configure.in (APIVERSION): New subst.
1762 (pkgvdatadir): Use APIVERSION.
1764 2002-01-15 Tom Tromey <tromey@redhat.com>
1767 * lib/missing: Match against `automake*' to pick up versioned
1769 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
1770 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
1772 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
1773 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
1775 (scriptdir): Use pkgvdatadir.
1776 (installcheck-local): Likewise.
1777 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
1778 * automake.in (perllibdir): Added VERSION.
1780 * aclocal.in (parse_arguments): Search versioned directory. Don't
1781 push unversioned directory unless it exists.
1782 (perllibdir): Added VERSION.
1783 (default_acdir): New global.
1784 * m4/Makefile.am (m4datadir): Added $(VERSION).
1785 * Makefile.am (install-exec-hook): New target.
1786 * configure.in (ACLOCAL): Search build directory.
1787 (pkgvdatadir): New subst.
1789 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1791 * lib/config.sub, lib/config.guess: New versions from FSF.
1793 2002-01-13 Tom Tromey <tromey@redhat.com>
1795 For PR automake/288:
1796 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
1798 (lang_c_finish): Likewise. Also, use directory information from
1801 2002-01-13 Kevin Ryde <user42@zip.com.au>
1803 For PR automake/288:
1804 * tests/Makefile.am (TESTS): Added ansi6.test.
1805 * tests/ansi6.test: New file.
1807 2002-01-13 Tom Tromey <tromey@redhat.com>
1809 For PR automake/287:
1810 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
1812 * tests/Makefile.am (TESTS): Added pr287.test.
1813 * tests/pr287.test: New file.
1815 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1817 * lib/am/distdir.am (distdir): Handle subdirectories.
1818 * tests/extra6.test: New file.
1819 * tests/Makefile.am (TESTS): Add it.
1821 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1823 * tests/extra2.test: Run $ACLOCAL.
1825 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1827 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
1828 AM_INIT_AUTOMAKE arguments when using the old-style call.
1829 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
1830 Suggested by Pavel Roskin.
1832 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1834 * test/nodefine.test, test/nodefine2.test: Check that no-define
1835 works, not the contrary...
1836 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
1837 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
1840 2002-01-12 Jim Meyering <meyering@lucent.com>
1842 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
1843 * tests/libobj11.test: New file.
1844 * tests/Makefile.am (TESTS): Add libobj11.test.
1846 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
1848 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
1850 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1852 * automake.in (file_contents_internal): Introduce two variables,
1853 $is_rule and $discard_rules to track rules spanning across multiple
1854 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
1855 where only the first paragraph of such a multi-paragraph rule was
1856 discarded; but it leaves many similar latent bugs (see the FIXMEs).
1858 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1860 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
1861 * tests/error.test: Use some macro names which are not defined by
1864 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1866 * automake.texi (Complete, Macros, Options): Document the new style
1867 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
1868 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
1869 AC_INIT if they are available there. Support a new call form
1870 where the only argument is an optional space-separated list of
1872 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
1873 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
1874 _AM_IF_OPTION): New functions.
1875 * automake.in (AC_INIT_PATTERN): New variable.
1876 (global_options_line): Remove, use $seen_init_automake instead.
1877 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
1878 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
1879 Remove the AM_AUTOMAKE_OPTIONS handling.
1880 * configure.in: Modernize.
1881 * tests/defs (configure.in): Modernize. One third of the tests
1882 still overwrite the default configure.in and use an old
1883 AM_INIT_AUTOMAKE call, so that makes testing for both.
1884 * tests/nodefine.test, tests/nodefine2.test: New files.
1885 * tests/Makefile.am (TESTS): Add them.
1887 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
1889 * automake.in (define_configure_variable): Propagate line numbers.
1891 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1893 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1895 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1897 * configure.in: Run the Autoconf test in a subdirectory, then
1898 erase this directory.
1900 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1902 * configure.in (AUTOMAKE): Create m4/amversion.m4.
1903 * m4/amversion.in: New file.
1904 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1905 (dist_m4data_DATA): ... this.
1906 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1907 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1908 AM_SET_CURRENT_AUTOMAKE_VERSION.
1909 * automake.in (seen_automake_version): New variable.
1910 (scan_autoconf_traces, scan_one_autoconf_file,
1911 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1912 when the version used in aclocal.m4 differs from Automake's.
1913 * tests/defs (ACLOCAL): Look in ../m4 too.
1914 * tests/installsh.test (ACLOCAL): Likewise.
1915 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1917 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1919 * automake.in (handle_languages): Emit an automake
1920 internal variable 'am__depfiles_maybe'.
1921 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1923 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1926 2002-01-06 Tom Tromey <tromey@redhat.com>
1928 * automake.texi (Tags): Document new variables.
1929 * lib/am/tags.am (ETAGS): New macro.
1930 (ETAGSFLAGS): Likewise.
1933 2002-01-04 Tom Tromey <tromey@redhat.com>
1935 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1937 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1939 * automake.in (read_am_file): Thinko in "comment following
1940 trailing backslash" detection.
1941 * tests/comment5.test: Test for this too.
1943 2002-01-02 Tom Tromey <tromey@redhat.com>
1945 * automake.texi (Extending): Added index for uninstall-hook.
1947 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1949 Fix for PR automake/278:
1950 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1951 with versions such as '2.2c1'. Also, use `int' instead of the
1952 obsoleted `string.atoi'.
1953 Reported by Enrico Scholz.
1955 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1957 Fix for PR automake/280:
1958 * automake.in (read_am_file): Warn about trailing backslashes
1960 * tests/comment5.test: New file.
1961 * tests/Makefile.am (TESTS): Add comment5.test.
1962 Reported by Enrico Scholz.
1964 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1966 * tests/comment4.test: New file.
1967 * tests/Makefile.am (TESTS): Add comment4.test.
1969 Fix for comment4.test:
1970 * automake.in (read_am_file): Output leading comments only when
1971 encountering white lines.
1973 2002-01-01 Tom Tromey <tromey@redhat.com>
1975 For PR automake/234:
1976 * tests/Makefile.am (TESTS): Added strip.test.
1977 * tests/strip.test: New file.
1979 * automake.texi (Extending): Mention uninstall-hook.
1980 (Install): Likewise.
1981 * automake.in (handle_factored_dependencies): Allow
1984 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1986 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1987 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1988 This fixes a bug introduced on 2001-01-28.
1989 Reported by Jared Davis.
1993 Copyright (C) 2002 Free Software Foundation, Inc.
1995 This file is part of GNU Automake.
1997 GNU Automake is free software; you can redistribute it and/or modify
1998 it under the terms of the GNU General Public License as published by
1999 the Free Software Foundation; either version 2, or (at your option)
2002 GNU Automake is distributed in the hope that it will be useful,
2003 but WITHOUT ANY WARRANTY; without even the implied warranty of
2004 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2005 GNU General Public License for more details.
2007 You should have received a copy of the GNU General Public License
2008 along with autoconf; see the file COPYING. If not, write to
2009 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2010 Boston, MA 02111-1307, USA.