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.
Alexandre Duret-Lutz [Tue, 4 Dec 2001 21:58:49 +0000 (21:58 +0000)]
* automake.in (macro_define): Fix misuse of chomp introduced on
2001-11-28.
Alexandre Duret-Lutz [Wed, 28 Nov 2001 12:31:34 +0000 (12:31 +0000)]
* automake.in (append_comments): New. Extracted from
read_am_file. Match 'n' with a regexp, don't use substr (the
perlport man page says 'n' is not always one byte wide).
(read_am_file): Use it. Always chomp $_.
(file_contents_internal): Use append_comments.
(macro_define): Don't treat the trailing 'n' with substr, use
a regexp or chomp.
Alexandre Duret-Lutz [Wed, 28 Nov 2001 12:30:16 +0000 (12:30 +0000)]
* tests/defs: Turn on shell traces when VERBOSE=x.
Tom Tromey [Mon, 26 Nov 2001 22:02:28 +0000 (22:02 +0000)]
* automake.texi (Assembly Support): Mention .s and .S as only
suffixes.
Alexandre Duret-Lutz [Mon, 26 Nov 2001 18:05:43 +0000 (18:05 +0000)]
* tests/subdirbuiltsources.test: Set -e after sourcing defs, not
before.
Alexandre Duret-Lutz [Mon, 26 Nov 2001 18:04:19 +0000 (18:04 +0000)]
* tests/lex3.test: Require GNU Make.
Alexandre Duret-Lutz [Mon, 26 Nov 2001 18:02:41 +0000 (18:02 +0000)]
* tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
directory.
Alexandre Duret-Lutz [Mon, 26 Nov 2001 18:01:54 +0000 (18:01 +0000)]
* lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
in $(srcdir), like other TAGS dependencies.
Suggested by Christian Cornelssen.
Akim Demaille [Mon, 26 Nov 2001 15:30:34 +0000 (15:30 +0000)]
* automake.in (¯o_define): Use $where when reporting an error,
not the place where the macro was first defined since (i) if this
is the first definition, then obviously it was not defined before,
and (ii) anyway, the error is with the new definition, not the
first.
Alexandre Duret-Lutz [Mon, 26 Nov 2001 09:02:58 +0000 (09:02 +0000)]
* lib/am/distdir.am (distcheck): Call distcleancheck.
(distcleancheck_listfiles, distcleancheck): New, extracted from
distcheck.
* automake.texi (Checking the distribution): Document
distcleancheck_listfiles and distcleancheck.
Alexandre Duret-Lutz [Sun, 25 Nov 2001 20:30:54 +0000 (20:30 +0000)]
* automake.in (scan_one_autoconf_file): Parenthesize qw// in
foreach invocation, otherwise Perl5.005_03 complains about a
syntax error. Reported by Yann Droneaud.
Alexandre Duret-Lutz [Mon, 19 Nov 2001 12:32:39 +0000 (12:32 +0000)]
* automake.in (scan_texinfo_file): Suppress FIXME about strange
map behavior.
Alexandre Duret-Lutz [Mon, 19 Nov 2001 12:27:50 +0000 (12:27 +0000)]
* tests/defs (aclocaldir): Check for existence of libtool.m4 and
gettext.m4 if required.
Alexandre Duret-Lutz [Fri, 16 Nov 2001 16:08:10 +0000 (16:08 +0000)]
Recommend the usage of $(am__cd).
Alexandre Duret-Lutz [Fri, 16 Nov 2001 10:33:15 +0000 (10:33 +0000)]
* automake.in (define_objects_from_sources,
handle_lib_objects_cond, value_to_list): Use quotemeta instead of
the equivalant substitution.
Alexandre Duret-Lutz [Fri, 16 Nov 2001 10:32:42 +0000 (10:32 +0000)]
* automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
set of accepted characters in extensions.
(rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
internall use.
* tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
Alexandre Duret-Lutz [Fri, 16 Nov 2001 10:31:51 +0000 (10:31 +0000)]
* automake.texi (Suffixes): Don't require SUFFIXES, but document
its use for the "extreme" cases.
Alexandre Duret-Lutz [Fri, 16 Nov 2001 10:30:16 +0000 (10:30 +0000)]
* automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
to match suffix rules for known extensions, or call
accept_extensions on suffixe rules for unknown extensions.
(var_SUFFIXES_trigger): New function.
(macro_define): Call var_VAR_trigger when $VAR is updated.
* tests/suffix6.test, tests/suffix7.test: New files.
* tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
Alexandre Duret-Lutz [Fri, 16 Nov 2001 10:27:51 +0000 (10:27 +0000)]
* automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
New variables.
(handle_single_transform_list, lang_yacc_target_hook): Use
KNOWN_EXTENSIONS_PATTERN.
(accept_extension): New function.
(register_language): Call it.
Alexandre Duret-Lutz [Fri, 16 Nov 2001 10:25:58 +0000 (10:25 +0000)]
At every place where an "$extension" is used, include the leading
dot in the extension, don't hardcode it when building the filename.
That will make any support for a dot-less extension easier to add.
* automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
backref groups.
("main"): Prepend a '.' to the supported extensions of all
languages (e.g. 'c' becomes '.c').
(handle_languages, handle_single_transform_list,
handle_lib_objects_cond, handle_headers, derive_suffix,
rule_define): Do not add a dot
before extensions, and include dots in matching groups.
* lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
(%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
* lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
(%EXT%%DERIVED-EXT%): ... this.
* lib/am/yacc.am: Likewise.
Akim Demaille [Mon, 12 Nov 2001 08:55:52 +0000 (08:55 +0000)]
* m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
Use `"#"' and `"""', which
Autoconf mode prefers over `'#'' and `'"''.
* m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
Rely on AC_MSG 2.50's quotation.
Alexandre Duret-Lutz [Fri, 9 Nov 2001 21:55:10 +0000 (21:55 +0000)]
* automake.in (scan_texinfo_file): Typo from 2001-11-05.
Alexandre Duret-Lutz [Fri, 9 Nov 2001 17:39:46 +0000 (17:39 +0000)]
* lib/am/distdir.am (distdir): Also look for directory in build
directory first. (See 2001-05-14.)
* tests/Makefile.am (TESTS): Add extra5.test.
* tests/extra5.test: New file.
From Dean Povey.
Alexandre Duret-Lutz [Fri, 9 Nov 2001 17:17:47 +0000 (17:17 +0000)]
Fix for distcommon2.test:
* automake.in (automake_needs_to_reprocess_all_files): New
variable.
("main"): Process all Makefiles a second time if
$automake_needs_to_reprocess_all_files is set.
(maybe_push_required_file): Return 1 or 0 whether the file is
pushed or not.
(require_file_internal): Set $automake_needs_to_reprocess_all_files
if an added file can't be pushed.
* test/distcommon2.test: New file.
* test/Makefile.am (TESTS): Add distcommon2.test.
From Pavel Roskin.
Alexandre Duret-Lutz [Fri, 9 Nov 2001 16:27:25 +0000 (16:27 +0000)]
* automake.in (exec_dir_p): Remove. Replace by...
(EXEC_DIR_PATTERN):... this.
(am_install_var): Adjust to use EXEC_DIR_PATTERN.
Alexandre Duret-Lutz [Fri, 9 Nov 2001 16:25:03 +0000 (16:25 +0000)]
Fix for nobase.test:
* lib/am/header-vars.am (install_sh_DATA): New.
* lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
%DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
of $(INSTALL_DATA) for nobase_ targets.
* lib/am/lisp.am (install-%DIR%LISP): Likewise.
* lib/am/python.am (install-%DIR%PYTHON): Likewise.
* tests/nobase.test (configure.in): Append AC_OUTPUT.
* tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
Akim Demaille [Thu, 8 Nov 2001 17:06:12 +0000 (17:06 +0000)]
Englisho.
Akim Demaille [Thu, 8 Nov 2001 17:05:04 +0000 (17:05 +0000)]
* automake.texi: Remove references to stamp-h.in, which no longer
exist.
* tests/stamph2.test: Formatting change.
Alexandre Duret-Lutz [Thu, 8 Nov 2001 15:25:58 +0000 (15:25 +0000)]
* tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
Don't use -Wno-error.
Alexandre Duret-Lutz [Thu, 8 Nov 2001 08:52:31 +0000 (08:52 +0000)]
* tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
* tests/suffix5.test ($AUTOMAKE): Likewise.
Akim Demaille [Wed, 7 Nov 2001 18:08:14 +0000 (18:08 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
AC_MSG_ERROR.
Reported by Jim Meyering.
Alexandre Duret-Lutz [Wed, 7 Nov 2001 08:03:53 +0000 (08:03 +0000)]
* lib/am/distdir.am (am__remove_distdir): Define in topdir only.
Paul Eggert [Mon, 5 Nov 2001 19:53:59 +0000 (19:53 +0000)]
* lib/am/distdir.am (am__remove_distdir):
New macro. Do not change permission of non-directories.
Change only user permission, as there's no point to changing group
or other permission.
(distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
distcheck): Use it.
Paul Eggert [Mon, 5 Nov 2001 19:52:57 +0000 (19:52 +0000)]
(am__remove_distdir):
New macro. Do not change permission of non-directories.
Change only user permission, as there's no point to changing group
or other permission.
(distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
distcheck): Use it.
Alexandre Duret-Lutz [Mon, 5 Nov 2001 17:52:06 +0000 (17:52 +0000)]
* lib/am/python.am: Cleanup the cleaning section.
* automake.texi (Python): Remove documentation for PYCFILES
and PYOFILES. Update the first paragraphes.
Alexandre Duret-Lutz [Mon, 5 Nov 2001 17:46:21 +0000 (17:46 +0000)]
* automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
Adjust usage everywhere.
Alexandre Duret-Lutz [Mon, 5 Nov 2001 17:41:00 +0000 (17:41 +0000)]
* automake.in (libtool_files, libtool_sometimes, common_files,
common_sometimes, config_aux_path): Use qw to simplify definition.
(scan_texinfo_file) <clean_suffixes, predefined_index,
hidden_index>: Likewise.
(scan_autoconf_traces) <traced>: Likewise.
(scan_one_autoconf_file, check_gnu_standards, resolve_linker):
Likewise.
Alexandre Duret-Lutz [Mon, 5 Nov 2001 17:32:09 +0000 (17:32 +0000)]
* automake.in (handle_single_transform_list): Pass $nonansi_obj to
derive_suffix. Don't use an hardcoded 'o' for object extensions.
(derive_suffix): Accept $OBJ as a second argument, don't
hardcode 'o'.
* tests/suffix5.test: New test.
* tests/Makefile.am (TESTS): Add suffix5.test.
Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
Alexandre Duret-Lutz [Mon, 5 Nov 2001 17:26:55 +0000 (17:26 +0000)]
* automake.in (handle_single_transform_list): Don't call
$lang->target_hook for undefinied langages.
* tests/suffix4.test: New test.
* tests/Makefile.am (TESTS): Add suffix4.test.
Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
Akim Demaille [Mon, 5 Nov 2001 17:12:38 +0000 (17:12 +0000)]
Typo.
Akim Demaille [Mon, 5 Nov 2001 09:24:06 +0000 (09:24 +0000)]
* automake.in (@common_sometimes, &handle_configure): No longer
use stamp-hin.
* lib/am/remake-hdr.am: Adjust.
* tests/confh.test: There is no stamp.hin.
Akim Demaille [Thu, 1 Nov 2001 17:39:39 +0000 (17:39 +0000)]
* lib/am/lex.am, lib/am/yacc.am: Use the output file name in
`#line' and multiple inclusion guards.
* lib/ylwrap: Remove debugging code.
(input_dir, input_rx): Move where used.
Use the output file name in `#line'.
Alexandre Duret-Lutz [Thu, 1 Nov 2001 11:45:25 +0000 (11:45 +0000)]
typo in Olivier Louchart-Fletcher email
Alexandre Duret-Lutz [Wed, 31 Oct 2001 18:39:34 +0000 (18:39 +0000)]
* automake.in (transform): Update documentation.
Alexandre Duret-Lutz [Wed, 31 Oct 2001 18:36:58 +0000 (18:36 +0000)]
* m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
Reported by Olivier Louchart-Fletcher <olivier@zipworld.com>.
Akim Demaille [Tue, 30 Oct 2001 16:50:14 +0000 (16:50 +0000)]
* automake.in (&create): Reinstall.
Akim Demaille [Tue, 30 Oct 2001 16:44:40 +0000 (16:44 +0000)]
* automake.in (append_exeext): Use macro_delete.
Akim Demaille [Tue, 30 Oct 2001 16:31:18 +0000 (16:31 +0000)]
* automake.in ($verbose): Remove, inherited from
Automake::General.
(&variable_delete): Rename as...
(¯o_delete): this, for consistency.
(&variable_assert): New.
(&variable_value_as_list, &variable_value_as_list_recursive_worker):
Use it.
Akim Demaille [Mon, 29 Oct 2001 22:12:40 +0000 (22:12 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
cluttering configure's stdout.
Akim Demaille [Sun, 28 Oct 2001 14:02:18 +0000 (14:02 +0000)]
* automake.in: Various formatting changes.
(create): Remove, unused.
Akim Demaille [Sun, 28 Oct 2001 14:02:01 +0000 (14:02 +0000)]
* automake.in (&append_exeext): New.
(&am_primary_prefixes): Use it.
Akim Demaille [Sun, 28 Oct 2001 14:01:41 +0000 (14:01 +0000)]
* automake.in (am_primary_prefixes): Now, in accordance with its
comment, return the list of prefixes actually used, not all the
possible prefixes for a primary.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
* Makefile.am (maintainer-check): Allow `local $_;'.
Akim Demaille [Sun, 28 Oct 2001 14:01:18 +0000 (14:01 +0000)]
* automake.in: Various formatting changes.
(&variable_defined): Second argument is optional.
Akim Demaille [Sun, 28 Oct 2001 14:00:59 +0000 (14:00 +0000)]
* automake.in (&am_primary_prefixes): Now returns a list, not a
hash.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
Akim Demaille [Sun, 28 Oct 2001 14:00:43 +0000 (14:00 +0000)]
* automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
as...
(@libtool_files, @libtool_sometimes): these.
($libtool_location): Remove, completely replaced by $seen_libtool.
(&require_file_internal): Do not run libtoolize, that's
autoreconf's job.
Akim Demaille [Sun, 28 Oct 2001 14:00:28 +0000 (14:00 +0000)]
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/conf2.test, tests/config.test, tests/depcomp.test,
* tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
* tests/libobj8.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/output5.test,
* tests/pr2.test, tests/remake.test, tests/remake2.test,
* tests/remake3.test, tests/scripts.test, tests/stamph.test,
* tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
* tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
assignments.
Akim Demaille [Sun, 28 Oct 2001 14:00:09 +0000 (14:00 +0000)]
* automake.in (&scan_autoconf_traces): Use eq for equality.
Anchor regexps.
Remove dead comment.
(&initialize_per_input): Don't initialize several times the same
vars.
Akim Demaille [Sun, 28 Oct 2001 13:59:54 +0000 (13:59 +0000)]
* automake.in (scan_one_autoconf_file): When using %generalize, be
sure to replace only words. AC_FUNC_OBSTACK was matching
M4_AC_FUNC_OBSTACK.
Akim Demaille [Fri, 26 Oct 2001 10:10:53 +0000 (10:10 +0000)]
Formatting changes.