platform/upstream/automake.git
21 years ago For PR automake/347:
Tom Tromey [Sun, 18 Aug 2002 22:26:37 +0000 (22:26 +0000)]
For PR automake/347:
* automake.in (rule_define): Given portability warning if "%" seen
in target name.
(TARGET_PATTERN): Added `%'.
* tests/Makefile.am (TESTS): Added percent.test.
* tests/percent.test: New file.

21 years ago2002-08-15 Art Haas <ahaas@neosoft.com>
Tom Tromey [Thu, 15 Aug 2002 17:32:12 +0000 (17:32 +0000)]
2002-08-15  Art Haas  <ahaas@neosoft.com>

* lib/am/depend2.am: Use correct name for dependency file in
libtool fastdep case.

21 years ago2002-08-14 Art Haas <ahaas@neosoft.com>
Tom Tromey [Wed, 14 Aug 2002 16:21:00 +0000 (16:21 +0000)]
2002-08-14  Art Haas  <ahaas@neosoft.com>

* lib/am/depend2.am: Added missing `;'.

21 years ago* automake.texi (Python): Fix wording.
Alexandre Duret-Lutz [Fri, 2 Aug 2002 19:52:05 +0000 (19:52 +0000)]
* automake.texi (Python): Fix wording.

21 years ago* tests/ext2.test: New file. This bug is present in Automake 1.6.3
Alexandre Duret-Lutz [Fri, 2 Aug 2002 16:10:28 +0000 (16:10 +0000)]
* tests/ext2.test: New file.  This bug is present in Automake 1.6.3
and was fixed by the change on variable_conditions_permutations
and invert_conditions on 2002-05-16.
* tests/Makefile.am (TESTS): Add ext2.test.
Reported by Ladislav Strojil.

21 years ago* aclocal.in (parse_arguments): Add `dirlist' paths add the
Alexandre Duret-Lutz [Thu, 1 Aug 2002 22:24:33 +0000 (22:24 +0000)]
* aclocal.in (parse_arguments): Add `dirlist' paths add the
very end of the search path, after aclocal-APIVERSION/ and
aclocal/.
* automake.texi (Macro search path): Adjust to reflect the
new ordering.
* tests/dirlist.test: Check for this.

21 years ago2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
Alexandre Duret-Lutz [Wed, 31 Jul 2002 19:58:26 +0000 (19:58 +0000)]
2002-07-31  Charles Wilson  <cwilson@ece.gatech.edu>

        * aclocal.in (parse_arguments): Add support for extending
        default macro search path, using a `dirlist' file within
        the aclocal directory.
        * automake.texi (Invoking aclocal): Move option descriptions into ...
        (aclocal options): ... this new node.
        (Macro search path): New node.
        * tests/dirlist.test: New file.
        * tests/Makefile.am (TESTS): Add dirlist.test.
        * m4/dirlist: New file.
        * m4/Makefile.am (EXTRA_DIST): Add dirlist.
        * tests/defs: Honor any installed dirlist when searching for
        libtool.m4 and gettext.m4.

21 years agoBuild info files in builddir instead of srcdir (for PR automake/168),
Alexandre Duret-Lutz [Tue, 30 Jul 2002 20:15:32 +0000 (20:15 +0000)]
Build info files in builddir instead of srcdir (for PR automake/168),
and prepare support for info files in subdirecties.
* automake.in (output_texinfo_build_rules): New function.
(handle_texinfo_helper): Use output_texinfo_build_rules, and
prepare to support subdir texinfos.  Define am__TEXINFO_TEX_DIR.
* lib/am/texi-vers.am: Build version.texi and stamp-vti in the
current directory, not $(srcdir).  Use %STAMPVTI% to name the stamp
file.
* lib/am/texibuild.am: Rewrite to output files in the current
directory, not $(srcdir).  Also, support both generic and
non-generic output.  Pass `-o $@' to makeinfo, texinfo, and
texi2dvi -- this is a partial fix for PR automake/339.
* tests/texinfo3.test: Make sure the `.texi:' rule is output.
* tests/texinfo10.test: Use set -e, so the checks are not ignored.
* tests/texinfo16.test: New file.
* tests/Makefile.am (TESTS): Add texinfo16.test.

21 years ago* aclocal.in (write_aclocal): Don't write the filename ($output_file)
Alexandre Duret-Lutz [Mon, 29 Jul 2002 16:57:38 +0000 (16:57 +0000)]
* aclocal.in (write_aclocal): Don't write the filename ($output_file)
in the aclocal.m4 header.

21 years ago* configure.in: Require Autoconf 2.53b.
Alexandre Duret-Lutz [Mon, 29 Jul 2002 16:41:25 +0000 (16:41 +0000)]
* configure.in: Require Autoconf 2.53b.

21 years ago* configure.in: Bump version to 1.6c.
Alexandre Duret-Lutz [Sun, 28 Jul 2002 19:32:38 +0000 (19:32 +0000)]
* configure.in: Bump version to 1.6c.

21 years ago* configure.in: Bump version to 1.6b.
Alexandre Duret-Lutz [Sun, 28 Jul 2002 18:47:46 +0000 (18:47 +0000)]
* configure.in: Bump version to 1.6b.
* lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
upstream versions.
* automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
since this file is processed by config.status.

21 years ago* automake.in (read_am_file): Escaped newlines in comments are not
Alexandre Duret-Lutz [Thu, 25 Jul 2002 21:28:41 +0000 (21:28 +0000)]
* automake.in (read_am_file): Escaped newlines in comments are not
portable.  If a comment line doesn't start with a `#', add it.
* tests/comment6.test: Ensure this is done.

