1 2002-07-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
4 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
5 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
6 * automake.texi (Options) <std-options>: Document
7 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
8 (Gnits): Reference std-options.
9 * tests/gnits3.test: New file.
10 * tests/Makefile.am (TESTS): Add gnits3.test.
11 Suggested by Jim Meyering.
13 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
15 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
16 Replace the sed script by calls to grep, easier to debug.
17 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
19 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
21 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
22 Always strip the directory part before applying $(transform),
23 even for nobase_ targets.
24 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
26 * tests/nobase.test: Use --program-prefix while testing nobase
29 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
31 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
32 * tests/Makefile.am (TESTS): Remove dirname.test.
34 * m4/init.m4: Require Autoconf 2.53b.
35 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
36 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
37 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
38 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
39 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
40 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
41 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
42 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
44 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
45 AU_DEFUNed in m4/obsolete.m4.
46 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
47 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
48 and obsolete.m4. Remove termios.m4 and winsz.m4.
49 * aclocal.in (obsolete, obsolete_rx): Remove.
50 (scan_configure): Don't grep for obsolete macros.
51 * tests/defs (AUTOUPDATE): Define.
52 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
53 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
56 Fix for PR automake/338:
57 * automake.in (seen_gettext_external): New variable.
58 (handle_gettext): Conditionalize the intl/ check on
59 $seen_gettext_external. Fix grep usage.
60 (scan_autoconf_traces): Set $seen_gettext_external if
61 `external' is passed to AM_GNU_GETTEXT.
62 * tests/gettext.test, tests/gettext2.test: New files.
63 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
65 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
66 Akim Demaille <akim@epita.fr>
68 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
69 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
70 (AM_CONFIG_HEADER): ... this new definition for compatibility.
71 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
72 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
73 * tests/confh5.tests: Delete.
74 * tests/Makefile.am (TESTS): Remove confh5.tests.
76 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
78 * automake.in (handle_single_transform_list): Typo.
80 * lib/Automake/Channels.pm (dup_channel_setup,
81 drop_channel_setup): New functions.
83 * automake.in (generate_makefile): Call dup_channel_setup and
85 (process_option_list): Recognize --warnings and -W options.
86 * automake.texi (Options): Document them.
87 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
89 * tests/warnopts.test: New file.
90 * tests/Makefile.am (TESTS): Add warnopts.test.
92 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
94 * automake.in: Register warning channel `gnu'.
95 (set_strictness): Turn on `gnu' in --gnu and --gnits.
96 (usage): Mention the `gnu' category.
97 (%var_is_am): Replace by ...
98 (%var_owner): ... this, which uses ...
99 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
100 Adjust all uses of %var_is_am.
101 (handle_languages): Warn about user variables being overriden.
102 (require_variables): Also check %configure_vars for the existence
103 of a required variable.
104 * automake.texi (Invoking Automake): Document -Wgnu.
105 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
107 * tests/gnuwarn.test: New file.
108 * tests/Makefile.am (TESTS): Add gnuwarn.test.
110 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
112 Fix for PR automake/337:
113 * automake.in: Redefine the `flags' attribute of each language
114 as a list. List CPPFLAGS in `flags' when it is used.
115 (register_language): Set the default value of 'flags'.
116 (handle_single_transform_list): Adjust to treat `flags' as a list.
117 (handle_languages): Likewise. Don't bother defining the
118 configure variable for `c', this is always done since we trace
120 * automake.texi (etags): Use per-executable _CPPFLAGS.
121 (Program and Library Variables): Mention maude_CPPFLAGS.
122 (Program variables): Likewise.
123 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
124 * tests/specflags9.test: New file.
125 * tests/Makefile.am (TESTS): Add specflag9.test.
127 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
129 * automake.texi: Use `variable' instead of `macro' everywhere it
130 designates a Makefile variable.
131 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
132 `flags', not `macros'. `Macro' means something else in Texinfo.
133 Also show how to use these flags.
134 * automake.in (file_contents_internal): s/macro/variable/ in
137 * automake.in (parse_arguments): Call Getopt twice: once to catch
138 --help or --verbose, and once to process the other arguments.
139 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
140 should always be 0 because of the change to parse_arguments).
141 * tests/Makefile.am (TESTS): Add getopt.test.
142 * tests/getopt.test: New file.
144 2002-07-09 Tom Tromey <tromey@redhat.com>
147 * automake.texi (Tags): Document ctags.
148 * automake.in (handle_tags): Handle ctags.
149 * lib/am/tags.am (CTAGS): New macro.
150 (CTAGSFLAGS): Likewise.
152 (distclean-tags): Remove `tags'.
154 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
156 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
157 before passing to cygpath. Partial fix for PR automake/334.
159 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
161 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
163 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
165 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
167 * automake.in (usage, version): Honor $exit_code.
168 (parse_arguments): Use fatal.
170 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
172 * automake.texi (Invoking Automake): Document WARNINGS.
173 * automake.in (switch_warning, parse_WARNINGS): New function.
174 (setup_warnings): Rename to ...
175 (parse_warnings): ... this. Move most of the code to switch_warning.
176 Accept a comma separated list of categories.
177 * tests/vars2.test: Use a comma separated list of warning categories.
179 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
181 * NEWS (New in 1.6): Mention that libtoolize is no longer run
184 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
186 Fix for PR automake/291:
187 * automake.in (macro_define): Catch variable names starting
189 (handle_installdirs): Rename _am_installdirs to am__installdirs.
190 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
191 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
192 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
193 lib/am/texinfos.am: Likewise.
194 * tests/canon5.test: Use -Wno-portability.
195 * tests/vars2.test: New file.
196 * tests/Makefile.am (TESTS): Add vars2.test.
198 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
200 * tests/defs (AUTOMAKE): Add -Wall.
201 * tests/outdir.test: Use -Wno-obsolete.
203 2002-07-07 Tom Tromey <tromey@redhat.com>
205 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
207 * automake.in (handle_languages): Compute FASTDEP.
208 * lib/am/depend2.am: Added %FASTDEP% mode.
210 2002-07-07 Tom Tromey <tromey@redhat.com>
212 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
213 now. Fixes PR automake/332.
215 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
217 * tests/nobase.test (test-install-exec): Move all the `test -f'
218 tests in the Makefile so we can use $(EXEEXT) on programs.
219 Reported by Charles Wilson.
221 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
223 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
224 * tests/confh5.test: Make sure that Autoconf complains if
225 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
228 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
230 * lib/Automake/Channels.pm: New file.
231 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
232 * automake.in: Use Automake::Channels and register some channels
233 for errors and warnings.
234 ($exit_status): Remove, replaced by Channels::$exit_code.
235 (%required_variables): Remove, Channels will filter-out duplicates
237 (initialize_per_input): Call reset_local_duplicates.
238 (prog_error): Adjust to all `msg'.
239 (setup_warnings): New functions.
240 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
242 (usage): Update usage text accordingly.
243 (macro_dump, macros_dump): Return the dump as a string instead
245 (am_install_var) <$warned_about_extra>: Remove, Channels will
246 filter-out duplicates itself.
247 (set_strictness): Turn on/off channels for each stricness.
248 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
249 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
250 New functions, to replace ...
251 (print_error, am_error, file_error, macro_error, target_error,
252 conf_error, file_warning): ... these functions. Remove them.
253 Update all the code to use the new functions. The rough
257 macro_error -> err_var
258 target_error -> err_target
261 macro_error if defined -> reject_var
262 target_error if defined -> reject_target
264 * automake.texi (Invoking Automake): Document -W and --warnings.
265 Remove the documentation for --Werror and --Wno-error.
266 * tests/defs: Use -Werror, no --Werror.
267 * tests/exeext2.test: Test that the error message
268 is enabled with -Wobsolete.
269 * tests/output5.test: Rewrite to test that Automake complains
270 when there is no Makefile specified. (The original test was
271 succeeding for the wrong reason.)
272 * tests/seenc.test: Don't use --Wno-error, there is no reason now
273 that -Werror doesn't stop after the first error.
274 * tests/subobj.test: Use --add-missing, and check that
275 `compile' is installed and that Automake says so.
276 * tests/subobj2.test: Don't create `compile'.
278 2002-07-05 Tom Tromey <tromey@redhat.com>
280 * automake.texi (Java Support): Mention --main and _LDFLAGS.
283 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
285 * tests/asm.test: Erase Autom4te's cache between each test.
287 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
289 * automake.in (am_macro_for_var): Add LIBTOOL.
290 (ac_macro_for_var): Add RANLIB.
291 (seen_libtool): Remove.
292 (handle_libtool, lang_c_finish, define_compiler_variable,
293 make_paragraphs): Use
294 variable_defined ('LIBTOOL') instead of $seen_libtool.
295 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
296 already done in make_paragraphs.
297 (handle_libraries): Simplify by requiring RANLIB with
298 &require_variables_for_macro.
299 (handle_ltlibraries): Simplify by requiring LIBTOOL with
300 &require_variables_for_macro.
301 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
303 * tests/libtool4.test, tests/library2.test: New files.
304 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
306 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
308 * automake.in (create, keyed_aclocal_warning): Delete, unused.
310 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
312 * automake.in (ac_macro_for_var): Add YACC.
314 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
316 Handle multiple suffix rules with the same input extension.
319 * automake.in (suffix_rules_default): New variable.
320 (suffix_rules): Redefine as a hash of hashes of pairs.
321 (initialize_per_input): Setup suffix_rules_default from
322 suffix_rules on first call, an override suffix_rules
323 with suffix_rules_default on following calls.
324 (struct) <output_extensions>: New attribute.
325 (register_language): Set the default for output_extensions.
326 Call register_suffix_rule for each suffix.
327 (derive_suffix, handle_languages): Adjust to the new definition
329 (register_suffix_rule): New function.
330 (rule_define): Call register_suffix_rule.
331 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
333 * tests/Makefile.am (TESTS): Add them.
335 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
337 * automake.in (am_macro_for_var, ac_macro_for_var,
338 required_variables): New variables.
339 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
340 pythondir_location): Remove.
341 (initialize_per_input): Clear %required_variables.
342 (require_variables, require_variables_for_macro): New functions.
343 (handle_languages): Call &require_variables for $lang->config_vars.
344 (handle_compile): Call &require_variables_for_macro for the
345 ANSI2KNR and U variables.
346 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
347 (handle_python): Call &require_variables for PYTHON. Don't
348 explicitly allow `python' as a prefix for PYTHON.
349 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
350 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
351 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
352 AMDEPBACKSLASH here...
353 (define_configure_variable): ... do this here.
354 (am_primary_prefixes): Probe the existence of ${X}dir using
355 &require_variables_for_macro. If a standard prefix is not
356 legitimate, say so. Ignore all configure variables.
357 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
358 tests/lisp2.test, tests/python2.test: New files
359 * tests/Makefile.am (TESTS): Add them.
360 * tests/asm.test: Grep stderr.
361 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
362 * tests/python.test: Make sure py-compile is installed.
364 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
366 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
367 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
368 Adjust all occurrences.
370 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
372 * aclocal.in: Add local variables so that Emacs setups GNU style
373 for perl-mode and cperl-mode.
374 * automake.in: Likewise.
375 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
376 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
377 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
380 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
382 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
383 * lib/config.sub, lib/install-sh: New upstream versions.
385 2002-06-26 Paul Eggert <eggert@twinsun.com>
387 * Makefile.am (maintainer-check): Don't assume that egrep exists;
388 this fixes a portability bug introduced in the 2002-06-08 fix for
391 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
393 * automake.in (required_targets): Add ps and ps-am.
394 (initialize_per_input): Reset them.
395 (handle_texinfo_helper): Fill @pss_list, and define the
397 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
398 (ps, ps-am): New targets.
399 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
400 `make ps' and `make pdf'.
401 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
402 (Extending): The `ps' and `pdf' targets support a `-local' version.
404 2002-06-26 Art Haas <ahaas@neosoft.com>
406 * automake.texi: s/.../@dots{}/.
408 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
410 * configure.in: Check that ln works, fall back to `cp -p'.
411 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
412 Reported by Andreas Buening.
414 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
416 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
417 (lang_lex_target_hook): New function.
418 * tests/lex3.c: Complete to check that maintainer-clean erases
420 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
422 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
424 * automake.in (lang_yacc_target_hook): Add $output to
425 @maintainer_clean_files. This was lost on 2001-06-23.
426 * tests/yacc7.test, tests/yacc4.test: Complete to check
427 that maintainer-clean erases YACC's output files,
428 respectively with and without `-d'.
429 Reported by Flavien Astraud.
431 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
433 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
434 traced from configure.ac.
436 * automake.in (macro_define): Don't accept to override an AC_SUBST
437 or Automake variable in a new condition.
438 * tests/cond23.test, tests/cond24.test: New file.
439 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
440 Reported by Patrik Weiskirchre.
442 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
444 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
445 tests/pr300-ltlib.test, tests/pr300-prog.test,
446 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
447 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
450 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
452 * tests/libtool2.test: Use required=libtoolize.
453 * tests/install2.test: Use required=gzip.
455 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
457 * tests/defs (required): Handle bison; set YACC automatically.
458 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
459 tests/yaccvpath.test: Require bison. Don't set YACC.
461 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
463 * tests/defs (required): Handle `gcc' and `g++'; automatically
464 export CC and CXX when they are required.
465 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
466 tests/cond4.test, tests/cond16.test, tests/cond18.test,
467 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
468 tests/lex3.test, tests/pr87.test, tests/pr220.test,
469 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
470 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
472 * tests/subobj9.test: Require g++.
474 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
476 * tests/defs (required): Handle `GNUmake'.
477 (needs_gnu_make): Don't define anymore.
478 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
479 tests/dollar.test, tests/exsource.test, tests/extra6.test,
480 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
481 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
482 tests/yaccvpath.test: Use `required=GNUmake' instead of
485 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
487 * automake.in (process_option_list): Recognize std-options.
488 (handle_options): Enable std-options in gnits strictness.
489 (am_install_var): If std-options, enable CK-OPTS section.
490 * lib/am/scripts.am (installcheck-am): New target.
491 * lib/am/progs.am (installcheck-am): New target.
492 * tests/gnits2.test: New file.
493 * tests/Makefile.am (TESTS): Add gnits2.test.
494 * automake.texi (Gnits, Options): Document std-options.
496 2002-06-17 Kevin Ryde <user42@zip.com.au>
498 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
499 as generated by recent texinfo.tex.
501 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
503 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
504 (_AM_CONFIG_HEADERS): ... this.
505 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
506 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
508 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
509 instead of AM_CONFIG_HEADER.
510 * tests/autoheader2.test: New file.
511 * tests/Makefile.am (TESTS): Add autoheader2.test.
512 Suggested by Raja R Harinath.
514 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
516 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
517 of m4_rename so that AC_CONFIG_HEADER is never undefined and
518 therefore still traced after the redefinition.
519 * tests/defs (AUTOHEADER): Define.
520 * tests/autoheader.test: New file.
521 * tests/Makefile.am (TESTS): Add autoheader.test.
522 Reported by Braden McDaniel.
524 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
526 * automake.in (check_gnu_standards): In --gnu mode, accept
527 one of COPTING, COPYING.LESSER, or COPYING.LIB.
528 (common_files): Add COPYING.LESSER.
529 * automake.texi (Gnits): Document this.
531 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
533 * automake.in (required_targets): Add the pdf and pdf-am targets.
534 (initialize_per_input): Likewise.
535 (scan_texinfo_file): Add pdf to @clean_suffixes.
536 (handle_texinfo_helper): Output the .pdf dependencies, and define
538 * lib/am/texinfos.am (TEXI2PDF): New variable.
539 (pdf, pdf-am): New targets.
540 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
541 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
543 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
545 Fix pr307.test failure with gcc 3.x.
546 * lib/depcomp (dashmstdout): Strip the call to libtool, and
547 replace `-o $object' by `-o /dev/null' before running "$@"
548 to generate dependencies.
549 (cpp): Strip the call to libtool as well as `-o $object'.
551 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
553 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
554 $base.lo.d, when libtool is used.
555 Reported by Nicolas Joly.
557 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
559 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
560 is no file to compile.
561 * tests/java2.test: New file.
562 * tests/Makefile.am (TESTS): Add java2.test.
563 Reported by Braden N. McDaniel.
565 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
567 * tests/maintclean.test: Don't check for autom4te.cache if
568 it's not created by Autoconf.
569 Reported by Bernd Jendrissek.
571 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
573 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
575 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
577 * lib/am/header-vars.am (transform): Define.
578 Was removed by mistake on 2002-04-13.
579 * tests/transform.test: New file.
580 * tests/Makefile.am (TESTS): Add transform.test.
581 Reported by Nicolas Joly.
583 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
585 * tests/dollar.test: Require GNU make.
586 * tests/maintclean.test: Don't use `export YACC=false'. Pass
587 YACC=false to configure instead.
589 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
592 INSTALL: New upstream versions.
594 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
596 * tests/sinclude.test: Check for m4_include too.
598 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
600 * tests/sinclude.test: Rename the package as amsinclude;
601 am__sinclude still trigers the sinclude macro once it has been
602 converted to am--sinclude.
603 Reported by Nicolas Joly.
605 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
607 * automake.texi (API versioning): Typo.
609 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
611 * THANKS (Nicolas Joly): Remove duplicate.
613 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
615 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
616 * tests/yacc7.test: Use rm -f.
618 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
620 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
621 * tests/subpkg.test: New file.
622 * tests/Makefile.am (TESTS): Add subpkg.test.
624 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
627 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
628 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
629 * lib/am/scripts.am (install-%DIR%SCRIPTS,
630 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
632 (?%DIR%SCRIPT_INSTALL): New variable.
633 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
634 Reported by Eric Siegerman.
636 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
638 * automake.in (lang_yacc_target_hook): Add rule to recover from
639 the removal of $header.
640 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
641 output by lang_yacc_target_hook).
642 * tests/yacc7.test: Try to recreate foo.h after its removal.
643 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
645 Reported by Bernd Jendrissek.
647 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
650 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
651 suggest `list='$(FILES)'; for f in $$list' instead.
652 * lib/am/distdir.am (distdir): Adjust `for' usage.
653 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
654 * tests/dollar.test: New file.
655 * tests/Makefile.am (TESTS): Add dollar.test.
656 Reported by Eric Siegerman and Philip Fong.
658 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
660 For PR automake/47 (fixed a long time ago):
661 * tests/yacc7.test: Also check that parser sources are distributed.
663 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
665 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
667 (maintainer-clean): Delete autom4te.cache and
668 $(am__CONFIG_DISTCLEAN_FILES).
669 * tests/maintclean.test: New file.
670 * tests/Makefile.am (TESTS): Add maintclean.test.
672 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
674 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
677 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
679 * Makefile.am (maintainer-check): Check for egrep and fgrep.
681 * test/cond22.test: Set SHELL when calling $MAKE -e.
683 2002-05-31 Richard Boulton <richard@tartarus.org>
686 * automake.in (define_objects_from_sources): Calculate the result in
687 all conditions before passing this to subobjname to pick a name to
689 (subobjname): Expect a list of condition/value pairs as input.
690 Combine this list and use it as the key to determine the variable name.
691 * test/cond22.test: New file.
692 * tests/Makefile.am (TESTS): Add cond22.test
694 2002-05-30 Paul Eggert <eggert@twinsun.com>
696 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
697 instead, use shell pattern matching.
699 2002-05-29 Paul Eggert <eggert@twinsun.com>
701 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
702 longer requires them.
704 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
705 of egrep and fgrep. Omit unnecessary -E and -F.
706 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
707 * lib/am/distdir.am (distdir): fgrep -> grep -F.
708 Use $(), not ${}, for Make variables.
709 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
711 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
712 * tests/defs: Set FGREP and EGREP.
714 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
715 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
716 tests/cond21.test, tests/condlib.test, tests/confh4.test,
717 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
718 tests/depend4.test, tests/discover.test, tests/distname.test,
719 tests/dup3.test, tests/empty4.test, tests/fo.test,
720 tests/implicit.test, tests/insh2.test, tests/interp.test,
721 tests/lex.test, tests/lex3.test, tests/lex4.test,
722 tests/libobj5.test, tests/libobj7.test, tests/make.test,
723 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
724 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
725 tests/pr2.test, tests/pr9.test, tests/seenc.test,
726 tests/specflags.test, tests/specflags3.test,
727 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
728 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
729 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
730 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
732 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
735 * m4/depend.m4: Missing comma.
736 * tests/gcj4.test: New file.
737 * tests/Makefile.am (TESTS): Add gcj4.test.
738 Reported by David Pashley.
740 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
742 * tests/defs (configure.in): Don't double-quote $me.
743 * tests/sinclude.test: Overwrite configure.in and use
744 `am__sinclude' instead of `sinclude' as package name.
745 Excercise `m4_sinclude' instead of `sinclude'.
747 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
749 * automake.in (conditional_implies_one_of): Rename as ...
750 (conditional_implies_any): ... this.
751 * tests/pluseq9.test: Exercise another case with the new
753 Suggested by Raja R Harinath.
755 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
757 * tests/defs (configure.in): Quote macro arguments.
758 Reported by Nicolas Joly.
760 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
762 * lib/am/header-vars.am (build_triplet, host_triplet,
763 target_triplet): Define. Were removed by mistake on 2002-04-13.
765 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
768 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
769 * tests/destdir.test: New file.
770 * tests/Makefile.am (TESTS): Add destdir.test.
772 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
774 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
775 (conditional_is_redundant): Simplify.
776 (conditional_implies_one_of,
777 variable_not_always_defined_in_cond): New functions
778 (macro_define): Reject appends if the variable is not defined in
779 all conditions where `+=' applies.
780 (invert_conditions): Rewrite. Before this patch,
781 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
782 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
783 wrong (these conditions implies "A_FALSE"). Now it outputs (),
784 which just means the input conditions cover all cases.
785 (variable_conditions_permutations): Never output FALSE conditions.
786 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
787 in the CHECK_FALSE condition to fix the test.
788 * tests/pluseq5.test: Actually check the diagnostic.
789 * tests/pluseq9.test: New file.
790 * tests/Makefile.am (TESTS): Add pluseq9.test.
792 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
794 Fix for PR automake/322:
795 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
796 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
797 Handle comments continued by backslashes.
798 * tests/comment6.test: New file.
799 * tests/Makefile.am (TESTS): Add comment6.test.
800 Reported by Braden N. McDaniel.
802 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
803 Alexandre Duret-Lutz <duret_g@epita.fr>
805 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
806 both `program$(EXEEXT)' and `program'; needed under Cygwin.
807 * tests/libtool3.test: New file.
808 * tests/Makefile.am (TESTS): Add libtool3.test.
810 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
814 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
816 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
818 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
820 Erase stamps from the Makefile that generates them.
822 * automake.in (handle_configure): Append each used stamp to
823 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
824 file is not used anymore.
825 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
827 * tests/subdir6.test: New file.
828 * tests/Makefile.am (TESTS): Add it.
830 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
832 Fix for condd.test (conditional `+='):
833 * automake.in (%appendvar): New.
834 (initialize_per_input): Clear it.
835 (macro_define): Handle += for variable defined in another condition.
836 * automake.texi (Conditional Sources): Use conditional += in
838 (General Operation, Conditionals): Remove note about broken +=.
839 * tests/cond21.test: New file.
840 * tests/condd.test: Also test conditional append to a _SOURCE
841 variable. Create missing directories.
842 * tests/Makefile.am (TESTS): Add cond21.test.
843 (XFAILS): Remove condd.test.
845 2002-05-05 Tom Tromey <tromey@redhat.com>
847 * automake.texi (Program and Library Variables): Mention _LFLAGS.
849 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
851 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
852 files. Fix subobj9.test on OSF and IRIX.
853 Reported by Nelson H. F. Beebe.
855 2002-04-26 Tom Tromey <tromey@redhat.com>
857 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
858 For Debian bug 144221.
860 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
862 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
864 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
866 * automake.in (subobjname): Use the length of %subobjvar
867 instead of $subobjnamenum.
868 (subobjnamenum): Remove.
870 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
873 * lib/depcomp: Never compute dependencies in the background, this
874 can cause races with libtool. Compute the dependencies after
875 the actual compilation. Don't make libtool silent now that
876 it's run in the foreground.
877 * tests/pr307.test: New file.
878 * tests/Makefile.am (TESTS): Add pr307.test.
879 Reported by Laurent Morichetti.
881 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
883 * lib/am/check.am: Show skipped tests. Display the
884 $(PACKAGE_BUGREPORT) address on failure.
886 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
889 * automake.in (subobjname): Rewrite to generate variable name
890 unique for each content.
891 (%substnums): Remove.
892 (%subobjvar): New hash.
893 (initialize_per_input): Clear %subobjvar.
894 (define_objects_from_sources): Return the name of the variable
895 defined, in addition to the linker. Call subobjname only once
896 the content of the variable to define is known.
897 (handle_source_transform): Adjust call to define_objects_from_sources.
898 * tests/specflags8.test: Mention PR 315.
899 * tests/subobjname.test: New file.
900 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
901 (TESTS): Add subobjname.test.
903 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
905 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
906 the whole file for 'generated by automake', not only the
907 first line. This accounts for post-processed Makefile.in's.
908 * tests/postproc.test: New file.
909 * tests/Makefile.am (TESTS): Add postproc.test.
911 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
913 For PR automake/151 and PR automake/314:
914 * automake.texi (A Program): Split into
915 (Program Sources, Linking, Conditional Sources, Conditional
916 Programs): ... these subsections; moving the Linking node
917 before the Conditional discussions.
918 (Conditional Sources): More details. Notably, mention
920 (Conditionals): Adjust reference to Conditional Programs.
922 2002-04-19 Paul Eggert <eggert@twinsun.com>
924 Fix some bugs when using "$@" when there might be zero positional
925 arguments in cases where this matters. Zsh doesn't support
926 the workaround ${1+"$@"} that has been used by Automake since
927 the Mon Dec 4 11:55:36 1995 change.
929 * aclocal.in: Use 'case' statement to work around problem.
930 * automake.in: Likewise.
931 * lib/ylwrap: Likewise.
932 * lib/missing: No need for workaround, as the command is never
933 invoked with zero arguments.
934 * tests/ccnoco.test: Likewise.
935 * missing: Update from lib/missing.
937 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
939 * automake.in (initialize_per_input): Clear %require_file_found.
940 (%require_file_found): Group the declaration with the other
941 variables initialized by initialize_per_input.
942 * tests/required.test: New file.
943 * tests/Makefile.am (TESTS): Add it.
944 Reported by Marius Vollmer.
946 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
948 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
949 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
950 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
951 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
952 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
954 * tests/confh5.test: New file.
955 * tests/Makefile.am (TESTS): Add confh5.test.
956 * automake.texi (Optional, Public macros): Update descriptions
957 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
959 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
961 * tests/man2.test: New file.
962 * tests/Makefile.am (TESTS): Add man2.test.
963 * lib/am/mans.am (install-man%SECTION%): Change the extension
964 of the man pages being installed, as documented.
966 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
968 Enable traces; wipe out the old configure.in parser.
970 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
971 'autoconf'. Honnor the $filename argument.
972 (scan_autoconf_files): Don't call scan_one_autoconf_file.
973 Always call scan_autoconf_traces.
974 (scan_one_autoconf_file): Remove, with it associated regexes.
975 (obsolete, obsolete_rx): Remove.
976 (register_language, handle_languages): Remove the 'define_flag'
977 support. Remove it from the struct and language definitions too.
978 (unquote_m4_arg): Remove.
979 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
980 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
981 are now generated automatically.
982 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
984 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
986 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
988 * tests/version6.test: New file.
989 * tests/Makefile.am (TESTS): Add tests/version6.test.
990 * automake.in (version_check): Return 0 on equality.
992 2002-04-13 Andreas Schwab <schwab@suse.de>
994 * THANKS: Update my mail address.
996 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
998 * tests/discover.test: Use a full configure.in that calls AC_INIT.
999 Use AC_LIBOBJ. Grep the error message.
1000 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
1001 Grep the error message. Require libtool.
1002 * tests/ldflags.test: Don't use LIBOBJS.
1003 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
1004 error messages for CC and CXX.
1006 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1008 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
1010 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
1011 * tests/ext.test: Enable dependencies for OBJC.
1012 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
1013 Delete. They tests for different flavors of $LIBOBJS assignments
1014 that wont be supported anymore.
1015 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
1016 * tests/obsolete.test: Don't test Automake.
1017 * tests/suffix5.test: Require libtool.
1018 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
1021 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1023 * configure.in (APIVERSION): Fix definition.
1025 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1027 * NEWS: Catch up with changes since 1.6.
1029 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1031 * tests/yacc8.test: Don't assume GNU make, run config.status
1032 to regenerate the Makefile.
1034 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1036 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
1037 always followed by a SHELL setting.
1038 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
1039 SHELL when calling `$MAKE -e'.
1041 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1043 * tests/subobj9.test: Use configure.in, not configure.ac,
1044 otherwise this fails with old libtool versions.
1046 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1048 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1051 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1053 * ChangeLog.2001: New file, extracted from ChangeLog.
1054 * Makefile.am (EXTRA_DIST): Add it.
1056 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1058 * automake.texi (Canonicalization): The sources for libmumble++.a
1059 go into libmumble___a_SOURCES.
1061 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1063 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
1064 test suite. Suggest `sleep 2' instead.
1065 * tests/confsub.test: Use `sleep 2'.
1067 2002-04-04 Paul Eggert <eggert@twinsun.com>
1069 * lib/am/subdirs.am:
1070 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
1071 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
1072 MAKEFLAGS contains '$(...)'.
1074 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1076 * tests/specflags8.test: Typo.
1078 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1080 * tests/specflags6.test: Run aclocal.
1081 * tests/Makefile.am (TESTS): Add specflags6.test.
1083 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1085 * tests/specflags7.test, tests/specflags8.test: New files.
1086 * tests/Makefile.am (TESTS): Add them.
1087 (XFAIL_TESTS): Add specflags8.test.
1089 2002-03-29 Tom Tromey <tromey@redhat.com>
1091 * automake.in (check_typos): Examine AM_LDFLAGS.
1092 Fixes PR automake/311.
1094 For PR automake/312:
1095 * lib/am/libtool.am (clean-libtool): Use LTRMS.
1096 * automake.in (handle_single_transform_list): When processing a
1097 libtool object, clean the ordinary object and register the
1099 (libtool_clean_directories): New global.
1100 (initialize_per_input): Initialize it.
1101 (generate_makefile): Call handle_libtool later.
1102 (handle_libtool): Handle libtool_clean_directories.
1103 * tests/subobj9.test: New file.
1104 * tests/Makefile.am (TESTS): Added subobj9.test.
1106 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1108 * tests/extra6.test, tests/subdir5.test: Require GNU make.
1110 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1112 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
1114 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1116 * tests/extra7.test: New file.
1117 * tests/Makefile.am: Add it.
1118 * lib/am/distdir.an (distdir): When a distribuable directory
1119 exists both in `.' and $(srcdir), merge both directories. This
1120 works around a failure of extra6.test on Tru64 reported by
1123 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1125 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
1127 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1129 * Makefile.am (maintainer-check): Catch occurrences of
1130 `$MAKE foo=bar' in the testsuite. Suggest using
1131 `foo=bar $MAKE -e' instead.
1132 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
1133 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
1134 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
1135 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
1137 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1139 Fix for PR automake/310:
1140 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
1141 so it never appears as a plain word.
1143 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1145 * lib/depcomp (tru64): Correctly compute `base'.
1147 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1149 * tests/pr211.test: s/requires/required/, otherwise the test fails
1150 if libtool is not installed.
1152 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1154 * tests/dirname.test: Don't use $SHELL when calling ./configure.
1156 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1158 * tests/dirname.test: Use --quiet to fix failure on installations
1159 using a site script.
1160 Reported by Nicolas Joly.
1162 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1164 * Makefile.am (maintainer-check): Check for misuses of make,
1165 autoconf, automake, aclocal, and perl in the testsuite. Suggest
1166 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
1167 * tests/confsub.test: Use $AUTOCONF and $MAKE.
1168 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
1169 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
1170 tests/pr224.test, tests/pr287.test, tests/strip.test,
1171 tests/yacc8.test: Use $MAKE.
1173 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1175 Add support for two-dot versions.
1177 * tests/version5.test: New file.
1178 * tests/Makefile.am (TESTS): Add it.
1179 * automake.in (version_split, version_compare): New functions.
1180 (version_check): Rewrite using version_split and version_compare.
1181 (process_option_list): Adjust regex.
1183 2002-03-18 Richard Boulton <richard@tartarus.org>
1185 Fix for PR automake/306:
1186 * automake.texi (Generalities): Document +=.
1187 (Conditionals): Document limitations of += with conditionals.
1189 2002-03-17 Tom Tromey <tromey@redhat.com>
1191 Fix for PR automake/295:
1192 * automake.texi (Invoking Automake): Deprecate --output-dir.
1193 * automake.in (usage): Don't document --output-dir.
1194 (output_directory): Don't initialize.
1195 (parse_arguments): Deprecate --output-dir.
1197 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
1198 Fixes PR automake/304.
1200 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1202 * tests/dirforbid.test: Workaround for NetBSD sh bug.
1203 Fixes PR automake/305.
1205 2002-03-11 Richard Boulton <richard@tartarus.org>
1207 * automake.in (check_typos): Allow variables with reserved
1208 suffices (such as _LDFLAGS) and prefixes which aren't
1209 recognised if the variable is defined in configure.ac.
1212 2002-03-11 Richard Boulton <richard@tartarus.org>
1214 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
1215 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
1216 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
1218 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
1220 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
1223 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1225 Fix for PR automake/303:
1226 * automake.in (version_check): Move the error message ...
1227 (process_option_list): ... here, so we can distinguish between
1228 global and local options.
1230 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1232 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1233 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
1234 Autoconf doesn't complain about Makefile being output twice.
1236 2002-03-06 Tom Tromey <tromey@redhat.com>
1238 * configure.in: Upped version to 1.6a.
1240 2002-03-05 Tom Tromey <tromey@redhat.com>
1242 * configure.in: Released 1.6.
1244 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1246 Fix for PR automake/300:
1247 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1248 tests/pr300-prog.test: New files.
1249 * tests/Makefile.am (TESTS): Add them.
1250 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
1251 compute the directory.
1252 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
1253 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
1254 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
1255 (uninstall-%DIR%LIBRARIES): Honor nobase_.
1256 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
1257 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
1258 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
1259 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
1260 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
1261 (uninstall-%DIR%PROGRAMS): Honor nobase_.
1262 See also the fix for nobase.test on 2001-11-09.
1264 2002-03-05 Tom Tromey <tromey@redhat.com>
1266 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
1268 2002-03-05 Pavel Roskin <proski@gnu.org>
1270 * tests/yacc8.test: Add a command between "test" and "cd" to
1271 work around a bug in bash-2.05.
1273 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1275 Fix for PR automake/294:
1276 * tests/dirforbid.test: New file.
1277 * tests/Makefile.am (TESTS): Add it.
1278 * automake.in (standard_prefix): New hash.
1279 (am_primary_prefixes): Forbid standard_prefixes which are not
1280 explicitely allowed.
1281 * automake.texi (Uniform): Remove FIXME.
1283 2002-03-05 Jim Meyering <meyering@lucent.com>
1285 * automake.in (@common_files): Add config.rpath.
1287 2002-03-05 Kevin Ryde <user42@zip.com.au>
1289 For PR automake/297:
1290 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
1291 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
1294 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1296 * automake.in (scan_one_autoconf_file): Declare
1297 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
1298 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
1299 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
1300 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
1301 of s/// in the sed invocation, to support filenames containing
1303 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
1304 * tests/lex5.test, tests/yacc8.test: New files.
1305 * tests/Makefile.am (TESTS): Add them.
1307 2002-02-23 Per Bothner <per@bothner.com>
1309 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
1312 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1314 * tests/make.test: Revert the grep logic to work around a bug
1315 in NetBSD sh (see NetBSD Problem Report #11542).
1316 Reported by Patrick Welche.
1318 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
1320 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
1321 to try and prevent a non-lisp emacs from starting in interactive
1323 * automake.texi: Document this change.
1325 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1327 * automake.texi (Macros): Split into ...
1328 (Public Macros, Private Macros): ... these.
1330 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1332 * tests/insthook.test: Use sed instead of "tail +X".
1334 2002-02-18 Paul Eggert <eggert@twinsun.com>
1336 * lib/depcomp: Don't use "tail +3"; it's not portable to
1337 POSIX 1003.1-2001 hosts.
1339 2002-02-18 Jim Meyering <meyering@lucent.com>
1341 * tests/cond12.test: Use sed 1q, not `head -n 1'.
1342 The latter is not portable to some old systems.
1343 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
1344 Use `sed 1q' instead.
1345 * tests/insthook.test: Likewise.
1347 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1349 * automake.in (handle_lib_objects_cond): Tell the user to put
1350 global linker flags in AM_LDFLAGS, not LDFLAGS.
1352 * automake.texi (General Operation): AC_SUBST'ed variables
1353 override Automake's variables.
1354 (Uniform): More words and @refs.
1355 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
1356 (etags): More explanations about the first example.
1357 (Invoking Automake): Mention autoreconf. More @refs.
1358 (Requirements): Mention AC_CONFIG_FILES.
1359 (Optional): AC_CHECK_TOOL will no longer install config.sub and
1360 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
1361 (Invoking aclocal): aclocal no longer warn about duplicates.
1362 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
1363 (Extending aclocal): Suggest using the output of
1364 `aclocal --print-ac-dir` to install third-party macros.
1365 (Alternative): Specify ordering of dist_, nodist_, and nobase_
1367 (A Program): Mention scripts. The global LDADD variable is not
1368 meant to hold link flags, suggest using AM_LDFLAGS instead.
1369 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
1370 _LIBADD and _LDADD are subject to the same restriction wrt to
1372 (Program and Library Variables) <maude_DEPENDECIES>: Is also
1373 derived from maude_LIBADD.
1374 (Program variables): Define AM_LDFLAGS.
1375 (Dependencies): Passing the no-dependencies option to
1376 AM_INIT_AUTOMAKE is prefered.
1377 (Scripts): Explain why automake is magically cleaned.
1378 Mention noinst_SCRIPTS and check_SCRIPTS.
1379 (Data): Use dist_ in Automake's example.
1380 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
1381 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
1383 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1385 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
1386 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
1387 of asking the maintainer to do it manually.
1388 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
1389 Automake/XFile.pm: New upstream versions.
1391 2002-02-02 Tom Tromey <tromey@redhat.com>
1393 * automake.texi (Macros): Warn about upgrading.
1395 2002-02-01 Tom Tromey <tromey@redhat.com>
1397 Change per GNU coding standards:
1398 * aclocal.in (parse_arguments): Only mention most recent year in
1400 * automake.in (version): Only mention most recent year.
1402 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1404 * automake.texi (API versioning): New Node.
1405 (Extending): Use $(DESTDIR) in examples.
1407 2002-01-28 Akim Demaille <akim@epita.fr>
1409 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
1410 Respect the --help layout.
1412 2002-01-27 Tom Tromey <tromey@redhat.com>
1414 * configure.in: Bumped to 1.5e.
1416 * lib/am/yacc.am: Use `rm -f'.
1418 * configure.in: Released 1.5d.
1420 * lib/config.guess: New version from FSF.
1422 * Makefile.am (uninstall-hook): New target.
1424 2002-01-24 Akim Demaille <akim@epita.fr>
1426 * lib/install-sh: Update, from Autoconf.
1428 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1430 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
1431 as AC_CANONICAL_HOST (the former does not require the latter since
1433 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
1434 * automake.texi (Requirements): Do not require STRIP to be
1435 defined by the user.
1437 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1439 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
1440 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
1441 * tests/pr224.test: Make sure .deps subdirectories are
1442 erased by distclean.
1444 2002-01-22 Tom Tromey <tromey@redhat.com>
1446 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
1447 no-dependencies option is set.
1448 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
1449 no-dependencies option is set. Don't call AM_DEP_TRACK or
1452 2002-01-22 Pavel Roskin <proski@gnu.org>
1454 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
1457 2002-01-22 Akim Demaille <akim@epita.fr>
1459 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
1462 2002-01-21 Tom Tromey <tromey@redhat.com>
1464 * Makefile.am (fetch): Don't fetch ansi2knr.
1466 * automake.texi (Macros): Updated for new variable names.
1467 (Program and Library Variables): Likewise.
1468 (Assembly Support): Likewise.
1469 * m4/as.m4: Use CCAS and CCASFLAGS.
1470 * automake.in (asm): Use CCAS and CCASFLAGS.
1472 2002-01-21 Akim Demaille <akim@epita.fr>
1474 * automake.in (&parse_arguments): Use a more GNUish error message
1477 2002-01-20 Tom Tromey <tromey@redhat.com>
1479 Fix for PR automake/231:
1480 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
1481 * m4/depend.m4: Document `GCJ'.
1483 For PR automake/224:
1484 * tests/Makefile.am (TESTS): Added pr224.test.
1485 * tests/pr224.test: New file.
1486 * lib/depcomp: Fixed computation of depfile.
1487 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
1488 * automake.in (handle_single_transform_list): Only reject `..'
1489 component for Java. Put dependencies in directory near object.
1490 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
1492 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1494 * tests/defs: Export AUTOMAKE and ACLOCAL.
1496 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1498 Fix for PR automake/204:
1499 * tests/pr204.test: New file.
1500 * tests/Makefile.am (TESTS): Add it.
1501 * automake.in (handle_single_transform_list): Don't distribute
1502 sources derived from non-distributed sources.
1504 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1506 Fix for PR automake/229:
1507 * tests/pr229.test: New file.
1508 * tests/Makefile.am (TESTS): Add it.
1509 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
1510 AC_EMXOS2, and AC_MINGW32.
1512 2002-01-18 Tom Tromey <tromey@redhat.com>
1514 * tests/cond7.test: Fix test bug exposed by copyright update.
1516 For PR automake/288:
1517 * automake.in (lang_c_rewrite): Don't prepend directory to base if
1518 directory is `.'. Also, properly compute de_ansi_files entry in
1520 * tests/Makefile.am (TESTS): Added ansi7.test.
1521 * tests/ansi7.test: New file.
1523 * aclocal.in (parse_arguments): Added 2002.
1524 (write_aclocal): Likewise.
1525 (parse_arguments): Updated my email address.
1526 * automake.in (gen_copyright): Added 2002.
1527 (version): Likewise. Also, changed my email address.
1529 * configure.in (APIVERSION): Refined definition.
1531 2002-01-18 Tom Tromey <tromey@redhat.com>
1534 * lib/missing: Accept versioned aclocal.
1535 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
1537 2002-01-17 Pavel Roskin <proski@gnu.org>
1539 * m4/Makefile.am (m4datadir): Use APIVERSION.
1541 2002-01-16 Tom Tromey <tromey@redhat.com>
1543 * Makefile.am (install-exec-hook): Use APIVERSION.
1544 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
1545 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
1547 * automake.in (perllibdir): Use APIVERSION.
1549 * aclocal.in (perllibdir): Use APIVERSION.
1550 (APIVERSION): New global.
1551 (parse_arguments): Use APIVERSION.
1552 * configure.in (APIVERSION): New subst.
1553 (pkgvdatadir): Use APIVERSION.
1555 2002-01-15 Tom Tromey <tromey@redhat.com>
1558 * lib/missing: Match against `automake*' to pick up versioned
1560 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
1561 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
1563 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
1564 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
1566 (scriptdir): Use pkgvdatadir.
1567 (installcheck-local): Likewise.
1568 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
1569 * automake.in (perllibdir): Added VERSION.
1571 * aclocal.in (parse_arguments): Search versioned directory. Don't
1572 push unversioned directory unless it exists.
1573 (perllibdir): Added VERSION.
1574 (default_acdir): New global.
1575 * m4/Makefile.am (m4datadir): Added $(VERSION).
1576 * Makefile.am (install-exec-hook): New target.
1577 * configure.in (ACLOCAL): Search build directory.
1578 (pkgvdatadir): New subst.
1580 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1582 * lib/config.sub, lib/config.guess: New versions from FSF.
1584 2002-01-13 Tom Tromey <tromey@redhat.com>
1586 For PR automake/288:
1587 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
1589 (lang_c_finish): Likewise. Also, use directory information from
1592 2002-01-13 Kevin Ryde <user42@zip.com.au>
1594 For PR automake/288:
1595 * tests/Makefile.am (TESTS): Added ansi6.test.
1596 * tests/ansi6.test: New file.
1598 2002-01-13 Tom Tromey <tromey@redhat.com>
1600 For PR automake/287:
1601 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
1603 * tests/Makefile.am (TESTS): Added pr287.test.
1604 * tests/pr287.test: New file.
1606 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1608 * lib/am/distdir.am (distdir): Handle subdirectories.
1609 * tests/extra6.test: New file.
1610 * tests/Makefile.am (TESTS): Add it.
1612 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1614 * tests/extra2.test: Run $ACLOCAL.
1616 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1618 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
1619 AM_INIT_AUTOMAKE arguments when using the old-style call.
1620 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
1621 Suggested by Pavel Roskin.
1623 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1625 * test/nodefine.test, test/nodefine2.test: Check that no-define
1626 works, not the contrary...
1627 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
1628 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
1631 2002-01-12 Jim Meyering <meyering@lucent.com>
1633 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
1634 * tests/libobj11.test: New file.
1635 * tests/Makefile.am (TESTS): Add libobj11.test.
1637 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
1639 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
1641 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1643 * automake.in (file_contents_internal): Introduce two variables,
1644 $is_rule and $discard_rules to track rules spanning across multiple
1645 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
1646 where only the first paragraph of such a multi-paragraph rule was
1647 discarded; but it leaves many similar latent bugs (see the FIXMEs).
1649 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1651 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
1652 * tests/error.test: Use some macro names which are not defined by
1655 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1657 * automake.texi (Complete, Macros, Options): Document the new style
1658 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
1659 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
1660 AC_INIT if they are available there. Support a new call form
1661 where the only argument is an optional space-separated list of
1663 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
1664 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
1665 _AM_IF_OPTION): New functions.
1666 * automake.in (AC_INIT_PATTERN): New variable.
1667 (global_options_line): Remove, use $seen_init_automake instead.
1668 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
1669 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
1670 Remove the AM_AUTOMAKE_OPTIONS handling.
1671 * configure.in: Modernize.
1672 * tests/defs (configure.in): Modernize. One third of the tests
1673 still overwrite the default configure.in and use an old
1674 AM_INIT_AUTOMAKE call, so that makes testing for both.
1675 * tests/nodefine.test, tests/nodefine2.test: New files.
1676 * tests/Makefile.am (TESTS): Add them.
1678 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
1680 * automake.in (define_configure_variable): Propagate line numbers.
1682 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1684 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1686 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1688 * configure.in: Run the Autoconf test in a subdirectory, then
1689 erase this directory.
1691 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1693 * configure.in (AUTOMAKE): Create m4/amversion.m4.
1694 * m4/amversion.in: New file.
1695 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1696 (dist_m4data_DATA): ... this.
1697 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1698 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1699 AM_SET_CURRENT_AUTOMAKE_VERSION.
1700 * automake.in (seen_automake_version): New variable.
1701 (scan_autoconf_traces, scan_one_autoconf_file,
1702 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1703 when the version used in aclocal.m4 differs from Automake's.
1704 * tests/defs (ACLOCAL): Look in ../m4 too.
1705 * tests/installsh.test (ACLOCAL): Likewise.
1706 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1708 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1710 * automake.in (handle_languages): Emit an automake
1711 internal variable 'am__depfiles_maybe'.
1712 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1714 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1717 2002-01-06 Tom Tromey <tromey@redhat.com>
1719 * automake.texi (Tags): Document new variables.
1720 * lib/am/tags.am (ETAGS): New macro.
1721 (ETAGSFLAGS): Likewise.
1724 2002-01-04 Tom Tromey <tromey@redhat.com>
1726 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1728 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1730 * automake.in (read_am_file): Thinko in "comment following
1731 trailing backslash" detection.
1732 * tests/comment5.test: Test for this too.
1734 2002-01-02 Tom Tromey <tromey@redhat.com>
1736 * automake.texi (Extending): Added index for uninstall-hook.
1738 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1740 Fix for PR automake/278:
1741 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1742 with versions such as '2.2c1'. Also, use `int' instead of the
1743 obsoleted `string.atoi'.
1744 Reported by Enrico Scholz.
1746 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1748 Fix for PR automake/280:
1749 * automake.in (read_am_file): Warn about trailing backslashes
1751 * tests/comment5.test: New file.
1752 * tests/Makefile.am (TESTS): Add comment5.test.
1753 Reported by Enrico Scholz.
1755 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1757 * tests/comment4.test: New file.
1758 * tests/Makefile.am (TESTS): Add comment4.test.
1760 Fix for comment4.test:
1761 * automake.in (read_am_file): Output leading comments only when
1762 encountering white lines.
1764 2002-01-01 Tom Tromey <tromey@redhat.com>
1766 For PR automake/234:
1767 * tests/Makefile.am (TESTS): Added strip.test.
1768 * tests/strip.test: New file.
1770 * automake.texi (Extending): Mention uninstall-hook.
1771 (Install): Likewise.
1772 * automake.in (handle_factored_dependencies): Allow
1775 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1777 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1778 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1779 This fixes a bug introduced on 2001-01-28.
1780 Reported by Jared Davis.
1784 Copyright (C) 2002 Free Software Foundation, Inc.
1786 This file is part of GNU Automake.
1788 GNU Automake is free software; you can redistribute it and/or modify
1789 it under the terms of the GNU General Public License as published by
1790 the Free Software Foundation; either version 2, or (at your option)
1793 GNU Automake is distributed in the hope that it will be useful,
1794 but WITHOUT ANY WARRANTY; without even the implied warranty of
1795 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1796 GNU General Public License for more details.
1798 You should have received a copy of the GNU General Public License
1799 along with autoconf; see the file COPYING. If not, write to
1800 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1801 Boston, MA 02111-1307, USA.