Jim Meyering [Mon, 18 Feb 2002 15:52:46 +0000 (15:52 +0000)]
Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
Jim Meyering [Mon, 18 Feb 2002 15:50:04 +0000 (15:50 +0000)]
Use sed 1q, not `head -n 1'.
The latter is not portable to some old systems.
Alexandre Duret-Lutz [Sun, 17 Feb 2002 22:12:38 +0000 (22:12 +0000)]
* automake.in (handle_lib_objects_cond): Tell the user to put
global linker flags in AM_LDFLAGS, not LDFLAGS.
* automake.texi (General Operation): AC_SUBST'ed variables
override Automake's variables.
(Uniform): More words and @refs.
(Auxiliary Programs) <config.sub, config.guess>: Add URL.
(etags): More explanations about the first example.
(Invoking Automake): Mention autoreconf. More @refs.
(Requirements): Mention AC_CONFIG_FILES.
(Optional): AC_CHECK_TOOL will no longer install config.sub and
config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
(Invoking aclocal): aclocal no longer warn about duplicates.
(Macros) <AM_INIT_AUTOMAKE>: More explanations.
(Extending aclocal): Suggest using the output of
`aclocal --print-ac-dir` to install third-party macros.
(Alternative): Specify ordering of dist_, nodist_, and nobase_
prefixes.
(A Program): Mention scripts. The global LDADD variable is not
meant to hold link flags, suggest using AM_LDFLAGS instead.
(Program and Library Variables) <maude_LIBADD, maude_LDADD>:
_LIBADD and _LDADD are subject to the same restriction wrt to
link flags.
(Program and Library Variables) <maude_DEPENDECIES>: Is also
derived from maude_LIBADD.
(Program variables): Define AM_LDFLAGS.
(Dependencies): Passing the no-dependencies option to
AM_INIT_AUTOMAKE is prefered.
(Scripts): Explain why automake is magically cleaned.
Mention noinst_SCRIPTS and check_SCRIPTS.
(Data): Use dist_ in Automake's example.
(Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
Mention AC_CONFIG_FILES instead of AC_OUTPUT.
Alexandre Duret-Lutz [Thu, 14 Feb 2002 14:26:02 +0000 (14:26 +0000)]
* Makefile.am (FETCHFILES): Add Automake/XFile.pm.
(fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
of asking the maintainer to do it manually.
* lib/config.guess, lib/config.sub, lib/texinfo.tex,
Automake/XFile.pm: New upstream versions.
Tom Tromey [Sat, 2 Feb 2002 07:18:47 +0000 (07:18 +0000)]
* automake.texi (Macros): Warn about upgrading.
Tom Tromey [Fri, 1 Feb 2002 20:40:48 +0000 (20:40 +0000)]
Change per GNU coding standards:
* aclocal.in (parse_arguments): Only mention most recent year in
copyright output.
* automake.in (version): Only mention most recent year.
Alexandre Duret-Lutz [Wed, 30 Jan 2002 08:05:37 +0000 (08:05 +0000)]
* automake.texi (API versioning): New Node.
(Extending): Use $(DESTDIR) in examples.
Akim Demaille [Mon, 28 Jan 2002 10:47:52 +0000 (10:47 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
Respect the --help layout.
Tom Tromey [Mon, 28 Jan 2002 01:47:03 +0000 (01:47 +0000)]
* configure.in: Bumped to 1.5e.
Tom Tromey [Mon, 28 Jan 2002 01:09:29 +0000 (01:09 +0000)]
updated version
Tom Tromey [Mon, 28 Jan 2002 00:40:10 +0000 (00:40 +0000)]
* lib/am/yacc.am: Use `rm -f'.
Tom Tromey [Mon, 28 Jan 2002 00:38:32 +0000 (00:38 +0000)]
* configure.in: Released 1.5d.
Tom Tromey [Mon, 28 Jan 2002 00:33:48 +0000 (00:33 +0000)]
* lib/config.guess: New version from FSF.
Tom Tromey [Mon, 28 Jan 2002 00:31:23 +0000 (00:31 +0000)]
updated NEWS
Tom Tromey [Sun, 27 Jan 2002 21:58:49 +0000 (21:58 +0000)]
* Makefile.am (uninstall-hook): New target.
Akim Demaille [Thu, 24 Jan 2002 17:49:13 +0000 (17:49 +0000)]
* lib/install-sh: Update, from Autoconf.
Alexandre Duret-Lutz [Thu, 24 Jan 2002 11:20:50 +0000 (11:20 +0000)]
typo
Alexandre Duret-Lutz [Thu, 24 Jan 2002 08:17:38 +0000 (08:17 +0000)]
* automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
as AC_CANONICAL_HOST (the former does not require the latter since
Autoconf 2.50).
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
* automake.texi (Requirements): Do not require STRIP to be
defined by the user.
Alexandre Duret-Lutz [Wed, 23 Jan 2002 20:53:28 +0000 (20:53 +0000)]
* lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
* automake.in (handle_languages): Compute and substitute %DEPDIRS%.
* tests/pr224.test: Make sure .deps subdirectories are
erased by distclean.
Tom Tromey [Tue, 22 Jan 2002 18:52:26 +0000 (18:52 +0000)]
* m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
no-dependencies option is set.
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
no-dependencies option is set. Don't call AM_DEP_TRACK or
AM_SET_DEPDIR.
Tom Tromey [Tue, 22 Jan 2002 17:16:17 +0000 (17:16 +0000)]
2002-01-22 Pavel Roskin <proski@gnu.org>
* tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
ASFLAGS.
Akim Demaille [Tue, 22 Jan 2002 10:04:39 +0000 (10:04 +0000)]
Update.
Akim Demaille [Tue, 22 Jan 2002 10:02:50 +0000 (10:02 +0000)]
* Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
(fetch): Adjust.
Tom Tromey [Tue, 22 Jan 2002 00:22:53 +0000 (00:22 +0000)]
* Makefile.am (fetch): Don't fetch ansi2knr.
Tom Tromey [Tue, 22 Jan 2002 00:11:27 +0000 (00:11 +0000)]
* automake.texi (Macros): Updated for new variable names.
(Program and Library Variables): Likewise.
(Assembly Support): Likewise.
* m4/as.m4: Use CCAS and CCASFLAGS.
* automake.in (asm): Use CCAS and CCASFLAGS.
Akim Demaille [Mon, 21 Jan 2002 13:55:53 +0000 (13:55 +0000)]
Regen.
Akim Demaille [Mon, 21 Jan 2002 13:55:28 +0000 (13:55 +0000)]
* automake.in (&parse_arguments): Use a more GNUish error message
on wrong options.
Tom Tromey [Sun, 20 Jan 2002 21:37:19 +0000 (21:37 +0000)]
Fix for PR automake/231:
* m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
* m4/depend.m4: Document `GCJ'.
Tom Tromey [Sun, 20 Jan 2002 21:30:21 +0000 (21:30 +0000)]
For PR automake/224:
* tests/Makefile.am (TESTS): Added pr224.test.
* tests/pr224.test: New file.
* lib/depcomp: Fixed computation of depfile.
* lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
* automake.in (handle_single_transform_list): Only reject `..'
component for Java. Put dependencies in directory near object.
(handle_languages): Set DEPBASE. Handle de-ansi-fication.
Alexandre Duret-Lutz [Sun, 20 Jan 2002 21:00:31 +0000 (21:00 +0000)]
* tests/defs: Export AUTOMAKE and ACLOCAL.
Alexandre Duret-Lutz [Sat, 19 Jan 2002 08:36:14 +0000 (08:36 +0000)]
Fix for PR automake/204:
* tests/pr204.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (handle_single_transform_list): Don't distribute
sources derived from non-distributed sources.
Alexandre Duret-Lutz [Fri, 18 Jan 2002 23:08:27 +0000 (23:08 +0000)]
Fix for PR automake/229:
* tests/pr229.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
AC_EMXOS2, and AC_MINGW32.
Tom Tromey [Fri, 18 Jan 2002 22:59:37 +0000 (22:59 +0000)]
* tests/cond7.test: Fix test bug exposed by copyright update.
Tom Tromey [Fri, 18 Jan 2002 22:20:28 +0000 (22:20 +0000)]
For PR automake/288:
* automake.in (lang_c_rewrite): Don't prepend directory to base if
directory is `.'. Also, properly compute de_ansi_files entry in
subdir-objects case
* tests/Makefile.am (TESTS): Added ansi7.test.
* tests/ansi7.test: New file.
Tom Tromey [Fri, 18 Jan 2002 21:50:40 +0000 (21:50 +0000)]
* aclocal.in (parse_arguments): Added 2002.
(write_aclocal): Likewise.
(parse_arguments): Updated my email address.
* automake.in (gen_copyright): Added 2002.
(version): Likewise. Also, changed my email address.
Tom Tromey [Fri, 18 Jan 2002 21:13:37 +0000 (21:13 +0000)]
* configure.in (APIVERSION): Refined definition.
Tom Tromey [Fri, 18 Jan 2002 21:12:55 +0000 (21:12 +0000)]
* missing: Updated.
* lib/missing: Accept versioned aclocal.
* m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
Pavel Roskin [Thu, 17 Jan 2002 23:48:16 +0000 (23:48 +0000)]
Add amversion.m4.
Tom Tromey [Thu, 17 Jan 2002 22:30:25 +0000 (22:30 +0000)]
2002-01-17 Pavel Roskin <proski@gnu.org>
* m4/Makefile.am (m4datadir): Use APIVERSION.
Tom Tromey [Wed, 16 Jan 2002 19:05:47 +0000 (19:05 +0000)]
* Makefile.am (install-exec-hook): Use APIVERSION.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
* m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
APIVERSION.
* automake.in (perllibdir): Use APIVERSION.
(libdir): Likewise.
* aclocal.in (perllibdir): Use APIVERSION.
(APIVERSION): New global.
(parse_arguments): Use APIVERSION.
* configure.in (APIVERSION): New subst.
(pkgvdatadir): Use APIVERSION.
Tom Tromey [Tue, 15 Jan 2002 23:54:14 +0000 (23:54 +0000)]
* missing: Updated.
* lib/missing: Match against `automake*' to pick up versioned
automake.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
* m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
variable.
* lib/am/Makefile.am (amdir): Use pkgvdatadir.
* lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
pkgvdatadir.
(scriptdir): Use pkgvdatadir.
(installcheck-local): Likewise.
* lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
* automake.in (perllibdir): Added VERSION.
(libdir): Likewise.
* aclocal.in (parse_arguments): Search versioned directory. Don't
push unversioned directory unless it exists.
(perllibdir): Added VERSION.
(default_acdir): New global.
* m4/Makefile.am (m4datadir): Added $(VERSION).
* Makefile.am (install-exec-hook): New target.
* configure.in (ACLOCAL): Search build directory.
(pkgvdatadir): New subst.
Alexandre Duret-Lutz [Tue, 15 Jan 2002 21:19:50 +0000 (21:19 +0000)]
* lib/config.sub, lib/config.guess: New versions from FSF.
Tom Tromey [Mon, 14 Jan 2002 00:29:31 +0000 (00:29 +0000)]
2002-01-13 Tom Tromey <tromey@redhat.com>
For PR automake/288:
* automake.in (lang_c_rewrite): Set value for de_ansi_files entry
to directory.
(lang_c_finish): Likewise. Also, use directory information from
de_ansi_files.
2002-01-13 Kevin Ryde <user42@zip.com.au>
For PR automake/288:
* tests/Makefile.am (TESTS): Added ansi6.test.
* tests/ansi6.test: New file.
Tom Tromey [Sun, 13 Jan 2002 20:33:40 +0000 (20:33 +0000)]
For PR automake/287:
* lib/am/distdir.am (distdir): Use `$$list' trick when looping
over subdirs.
* tests/Makefile.am (TESTS): Added pr287.test.
* tests/pr287.test: New file.
Alexandre Duret-Lutz [Sun, 13 Jan 2002 19:49:22 +0000 (19:49 +0000)]
* lib/am/distdir.am (distdir): Handle subdirectories.
* tests/extra6.test: New file.
* tests/Makefile.am (TESTS): Add it.
Alexandre Duret-Lutz [Sun, 13 Jan 2002 19:37:12 +0000 (19:37 +0000)]
* tests/extra2.test: Run $ACLOCAL.
Jim Meyering [Sat, 12 Jan 2002 19:07:54 +0000 (19:07 +0000)]
.
Alexandre Duret-Lutz [Sat, 12 Jan 2002 18:48:53 +0000 (18:48 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
AM_INIT_AUTOMAKE arguments when using the old-style call.
Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
Suggested by Pavel Roskin.
Alexandre Duret-Lutz [Sat, 12 Jan 2002 17:38:56 +0000 (17:38 +0000)]
* test/nodefine.test, test/nodefine2.test: Check that no-define
works, not the contrary...
* m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
* m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
not the contrary.
Jim Meyering [Sat, 12 Jan 2002 09:25:02 +0000 (09:25 +0000)]
(TESTS): Add libobj11.test.
Jim Meyering [Sat, 12 Jan 2002 09:24:56 +0000 (09:24 +0000)]
.
Jim Meyering [Sat, 12 Jan 2002 09:24:24 +0000 (09:24 +0000)]
(scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
Tom Tromey [Wed, 9 Jan 2002 21:17:42 +0000 (21:17 +0000)]
2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
* lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
Alexandre Duret-Lutz [Wed, 9 Jan 2002 15:30:07 +0000 (15:30 +0000)]
* automake.in (file_contents_internal): Introduce two variables,
$is_rule and $discard_rules to track rules spanning across multiple
paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
where only the first paragraph of such a multi-paragraph rule was
discarded; but it leaves many similar latent bugs (see the FIXMEs).
Alexandre Duret-Lutz [Wed, 9 Jan 2002 10:32:28 +0000 (10:32 +0000)]
* tests/dup3.test: Remove all -I from $ACLOCAL before using it.
* tests/error.test: Use some macro names which are not defined by
Automake itself.
Alexandre Duret-Lutz [Wed, 9 Jan 2002 08:52:09 +0000 (08:52 +0000)]
* automake.texi (Complete, Macros, Options): Document the new style
AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
* m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
AC_INIT if they are available there. Support a new call form
where the only argument is an optional space-separated list of
Automake options.
* m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
(_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
_AM_IF_OPTION): New functions.
* automake.in (AC_INIT_PATTERN): New variable.
(global_options_line): Remove, use $seen_init_automake instead.
(scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
Remove the AM_AUTOMAKE_OPTIONS handling.
* configure.in: Modernize.
* tests/defs (configure.in): Modernize. One third of the tests
still overwrite the default configure.in and use an old
AM_INIT_AUTOMAKE call, so that makes testing for both.
* tests/nodefine.test, tests/nodefine2.test: New files.
* tests/Makefile.am (TESTS): Add them.
Raja R Harinath [Tue, 8 Jan 2002 21:14:47 +0000 (21:14 +0000)]
(define_configure_variable): Propagate line numbers.
Alexandre Duret-Lutz [Tue, 8 Jan 2002 18:03:36 +0000 (18:03 +0000)]
* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
Alexandre Duret-Lutz [Mon, 7 Jan 2002 21:10:26 +0000 (21:10 +0000)]
* configure.in: Run the Autoconf test in a subdirectory, then
erase this directory.
Alexandre Duret-Lutz [Mon, 7 Jan 2002 20:25:24 +0000 (20:25 +0000)]
* configure.in (AUTOMAKE): Create m4/amversion.m4.
* m4/amversion.in: New file.
* m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
(dist_m4data_DATA): ... this.
(nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
* m4/init.m4 (AM_INIT_AUTOMAKE): Require
AM_SET_CURRENT_AUTOMAKE_VERSION.
* automake.in (seen_automake_version): New variable.
(scan_autoconf_traces, scan_one_autoconf_file,
scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
when the version used in aclocal.m4 differs from Automake's.
* tests/defs (ACLOCAL): Look in ../m4 too.
* tests/installsh.test (ACLOCAL): Likewise.
* tests/installdir.test (installdirs-local): Run $ACLOCAL.
Tom Tromey [Mon, 7 Jan 2002 00:37:50 +0000 (00:37 +0000)]
2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (handle_languages): Emit an automake
internal variable 'am__depfiles_maybe'.
* lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
Tom Tromey [Sun, 6 Jan 2002 20:38:07 +0000 (20:38 +0000)]
2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
* lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
config.status.
Tom Tromey [Sun, 6 Jan 2002 20:23:30 +0000 (20:23 +0000)]
* automake.texi (Tags): Document new variables.
* lib/am/tags.am (ETAGS): New macro.
(ETAGSFLAGS): Likewise.
(TAGS): Use them.
Tom Tromey [Fri, 4 Jan 2002 18:47:34 +0000 (18:47 +0000)]
* configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
Alexandre Duret-Lutz [Fri, 4 Jan 2002 11:06:15 +0000 (11:06 +0000)]
* automake.in (read_am_file): Thinko in "comment following
trailing backslash" detection.
* tests/comment5.test: Test for this too.
Tom Tromey [Wed, 2 Jan 2002 19:07:31 +0000 (19:07 +0000)]
* automake.texi (Extending): Added index for uninstall-hook.
Alexandre Duret-Lutz [Wed, 2 Jan 2002 16:12:29 +0000 (16:12 +0000)]
Fix for PR automake/278:
* m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
with versions such as '2.2c1'. Also, use `int' instead of the
obsoleted `string.atoi'.
Reported by Enrico Scholz.
Alexandre Duret-Lutz [Wed, 2 Jan 2002 16:01:23 +0000 (16:01 +0000)]
Fix for PR automake/280:
* automake.in (read_am_file): Warn about trailing backslashes
in comments.
* tests/comment5.test: New file.
* tests/Makefile.am (TESTS): Add comment5.test.
Reported by Enrico Scholz.
Alexandre Duret-Lutz [Wed, 2 Jan 2002 15:52:31 +0000 (15:52 +0000)]
* tests/comment4.test: New file.
* tests/Makefile.am (TESTS): Add command4.test.
Fix for comment4.test:
* automake.in (read_am_file): Output leading comments only when
encountering white lines.
Tom Tromey [Tue, 1 Jan 2002 23:28:40 +0000 (23:28 +0000)]
For PR automake/234:
* tests/Makefile.am (TESTS): Added strip.test.
* tests/strip.test: New file.
Tom Tromey [Tue, 1 Jan 2002 22:01:08 +0000 (22:01 +0000)]
* automake.texi (Extending): Mention uninstall-hook.
(Install): Likewise.
* automake.in (handle_factored_dependencies): Allow
uninstall-hook.
Alexandre Duret-Lutz [Tue, 1 Jan 2002 12:45:44 +0000 (12:45 +0000)]
* lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
This fixes a bug introduced on 2001-01-28.
Reported by Jared Davis.
Tom Tromey [Tue, 1 Jan 2002 02:53:02 +0000 (02:53 +0000)]
* automake.texi (Extending): Document installcheck-local. Added
installdirs-local index entry.
(Tests): Document installcheck-local.
Tom Tromey [Tue, 1 Jan 2002 02:34:05 +0000 (02:34 +0000)]
* automake.in (handle_single_transform_list): Indentation fix.
Alexandre Duret-Lutz [Mon, 31 Dec 2001 09:19:33 +0000 (09:19 +0000)]
* automake.in (common_files): Add COPYING.DOC.
Suggested by Karl Berry.
Tom Tromey [Mon, 31 Dec 2001 02:44:37 +0000 (02:44 +0000)]
* automake.in (define_configure_variable): Define a user macro,
not an automake macro.
* tests/Makefile.am (TESTS): Added ar.test.
* tests/ar.test: New file.
Tom Tromey [Mon, 31 Dec 2001 01:01:03 +0000 (01:01 +0000)]
For PR automake/211:
* automake.in (object_compilation_map): New global.
(initialize_per_input): Initialize it.
(COMPILE_LIBTOOL): New constant.
(COMPILE_ORDINARY): Likewise.
* tests/Makefile.am (TESTS): Added pr211.test.
* tests/pr211.test: New file.
Tom Tromey [Mon, 31 Dec 2001 00:16:37 +0000 (00:16 +0000)]
For PR automake/215:
* configure.in: Use AM_AUTOMAKE_OPTIONS.
* Makefile.am (AUTOMAKE_OPTIONS): Removed.
* automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
(Options): Mention AM_AUTOMAKE_OPTIONS.
* automake.in (global_options): New global.
(global_options_line): Likewise.
(scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
(scan_one_autoconf_file): Likewise.
(process_option_list): New function.
(handle_options): Use it. Also, handle global options.
* m4/Makefile.am (m4data_DATA): Added options.m4.
* m4/options.m4: New file.
Tom Tromey [Sun, 30 Dec 2001 23:46:28 +0000 (23:46 +0000)]
* lib/am/install.am (?SUBDIRS?installdirs-am): Handle
installdirs-local.
(?!SUBDIRS?installdirs): Likewise.
* automake.in (handle_installdirs): Handle installdirs-local.
* automake.texi (Extending): Mention installdirs.
* tests/Makefile.am (TESTS): Added installdir.test.
* tests/installdir.test: New file.
Akim Demaille [Sun, 30 Dec 2001 21:20:10 +0000 (21:20 +0000)]
* lib/am/yacc.am: Also rename the possible y.output file.
Remove the trailing y.tab.h.
Tom Tromey [Sun, 30 Dec 2001 21:01:03 +0000 (21:01 +0000)]
2001-12-30 Paolo Bonzini <bonzini@gnu.org>
* automake.texi (Install): Remove mention of nonexistent
uninstall-hook.
Tom Tromey [Sun, 30 Dec 2001 20:54:21 +0000 (20:54 +0000)]
2001-12-30 Alan Modra <amodra@bigpond.net.au>
* automake.in (generate_makefile): Unlink output file before
opening so that any hard links are not changed.
Tom Tromey [Sun, 30 Dec 2001 20:49:41 +0000 (20:49 +0000)]
* tests/pr220.test: Use `required' to pick up gcc.
Tom Tromey [Sun, 30 Dec 2001 20:29:14 +0000 (20:29 +0000)]
For PR automake/243:
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
after `:'.
* tests/Makefile.am (TESTS): Added pr243.test.
* tests/pr243.test: New file.
Tom Tromey [Sun, 30 Dec 2001 20:07:36 +0000 (20:07 +0000)]
For PR automake/220:
* tests/Makefile.am (TESTS): Added pr220.test.
* tests/pr220.test: New file.
* m4/cond.m4 (AM_CONDITIONAL): Cause config.status to fail if
conditional was never run.
Tom Tromey [Sun, 30 Dec 2001 19:34:29 +0000 (19:34 +0000)]
For PR automake/260:
* lib/depcomp (tru64): Correctly handle libtool case.
From doreille@smr.ch.
Alexandre Duret-Lutz [Sun, 30 Dec 2001 13:53:01 +0000 (13:53 +0000)]
* lib/am/distdir.am (distcleancheck_listfiles): Unquote.
Reported by Yann Droneaud.
Tom Tromey [Sun, 30 Dec 2001 00:19:42 +0000 (00:19 +0000)]
For PR automake/266:
* tests/Makefile.am (TESTS): Added pr266.test.
* tests/pr266.test: New file.
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
non-standard name for makefile.
Tom Tromey [Sat, 29 Dec 2001 23:58:07 +0000 (23:58 +0000)]
For PR automake/279:
* automake.in (conditional_ambiguous_p): New sub.
(handle_lib_objects_cond): Use it.
(check_ambiguous_conditional): Use it.
* tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
* tests/pr279.test: New file.
* tests/pr279-2.test: New file.
Tom Tromey [Thu, 27 Dec 2001 06:11:09 +0000 (06:11 +0000)]
For PR automake/249:
* tests/Makefile.am (TESTS): Added nodist2.test.
* tests/nodist2.test: New file
Alexandre Duret-Lutz [Wed, 26 Dec 2001 17:38:30 +0000 (17:38 +0000)]
* m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
Alexandre Duret-Lutz [Wed, 26 Dec 2001 08:22:06 +0000 (08:22 +0000)]
* configure.in: Test for Autoconf >= 2.52.
* tests/defs (needs_autoconf, has_autoconf): Delete definition.
* tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
tests/cond4.test, tests/cond9.test, tests/cond16.test,
tests/cond18.test, tests/cond19.test, tests/cond20.test,
tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
tests/depend2.test, tests/dirname.test, tests/distname.test,
tests/extra5.test, tests/install2.test, tests/lex3.test,
tests/make.test, tests/nobase.test, tests/pr9.test,
tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
tests/subdirbuiltsources.test, tests/subobj3.test,
tests/subobj5.test, tests/subobj6.test, tests/substref.test,
tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
tests/yaccvpath.test: Do not use $needs_autoconf.
Alexandre Duret-Lutz [Fri, 14 Dec 2001 16:32:13 +0000 (16:32 +0000)]
* configure.in: Bump version to 1.5c.
Alexandre Duret-Lutz [Fri, 14 Dec 2001 16:25:37 +0000 (16:25 +0000)]
* configure.in: Bump version to 1.5b.
* lib/config.sub, lib/config.guess: New versions from FSF.
* lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
Alexandre Duret-Lutz [Wed, 12 Dec 2001 11:13:12 +0000 (11:13 +0000)]
* automake.in (check_gnu_standards, check_gnits_standards): Pass
"$am_file.am" as WHERE argument to require_file.
Alexandre Duret-Lutz [Wed, 12 Dec 2001 11:11:39 +0000 (11:11 +0000)]
* m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
in loop until we find one the satisfies the user supplied version.
Add python2 to the list of known interpreters. Don't use
changequote. Cache the calculation of PYTHON_VERSION and
PYTHON_PLATFORM.
(AM_PYTHON_CHECK_VERSION): New function, extracted from
AM_PATH_PYTHON and modernized.
* m4/runlog.m4: New file.
* m4/Makefile.am (m4data_DATA): Add it.
Alexandre Duret-Lutz [Thu, 6 Dec 2001 19:23:24 +0000 (19:23 +0000)]
* tests/confsub.test, tests/depdist.test, tests/extra5.test,
tests/nobase.test, tests/stamph2.test,
tests/subdirbuiltsources.test: Require Autoconf.
Alexandre Duret-Lutz [Wed, 5 Dec 2001 17:26:46 +0000 (17:26 +0000)]
* automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
* lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
Suggested by Merijn de Jonge.
Alexandre Duret-Lutz [Wed, 5 Dec 2001 17:15:43 +0000 (17:15 +0000)]
* lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
like other ID dependencies.
Suggested by Christian Cornelssen.
Alexandre Duret-Lutz [Wed, 5 Dec 2001 17:13:41 +0000 (17:13 +0000)]
* automake.in (handle_dist): Distribute common files which
do not exist but are target of a Makefile rule.
* automake.texi (Dist): Update.
* test/builtcommon3.test: New file.
* test/Makefile.am (TESTS): Add distcommon3.test.