21 years agoFix failures reported by Patrick Welche on NetBSD.
Alexandre Duret-Lutz [Wed, 24 Jul 2002 21:45:46 +0000 (21:45 +0000)]
Fix failures reported by Patrick Welche on NetBSD.
* tests/gnits2.test, tests/gnits3.test: Don't trust the exit
status of `make -k'.
* tests/obsolete.test: Source obs.1 and obs.2 from current
directory.

21 years ago2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
Alexandre Duret-Lutz [Tue, 23 Jul 2002 19:10:50 +0000 (19:10 +0000)]
2002-07-23  Patrick Welche  <prlw1@newn.cam.ac.uk>

* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
configure.lineno.

21 years ago* tests/required2.test: New file.
Alexandre Duret-Lutz [Tue, 23 Jul 2002 18:58:07 +0000 (18:58 +0000)]
* tests/required2.test: New file.
* tests/Makefile.am (TESTS): Add required2.test.
* automake.in (initialize_per_input): Remove %require_file_found
setting.  This reverts my change of 2002-04-19.
(require_file_internal): Use the full name of a file as a
key in %require_file_found, not only the basename.
Reported by Andrew Suffield.

21 years ago* automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
Alexandre Duret-Lutz [Mon, 22 Jul 2002 20:53:03 +0000 (20:53 +0000)]
* automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
* tests/subdir7.test: New file.
* tests/Makefile.am (TESTS): Add subdir7.test.

21 years ago* lib/mkinstalldirs: Remove Id keyword.
Alexandre Duret-Lutz [Mon, 22 Jul 2002 17:14:45 +0000 (17:14 +0000)]
* lib/mkinstalldirs: Remove Id keyword.

21 years ago* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
Alexandre Duret-Lutz [Mon, 22 Jul 2002 17:00:44 +0000 (17:00 +0000)]
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
* automake.texi (Options) <std-options>: Document
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
(Gnits): Reference std-options.
* tests/gnits3.test: New file.
* tests/Makefile.am (TESTS): Add gnits3.test.
Suggested by Jim Meyering.

21 years ago* tests/gnits2.test: Use --program-prefix. Test for scripts too.
Alexandre Duret-Lutz [Sat, 20 Jul 2002 15:48:35 +0000 (15:48 +0000)]
* tests/gnits2.test: Use --program-prefix.  Test for scripts too.
Replace the sed script by calls to grep, easier to debug.
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
and $(transform).
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.

21 years ago* lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
Alexandre Duret-Lutz [Sat, 20 Jul 2002 15:11:50 +0000 (15:11 +0000)]
* lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
Always strip the directory part before applying $(transform),
even for nobase_ targets.
* lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
Likewise.
* tests/nobase.test: Use --program-prefix while testing nobase
support.

21 years ago* tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
Alexandre Duret-Lutz [Fri, 19 Jul 2002 20:23:38 +0000 (20:23 +0000)]
* tests/dirname.test: Delete.  We don't define _AM_DIRNAME anymore.
* tests/Makefile.am (TESTS): Remove dirname.test.

21 years ago* m4/init.m4: Require Autoconf 2.53b.
Alexandre Duret-Lutz [Fri, 19 Jul 2002 20:17:59 +0000 (20:17 +0000)]
* m4/init.m4: Require Autoconf 2.53b.
* m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
* m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
* m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
* m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
* m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
* m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
* m4/regex.m4 (fp_WITH_REGEX): Likewise.
* m4/termios.m4: Delete.  AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
in m4/obsolete.m4.
* m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
AU_DEFUNed in m4/obsolete.m4.
* m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
* m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
and obsolete.m4. Remove termios.m4 and winsz.m4.
* aclocal.in (obsolete, obsolete_rx): Remove.
(scan_configure): Don't grep for obsolete macros.
* tests/defs (AUTOUPDATE): Define.
* Makefile.am (maintainer-check): Check for misuses of autoupdate.
* tests/obsolete.test: Rewrite.  Exercize the AU_DEFUN macros from
m4/obsolete.m4.

21 years agoFix for PR automake/338:
Alexandre Duret-Lutz [Fri, 19 Jul 2002 11:04:14 +0000 (11:04 +0000)]
Fix for PR automake/338:
* automake.in (seen_gettext_external): New variable.
(handle_gettext): Conditionalize the intl/ check on
$seen_gettext_external.  Fix grep usage.
(scan_autoconf_traces): Set $seen_gettext_external if
`external' is passed to AM_GNU_GETTEXT.
* tests/gettext.test, tests/gettext2.test: New files.
* tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.

21 years ago* m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
Alexandre Duret-Lutz [Thu, 18 Jul 2002 11:16:40 +0000 (11:16 +0000)]
* m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
_AM_CONFIG_HEADER_INSINUATE): Remove them all.  Leave just ...
(AM_CONFIG_HEADER): ... this new definition for compatibility.
* m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
(_AC_AM_CONFIG_HEADER_HOOK): New macro.
* tests/confh5.tests: Delete.
* tests/Makefile.am (TESTS): Remove confh5.tests.

21 years ago* automake.in (handle_single_transform_list): Typo.
Alexandre Duret-Lutz [Tue, 16 Jul 2002 21:51:52 +0000 (21:51 +0000)]
* automake.in (handle_single_transform_list): Typo.

21 years ago* lib/Automake/Channels.pm (dup_channel_setup,
Alexandre Duret-Lutz [Tue, 16 Jul 2002 21:46:59 +0000 (21:46 +0000)]
* lib/Automake/Channels.pm (dup_channel_setup,
drop_channel_setup): New functions.
(@EXPORT): Add them.
* automake.in (generate_makefile): Call dup_channel_setup and
drop_channel_setup.
(process_option_list): Recognize --warnings and -W options.
* automake.texi (Options): Document them.
* tests/pluseq5.test: Check that -Wno-obsolete will disable the
warning.
* tests/warnopts.test: New file.
* tests/Makefile.am (TESTS): Add warnopts.test.

22 years ago* automake.in: Register warning channel `gnu'.
Alexandre Duret-Lutz [Fri, 12 Jul 2002 08:00:57 +0000 (08:00 +0000)]
* automake.in: Register warning channel `gnu'.
(set_strictness): Turn on `gnu' in --gnu and --gnits.
(usage): Mention the `gnu' category.
(%var_is_am): Replace by ...
(%var_owner): ... this, which uses ...
(VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
Adjust all uses of %var_is_am.
(handle_languages): Warn about user variables being overriden.
(require_variables): Also check %configure_vars for the existence
of a required variable.
* automake.texi (Invoking Automake): Document -Wgnu.
* tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
we test YFLAGS.
* tests/gnuwarn.test: New file.
* tests/Makefile.am (TESTS): Add gnuwarn.test.

22 years agoFix for PR automake/337:
Alexandre Duret-Lutz [Thu, 11 Jul 2002 20:10:39 +0000 (20:10 +0000)]
Fix for PR automake/337:
* automake.in: Redefine the `flags' attribute of each language
as a list.  List CPPFLAGS in `flags' when it is used.
(register_language): Set the default value of 'flags'.
(handle_single_transform_list): Adjust to treat `flags' as a list.
(handle_languages): Likewise.  Don't bother defining the
configure variable for `c', this is always done since we trace
configure.ac.
* automake.texi (etags): Use per-executable _CPPFLAGS.
(Program and Library Variables): Mention maude_CPPFLAGS.
(Program variables): Likewise.
* tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
* tests/specflags9.test: New file.
* tests/Makefile.am (TESTS): Add specflag9.test.

22 years ago* automake.texi: Use `variable' instead of `macro' everywhere it
Alexandre Duret-Lutz [Wed, 10 Jul 2002 21:21:27 +0000 (21:21 +0000)]
* automake.texi: Use `variable' instead of `macro' everywhere it
designates a Makefile variable.
(Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
`flags', not `macros'.  `Macro' means something else in Texinfo.
Also show how to use these flags.
* automake.in (file_contents_internal): s/macro/variable/ in
error message.

22 years ago* automake.in (parse_arguments): Call Getopt twice: once to catch
Alexandre Duret-Lutz [Wed, 10 Jul 2002 20:30:24 +0000 (20:30 +0000)]
* automake.in (parse_arguments): Call Getopt twice: once to catch
--help or --verbose, and once to process the other arguments.
(usage, verbose): Always exit 0, ignoring $exit_code (which anyway
should always be 0 because of the change to parse_arguments).
* tests/Makefile.am (TESTS): Add getopt.test.
* tests/getopt.test: New file.

22 years ago For PR automake/286:
Tom Tromey [Wed, 10 Jul 2002 05:36:46 +0000 (05:36 +0000)]
For PR automake/286:
* automake.texi (Tags): Document ctags.
* automake.in (handle_tags): Handle ctags.
* lib/am/tags.am (CTAGS): New macro.
(CTAGSFLAGS): Likewise.
(ctags): New target.
(distclean-tags): Remove `tags'.

22 years ago * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
Tom Tromey [Wed, 10 Jul 2002 05:33:31 +0000 (05:33 +0000)]
* lib/am/depend2.am: Reworked syntax to avoid parsing problem.

22 years ago * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
Tom Tromey [Wed, 10 Jul 2002 04:41:55 +0000 (04:41 +0000)]
* lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
before passing to cygpath.  Partial fix for PR automake/334.

22 years ago* automake.in (generate_makefile): Suggest using AM_CPPFLAGS
Alexandre Duret-Lutz [Tue, 9 Jul 2002 20:46:19 +0000 (20:46 +0000)]
* automake.in (generate_makefile): Suggest using AM_CPPFLAGS
instead of INCLUDES.
* tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.

22 years ago* automake.in (usage, version): Honor $exit_code.
Alexandre Duret-Lutz [Tue, 9 Jul 2002 19:45:10 +0000 (19:45 +0000)]
* automake.in (usage, version): Honor $exit_code.
(parse_arguments): Use fatal.

22 years ago* automake.texi (Invoking Automake): Document WARNINGS.
Alexandre Duret-Lutz [Tue, 9 Jul 2002 19:12:32 +0000 (19:12 +0000)]
* automake.texi (Invoking Automake): Document WARNINGS.
* automake.in (switch_warning, parse_WARNINGS): New function.
(setup_warnings): Rename to ...
(parse_warnings): ... this.  Move most of the code to switch_warning.
Accept a comma separated list of categories.
* tests/vars2.test: Use a comma separated list of warning categories.

22 years ago* NEWS (New in 1.6): Mention that libtoolize is no longer run
Alexandre Duret-Lutz [Mon, 8 Jul 2002 20:13:38 +0000 (20:13 +0000)]
* NEWS (New in 1.6): Mention that libtoolize is no longer run
by automake.

22 years agoFix for PR automake/291:
Alexandre Duret-Lutz [Mon, 8 Jul 2002 19:41:24 +0000 (19:41 +0000)]
Fix for PR automake/291:
* automake.in (macro_define): Catch variable names starting
with `_'.
(handle_installdirs): Rename _am_installdirs to am__installdirs.
* lib/am/data.am, lib/am/install.am, lib/am/libs.am,
lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
lib/am/texinfos.am: Likewise.
* tests/canon5.test: Use -Wno-portability.
* tests/vars2.test: New file.
* tests/Makefile.am (TESTS): Add vars2.test.

22 years ago* tests/defs (AUTOMAKE): Add -Wall.
Alexandre Duret-Lutz [Mon, 8 Jul 2002 19:11:44 +0000 (19:11 +0000)]
* tests/defs (AUTOMAKE): Add -Wall.
* tests/outdir.test: Use -Wno-obsolete.

22 years ago * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
Tom Tromey [Sun, 7 Jul 2002 22:38:46 +0000 (22:38 +0000)]
* m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
conditional.
* automake.in (handle_languages): Compute FASTDEP.
* lib/am/depend2.am: Added %FASTDEP% mode.

22 years ago * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
Tom Tromey [Sun, 7 Jul 2002 21:40:43 +0000 (21:40 +0000)]
* automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
now.  Fixes PR automake/332.

22 years ago* tests/nobase.test (test-install-exec): Move all the `test -f'
Alexandre Duret-Lutz [Sat, 6 Jul 2002 13:06:16 +0000 (13:06 +0000)]
* tests/nobase.test (test-install-exec): Move all the `test -f'
tests in the Makefile so we can use $(EXEEXT) on programs.
Reported by Charles Wilson.

22 years ago* m4/header.m4 (AM_CONFIG_HEADER): New macro.
Alexandre Duret-Lutz [Sat, 6 Jul 2002 12:11:12 +0000 (12:11 +0000)]
* m4/header.m4 (AM_CONFIG_HEADER): New macro.
* tests/confh5.test: Make sure that Autoconf complains if
AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
AM_INIT_AUTOMAKE.

22 years ago* lib/Automake/Channels.pm: New file.
Alexandre Duret-Lutz [Sat, 6 Jul 2002 10:21:36 +0000 (10:21 +0000)]
* lib/Automake/Channels.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
* automake.in: Use Automake::Channels and register some channels
for errors and warnings.
($exit_status): Remove, replaced by Channels::$exit_code.
(%required_variables): Remove, Channels will filter-out duplicates
itself.
(initialize_per_input): Call reset_local_duplicates.
(prog_error): Adjust to all `msg'.
(setup_warnings): New functions.
(parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
call setup_warnings.
(usage): Update usage text accordingly.
(macro_dump, macros_dump): Return the dump as a string instead
of printing it.
(am_install_var) <$warned_about_extra>: Remove, Channels will
filter-out duplicates itself.
(set_strictness): Turn on/off channels for each stricness.
(err, fatal, err_var, err_target, err_am, err_ac, msg_var,
msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
New functions, to replace ...
(print_error, am_error, file_error, macro_error, target_error,
conf_error, file_warning): ... these functions.  Remove them.
Update all the code to use the new functions.  The rough
correspondance is
   am_error                -> err_am
   file_error              -> err
   macro_error             -> err_var
   target_error            -> err_target
   conf_error              -> err_ac
   die                     -> fatal
   macro_error if defined  -> reject_var
   target_error if defined -> reject_target
   verbose                 -> verb
* automake.texi (Invoking Automake): Document -W and --warnings.
Remove the documentation for --Werror and --Wno-error.
* tests/defs: Use -Werror, no --Werror.
* tests/exeext2.test: Test that the error message
is enabled with -Wobsolete.
* tests/output5.test: Rewrite to test that Automake complains
when there is no Makefile specified. (The original test was
succeeding for the wrong reason.)
* tests/seenc.test: Don't use --Wno-error, there is no reason now
that -Werror doesn't stop after the first error.
* tests/subobj.test: Use --add-missing, and check that
`compile' is installed and that Automake says so.
* tests/subobj2.test: Don't create `compile'.

22 years ago * automake.texi (Java Support): Mention --main and _LDFLAGS.
Tom Tromey [Fri, 5 Jul 2002 22:59:22 +0000 (22:59 +0000)]
* automake.texi (Java Support): Mention --main and _LDFLAGS.
For PR automake/324.

22 years ago* tests/asm.test: Erase Autom4te's cache between each test.
Alexandre Duret-Lutz [Thu, 4 Jul 2002 15:55:22 +0000 (15:55 +0000)]
* tests/asm.test: Erase Autom4te's cache between each test.

22 years ago* automake.in (am_macro_for_var): Add LIBTOOL.
Alexandre Duret-Lutz [Wed, 3 Jul 2002 18:50:04 +0000 (18:50 +0000)]
* automake.in (am_macro_for_var): Add LIBTOOL.
(ac_macro_for_var): Add RANLIB.
(seen_libtool): Remove.
(handle_libtool, lang_c_finish, define_compiler_variable,
make_paragraphs): Use
variable_defined ('LIBTOOL') instead of $seen_libtool.
(handle_languages) <%transform>: Don't set 'LIBTOOL', it is
already done in make_paragraphs.
(handle_libraries): Simplify by requiring RANLIB with
&require_variables_for_macro.
(handle_ltlibraries): Simplify by requiring LIBTOOL with
&require_variables_for_macro.
(scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
AM_PROG_LIBTOOL.
* tests/libtool4.test, tests/library2.test: New files.
* tests/Makefile.in (TESTS): Add libtool4.test and library2.test.

22 years ago* automake.in (create, keyed_aclocal_warning): Delete, unused.
Alexandre Duret-Lutz [Tue, 2 Jul 2002 09:27:00 +0000 (09:27 +0000)]
* automake.in (create, keyed_aclocal_warning): Delete, unused.

22 years ago* automake.in (ac_macro_for_var): Add YACC.
Alexandre Duret-Lutz [Mon, 1 Jul 2002 16:17:36 +0000 (16:17 +0000)]
* automake.in (ac_macro_for_var): Add YACC.

22 years agoHandle multiple suffix rules with the same input extension.
Alexandre Duret-Lutz [Mon, 1 Jul 2002 16:10:35 +0000 (16:10 +0000)]
Handle multiple suffix rules with the same input extension.
For PR automake/37.

* automake.in (suffix_rules_default): New variable.
(suffix_rules): Redefine as a hash of hashes of pairs.
(initialize_per_input): Setup suffix_rules_default from
suffix_rules on first call, an override suffix_rules
with suffix_rules_default on following calls.
(struct) <output_extensions>: New attribute.
(register_language): Set the default for output_extensions.
Call register_suffix_rule for each suffix.
(derive_suffix, handle_languages): Adjust to the new definition
of $suffix.
(register_suffix_rule): New function.
(rule_define): Call register_suffix_rule.
* tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
New files.
* tests/Makefile.am (TESTS): Add them.

22 years ago* automake.in (am_macro_for_var, ac_macro_for_var,
Alexandre Duret-Lutz [Sun, 30 Jun 2002 22:44:13 +0000 (22:44 +0000)]
* automake.in (am_macro_for_var, ac_macro_for_var,
required_variables): New variables.
(am_c_prototypes, seen_prog_lex, am_lispdir_location,
pythondir_location): Remove.
(initialize_per_input): Clear %required_variables.
(require_variables, require_variables_for_macro): New functions.
(handle_languages): Call &require_variables for $lang->config_vars.
(handle_compile): Call &require_variables_for_macro for the
ANSI2KNR and U variables.
(handle_emacs_lisp): Call &require_variables for EMACS and libdir.
(handle_python): Call &require_variables for PYTHON.  Don't
explicitly allow `python' as a prefix for PYTHON.
(scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
AM_PATH_LISPDIR, and AM_PATH_PYTHON.
(scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
AMDEPBACKSLASH here...
(define_configure_variable): ... do this here.
(am_primary_prefixes): Probe the existence of ${X}dir using
&require_variables_for_macro.  If a standard prefix is not
legitimate, say so.  Ignore all configure variables.
* tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
tests/lisp2.test, tests/python2.test: New files
* tests/Makefile.am (TESTS): Add them.
* tests/asm.test: Grep stderr.
* tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
* tests/python.test: Make sure py-compile is installed.

22 years ago* automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
Alexandre Duret-Lutz [Thu, 27 Jun 2002 19:31:59 +0000 (19:31 +0000)]
* automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
Adjust all occurrences.

22 years ago* aclocal.in: Add local variables so that Emacs setups GNU style
Alexandre Duret-Lutz [Thu, 27 Jun 2002 19:19:47 +0000 (19:19 +0000)]
* aclocal.in: Add local variables so that Emacs setups GNU style
for perl-mode and cperl-mode.
* automake.in: Likewise.
(WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "$" to please
perl-mode.

22 years ago* Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
Alexandre Duret-Lutz [Thu, 27 Jun 2002 08:46:45 +0000 (08:46 +0000)]
* Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
* lib/config.sub, lib/install-sh: New upstream versions.

22 years ago(maintainer-check): Don't assume that egrep exists;
Paul Eggert [Thu, 27 Jun 2002 01:28:07 +0000 (01:28 +0000)]
(maintainer-check): Don't assume that egrep exists;
this fixes a portability bug introduced in the 2002-06-08 fix for
PR automake/317.

22 years ago* Makefile.am (maintainer-check): Don't assume that egrep exists;
Paul Eggert [Thu, 27 Jun 2002 01:27:29 +0000 (01:27 +0000)]
* Makefile.am (maintainer-check): Don't assume that egrep exists;
this fixes a portability bug introduced in the 2002-06-08 fix for
PR automake/317.

22 years ago* automake.in (required_targets): Add ps and ps-am.
Alexandre Duret-Lutz [Wed, 26 Jun 2002 19:13:56 +0000 (19:13 +0000)]
* automake.in (required_targets): Add ps and ps-am.
(initialize_per_input): Reset them.
(handle_texinfo_helper): Fill @pss_list, and define the
PSS make variable.
* lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
(ps, ps-am): New targets.
* automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
`make ps' and `make pdf'.
(Texinfo): Document `make ps', `make pdf', and `make dvi'.
(Extending): The `ps' and `pdf' targets support a `-local' version.

22 years ago* automake.texi: s/.../@dots{}/.
Alexandre Duret-Lutz [Wed, 26 Jun 2002 08:37:48 +0000 (08:37 +0000)]
* automake.texi: s/.../@dots{}/.

22 years ago* configure.in: Check that ln works, fall back to `cp -p'.
Alexandre Duret-Lutz [Wed, 26 Jun 2002 08:15:25 +0000 (08:15 +0000)]
* configure.in: Check that ln works, fall back to `cp -p'.
* Makefile.am (install-exec-hook): Use $(LN) instead of ln.
Reported by Andreas Buening.

22 years ago* automake.in: Register &lang_lex_target_hook for lex and lexxx.
Alexandre Duret-Lutz [Fri, 21 Jun 2002 20:24:33 +0000 (20:24 +0000)]
* automake.in: Register &lang_lex_target_hook for lex and lexxx.
(lang_lex_target_hook): New function.
* tests/lex3.c: Complete to check that maintainer-clean erases
Lex's output.
Reported by Flavien Astraud.  This was lost on 2001-06-23 too.

22 years ago* automake.in (lang_yacc_target_hook): Add $output to
Alexandre Duret-Lutz [Fri, 21 Jun 2002 19:59:40 +0000 (19:59 +0000)]
* automake.in (lang_yacc_target_hook): Add $output to
@maintainer_clean_files.  This was lost on 2001-06-23.
* tests/yacc7.test, tests/yacc4.test: Complete to check
that maintainer-clean erases YACC's output files,
respectively with and without `-d'.
Reported by Flavien Astraud.

22 years ago* lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
Alexandre Duret-Lutz [Wed, 19 Jun 2002 19:57:40 +0000 (19:57 +0000)]
* lib/am/lang-compile.am (%FPFX%DEPMODE): Delete.  This is now
traced from configure.ac.

* automake.in (macro_define): Don't accept to override an AC_SUBST
or Automake variable in a new condition.
* tests/cond23.test, tests/cond24.test: New file.
* tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
Reported by Patrik Weiskirchre.

22 years ago* tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
Alexandre Duret-Lutz [Wed, 19 Jun 2002 18:31:37 +0000 (18:31 +0000)]
* tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
tests/pr300-ltlib.test, tests/pr300-prog.test,
tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
tests/subobj6.test, tests/subpkg.test, tests/transform.test:
Require gcc.

22 years ago* tests/libtool2.test: Use required=libtoolize.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 20:08:01 +0000 (20:08 +0000)]
* tests/libtool2.test: Use required=libtoolize.
* tests/install2.test: Use required=gzip.

22 years ago* tests/defs (required): Handle bison; set YACC automatically.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 19:55:58 +0000 (19:55 +0000)]
* tests/defs (required): Handle bison; set YACC automatically.
* tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
tests/yaccvpath.test: Require bison.  Don't set YACC.

22 years ago* tests/defs (required): Handle `gcc' and `g++'; automatically
Alexandre Duret-Lutz [Tue, 18 Jun 2002 19:44:48 +0000 (19:44 +0000)]
* tests/defs (required): Handle `gcc' and `g++'; automatically
export CC and CXX when they are required.
* tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
tests/cond4.test, tests/cond16.test, tests/cond18.test,
tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
tests/lex3.test, tests/pr87.test, tests/pr220.test,
tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
tests/yaccvpath.test: Require gcc.  Don't pass CC=gcc to
configure.
* tests/subobj9.test: Require g++.

22 years ago* tests/defs (required): Handle `GNUmake'.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 19:08:28 +0000 (19:08 +0000)]
* tests/defs (required): Handle `GNUmake'.
(needs_gnu_make): Don't define anymore.
* tests/cond4.test, tests/cond18.test, tests/cond19.test,
tests/dollar.test, tests/exsource.test, tests/extra6.test,
tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
tests/yaccvpath.test: Use `required=GNUmake' instead of
`$needs_gnu_make'.

22 years ago* automake.in (process_option_list): Recognize std-options.
Alexandre Duret-Lutz [Mon, 17 Jun 2002 12:20:25 +0000 (12:20 +0000)]
* automake.in (process_option_list): Recognize std-options.
(handle_options): Enable std-options in gnits strictness.
(am_install_var): If std-options, enable CK-OPTS section.
* lib/am/scripts.am (installcheck-am): New target.
* lib/am/progs.am (installcheck-am): New target.
* tests/gnits2.test: New file.
* tests/Makefile.am (TESTS): Add gnits2.test.
* automake.texi (Gnits, Options): Document std-options.

22 years ago2002-06-17 Kevin Ryde <user42@zip.com.au>
Alexandre Duret-Lutz [Mon, 17 Jun 2002 07:42:07 +0000 (07:42 +0000)]
2002-06-17  Kevin Ryde  <user42@zip.com.au>

* automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
as generated by recent texinfo.tex.

22 years ago* m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
Alexandre Duret-Lutz [Fri, 14 Jun 2002 06:48:31 +0000 (06:48 +0000)]
* m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
(_AM_CONFIG_HEADERS): ... this.
(_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
AC_CONFIG_HEADERS.
* automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
instead of AM_CONFIG_HEADER.
* tests/autoheader2.test: New file.
* tests/Makefile.am (TESTS): Add autoheader2.test.
Suggested by Raja R Harinath.

22 years ago* m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
Alexandre Duret-Lutz [Thu, 13 Jun 2002 19:45:21 +0000 (19:45 +0000)]
* m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
of m4_rename so that AC_CONFIG_HEADER is never undefined and
therefore still traced after the redefinition.
* tests/defs (AUTOHEADER): Define.
* tests/autoheader.test: New file.
* tests/Makefile.am (TESTS): Add autoheader.test.
Reported by Braden McDaniel.

22 years ago* automake.in (check_gnu_standards): In --gnu mode, accept
Alexandre Duret-Lutz [Thu, 13 Jun 2002 08:48:11 +0000 (08:48 +0000)]
* automake.in (check_gnu_standards): In --gnu mode, accept
one of COPTING, COPYING.LESSER, or COPYING.LIB.
(common_files): Add COPYING.LESSER.
* automake.texi (Gnits): Document this.

22 years ago2002-05-03 Paolo Bonzini <bonzini@gnu.org>
Alexandre Duret-Lutz [Thu, 13 Jun 2002 08:09:36 +0000 (08:09 +0000)]
2002-05-03  Paolo Bonzini  <bonzini@gnu.org>

        * automake.in (required_targets): Add the pdf and pdf-am targets.
        (initialize_per_input): Likewise.
        (scan_texinfo_file): Add pdf to @clean_suffixes.
        (handle_texinfo_helper): Output the .pdf dependencies, and define
        the PDFS variable.
        * lib/am/texinfos.am (TEXI2PDF): New variable.
        (pdf, pdf-am): New targets.
        (.PHONY): Add pdf, pdf-am, and pdf-recursive.
        * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.

22 years agoFix pr307.test failure with gcc 3.x.
Alexandre Duret-Lutz [Thu, 13 Jun 2002 07:40:09 +0000 (07:40 +0000)]
Fix pr307.test failure with gcc 3.x.
* lib/depcomp (dashmstdout): Strip the call to libtool, and
replace `-o $object' by `-o /dev/null' before running "$@"
to generate dependencies.
(cpp): Strip the call to libtool as well as `-o $object'.

22 years ago* lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
Alexandre Duret-Lutz [Wed, 12 Jun 2002 16:37:34 +0000 (16:37 +0000)]
* lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
$base.lo.d, when libtool is used.
Reported by Nicolas Joly.

22 years ago* lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
Alexandre Duret-Lutz [Wed, 12 Jun 2002 07:52:35 +0000 (07:52 +0000)]
* lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
is no file to compile.
* tests/java2.test: New file.
* tests/Makefile.am (TESTS): Add java2.test.
Reported by Braden N. McDaniel.

22 years ago* tests/maintclean.test: Don't check for autom4te.cache if
Alexandre Duret-Lutz [Tue, 11 Jun 2002 12:31:49 +0000 (12:31 +0000)]
* tests/maintclean.test: Don't check for autom4te.cache if
it's not created by Autoconf.
Reported by Bernd Jendrissek.

22 years ago* automake.texi (Tests): Document site.exp. Update DejaGnu's url.
Alexandre Duret-Lutz [Tue, 11 Jun 2002 09:12:43 +0000 (09:12 +0000)]
* automake.texi (Tests): Document site.exp.  Update DejaGnu's url.

22 years agotypo
Alexandre Duret-Lutz [Mon, 10 Jun 2002 19:15:00 +0000 (19:15 +0000)]
typo

22 years ago* lib/am/header-vars.am (transform): Define.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 18:54:33 +0000 (18:54 +0000)]
* lib/am/header-vars.am (transform): Define.
Was removed by mistake on 2002-04-13.
* tests/transform.test: New file.
* tests/Makefile.am (TESTS): Add transform.test.
Reported by Nicolas Joly.

22 years ago* tests/dollar.test: Require GNU make.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 18:42:59 +0000 (18:42 +0000)]
* tests/dollar.test: Require GNU make.
* tests/maintclean.test: Don't use `export YACC=false'.  Pass
YACC=false to configure instead.

22 years ago* lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
Alexandre Duret-Lutz [Mon, 10 Jun 2002 17:44:08 +0000 (17:44 +0000)]
* lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
INSTALL: New upstream versions.

22 years ago* tests/sinclude.test: Check for m4_include too.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 17:37:46 +0000 (17:37 +0000)]
* tests/sinclude.test: Check for m4_include too.

22 years ago* tests/sinclude.test: Rename the package as amsinclude;
Alexandre Duret-Lutz [Mon, 10 Jun 2002 10:23:38 +0000 (10:23 +0000)]
* tests/sinclude.test: Rename the package as amsinclude;
am__sinclude still trigers the sinclude macro once it has been
converted to am--sinclude.
Reported by Nicolas Joly.

22 years ago* automake.texi (API versioning): Typo.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 10:08:14 +0000 (10:08 +0000)]
* automake.texi (API versioning): Typo.

22 years ago2002-06-10 Nicolas Joly <njoly@pasteur.fr>
Alexandre Duret-Lutz [Mon, 10 Jun 2002 10:02:17 +0000 (10:02 +0000)]
2002-06-10  Nicolas Joly  <njoly@pasteur.fr>

* THANKS (Nicolas Joly): Remove duplicate.

22 years ago* Makefile.am (maintainer-check): Fix $MAKE -e detection.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 09:49:24 +0000 (09:49 +0000)]
* Makefile.am (maintainer-check): Fix $MAKE -e detection.
* tests/yacc7.test: Use rm -f.

22 years ago* tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
Alexandre Duret-Lutz [Mon, 10 Jun 2002 09:39:14 +0000 (09:39 +0000)]
* tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
* tests/subpkg.test: New file.
* tests/Makefile.am (TESTS): Add subpkg.test.

22 years agoFor PR automake/318:
Alexandre Duret-Lutz [Sun, 9 Jun 2002 11:12:35 +0000 (11:12 +0000)]
For PR automake/318:
* tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
_PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
* lib/am/scripts.am (install-%DIR%SCRIPTS,
uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
default.
(?%DIR%SCRIPT_INSTALL): New variable.
* lib/am/header-vars.am (install_sh_SCRIPT): New variable.
Reported by Eric Siegerman.

22 years ago* automake.in (lang_yacc_target_hook): Add rule to recover from
Alexandre Duret-Lutz [Sat, 8 Jun 2002 17:22:28 +0000 (17:22 +0000)]
* automake.in (lang_yacc_target_hook): Add rule to recover from
the removal of $header.
* lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
output by lang_yacc_target_hook).
* tests/yacc7.test: Try to recreate foo.h after its removal.
* tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
parse.h too.
Reported by Bernd Jendrissek.

22 years agoFor PR automake/317:
Alexandre Duret-Lutz [Sat, 8 Jun 2002 16:56:11 +0000 (16:56 +0000)]
For PR automake/317:
* Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
suggest `list='$(FILES)'; for f in $$list' instead.
* lib/am/distdir.am (distdir): Adjust `for' usage.
* lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
* tests/dollar.test: New file.
* tests/Makefile.am (TESTS): Add dollar.test.
Reported by Eric Siegerman and Philip Fong.

22 years agoFor PR automake/47 (fixed a long time ago):
Alexandre Duret-Lutz [Thu, 6 Jun 2002 17:22:10 +0000 (17:22 +0000)]
For PR automake/47 (fixed a long time ago):
* tests/yacc7.test: Also check that parser sources are distributed.

22 years ago* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
Alexandre Duret-Lutz [Thu, 6 Jun 2002 08:34:43 +0000 (08:34 +0000)]
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
(distclean): Use it.
(maintainer-clean): Delete autom4te.cache and
$(am__CONFIG_DISTCLEAN_FILES).
* tests/maintclean.test: New file.
* tests/Makefile.am (TESTS): Add maintclean.test.

22 years ago2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
Alexandre Duret-Lutz [Wed, 5 Jun 2002 09:06:13 +0000 (09:06 +0000)]
2002-06-05  Miloslav Trmac  <trmac@popelka.ms.mff.cuni.cz>

* lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
target_alias.

22 years ago* Makefile.am (maintainer-check): Check for egrep and fgrep.
Alexandre Duret-Lutz [Fri, 31 May 2002 18:05:08 +0000 (18:05 +0000)]
* Makefile.am (maintainer-check): Check for egrep and fgrep.

* test/cond22.test: Set SHELL when calling $MAKE -e.

22 years ago2002-05-31 Richard Boulton <richard@tartarus.org>
Alexandre Duret-Lutz [Fri, 31 May 2002 17:46:22 +0000 (17:46 +0000)]
2002-05-31  Richard Boulton <richard@tartarus.org>

        Fix PR automake/326:
        * automake.in (define_objects_from_sources): Calculate the result in
        all conditions before passing this to subobjname to pick a name to
        store the result in.
        (subobjname): Expect a list of condition/value pairs as input.
        Combine this list and use it as the key to determine the variable name.
        * test/cond22.test: New file.
        * tests/Makefile.am (TESTS): Add cond21.test

22 years ago* lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
Paul Eggert [Thu, 30 May 2002 12:16:32 +0000 (12:16 +0000)]
* lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
instead, use shell pattern matching.

22 years ago(distdir): Don't assume that 'grep -F' works; instead, use shell
Paul Eggert [Thu, 30 May 2002 12:15:26 +0000 (12:15 +0000)]
(distdir): Don't assume that 'grep -F' works; instead, use shell
pattern matching.

22 years agoDon't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
Paul Eggert [Thu, 30 May 2002 06:09:07 +0000 (06:09 +0000)]
Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
longer requires them.

* Makefile.am (maintainer-check): Use grep -E and grep -F instead
of egrep and fgrep.  Omit unnecessary -E and -F.
Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
* lib/am/distdir.am (distdir): fgrep -> grep -F.
Use $(), not ${}, for Make variables.
* lib/am/texinfos.am (install-info-am, uninstall-info-am):
fgrep -> grep
* m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
* tests/defs: Set FGREP and EGREP.

* tests/aclocali.test, tests/acoutput2.test, tests/all.test,
tests/ansi.test, tests/ansi4.test, tests/colon3.test,
tests/cond21.test, tests/condlib.test, tests/confh4.test,
tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
tests/depend4.test, tests/discover.test, tests/distname.test,
tests/dup3.test, tests/empty4.test, tests/fo.test,
tests/implicit.test, tests/insh2.test, tests/interp.test,
tests/lex.test, tests/lex3.test, tests/lex4.test,
tests/libobj5.test, tests/libobj7.test, tests/make.test,
tests/makevars.test, tests/nostdinc.test, tests/parse.test,
tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
tests/pr2.test, tests/pr9.test, tests/seenc.test,
tests/specflags.test, tests/specflags3.test,
tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP