platform/upstream/automake.git
19 years ago* doc/automake.texi (Timeline): New node. Thanks to Karl and Tom
Alexandre Duret-Lutz [Sun, 19 Sep 2004 21:30:48 +0000 (21:30 +0000)]
* doc/automake.texi (Timeline): New node.  Thanks to Karl and Tom
for their comments on a preliminary version of this, Akim for
digging out some old mails, and Jason Molenda for sending the note
about Automake in Alias to Tom.
(Releases): Rename `ac' to `acl', suggested by Akim.

19 years ago* AUTHOR, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
Akim Demaille [Sun, 19 Sep 2004 11:46:41 +0000 (11:46 +0000)]
* AUTHOR, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
author.

19 years ago* doc/automake.texi (Releases): New node.
Alexandre Duret-Lutz [Wed, 15 Sep 2004 22:03:38 +0000 (22:03 +0000)]
* doc/automake.texi (Releases): New node.

19 years ago* doc/automake.texi (Dependencies): Link to Dependency Tracking
Alexandre Duret-Lutz [Wed, 15 Sep 2004 20:37:58 +0000 (20:37 +0000)]
* doc/automake.texi (Dependencies): Link to Dependency Tracking
Evolution.
(Dependency Tracking Evolution): Link to GNU make, Sources (for
BUILT_SOURCES), and update the paragraph about the "plan" to
inline dependency tracking with gcc3.

19 years ago* doc/automake.texi (History): New node.
Alexandre Duret-Lutz [Wed, 15 Sep 2004 20:17:12 +0000 (20:17 +0000)]
* doc/automake.texi (History): New node.
(Dependency Tracking Evolution): New node, filled with a Texinfo
version of Tom Tromey's ``Dependency Tracking in Automake''
document, initially published on the Automake homepage on
2001-06-29.

19 years ago* m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
Alexandre Duret-Lutz [Fri, 10 Sep 2004 20:03:28 +0000 (20:03 +0000)]
* m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
called after this macro.
* tests/distname.test, tests/subdir5.test, tests/subdir8.test,
tests/subobj.test, tests/subobj4.test, tests/subobj5.test,
tests/subobj6.test: Adjust.
Report from Ralf Wildenhues.

19 years ago* lib/Automake/Channels.pm (_print_message): Handle uniq_part with
Alexandre Duret-Lutz [Fri, 10 Sep 2004 19:29:54 +0000 (19:29 +0000)]
* lib/Automake/Channels.pm (_print_message): Handle uniq_part with
arbitrary string.
* automake.in (lang_c_rewrite): Set uniq_part so that the
AM_PROG_CC_C_O diagnostic is output only once for subdir objects
and only once for objects with per-target flags.

19 years ago* automake.in (lang_c_rewrite): Print files and locations
Alexandre Duret-Lutz [Fri, 10 Sep 2004 19:03:37 +0000 (19:03 +0000)]
* automake.in (lang_c_rewrite): Print files and locations
for AM_PROG_CC_C_O errors.
(handle_single_transform): Pass $var to &$subr so it can
print locations.

19 years ago* lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
Alexandre Duret-Lutz [Fri, 10 Sep 2004 18:47:08 +0000 (18:47 +0000)]
* lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
instead of $status which is read-only in Zsh.

19 years ago* lib/compile: Preserve spaces in arguments (for example
Alexandre Duret-Lutz [Fri, 10 Sep 2004 18:38:15 +0000 (18:38 +0000)]
* lib/compile: Preserve spaces in arguments (for example
-DPACKAGE_STRING="foo 0.1").
* tests/compile.test: New file.
* tests/Makefile.am (TESTS): Add compile.test.

19 years ago* automake.in (handle_clean): Sort rm commands output for
Alexandre Duret-Lutz [Tue, 7 Sep 2004 21:16:22 +0000 (21:16 +0000)]
* automake.in (handle_clean): Sort rm commands output for
mostlyclean-generic, clean-generic, distclean-generic, and
maintainer-clean-generic.
Report from Bob Friesenhahn.

19 years ago* automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
Alexandre Duret-Lutz [Tue, 7 Sep 2004 21:03:32 +0000 (21:03 +0000)]
* automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
libtool objects.
(handle_single_transform): Pass nonansi_obj to &$subr so
lang_c_rewrite can distinguish libtool objects.
* tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O.
Report from Gary V. Vaughan and Patrick Welche.

19 years ago* automake.in ($PATH_PATTERN): Add `+'.
Alexandre Duret-Lutz [Tue, 7 Sep 2004 19:52:47 +0000 (19:52 +0000)]
* automake.in ($PATH_PATTERN): Add `+'.

19 years ago* tests/missing3.test: New file (check for Paolo's change below).
Alexandre Duret-Lutz [Tue, 7 Sep 2004 06:25:33 +0000 (06:25 +0000)]
* tests/missing3.test: New file (check for Paolo's change below).
* tests/Makefile.am (TESTS): Add missing3.test.

* missing: Handle all command line options together.  Add a
separate case statement to detect failed runs, and fail
silently there if --help or --version is passed to the program.

19 years ago* lib/config.guess, lib/texinfo.tex: New upstream versions.
Alexandre Duret-Lutz [Wed, 11 Aug 2004 21:35:47 +0000 (21:35 +0000)]
* lib/config.guess, lib/texinfo.tex: New upstream versions.

19 years agoFor PR automake/433:
Alexandre Duret-Lutz [Wed, 11 Aug 2004 21:20:47 +0000 (21:20 +0000)]
For PR automake/433:
* configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".

19 years agoFix PR automake/432:
Alexandre Duret-Lutz [Wed, 11 Aug 2004 21:10:56 +0000 (21:10 +0000)]
Fix PR automake/432:
* lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
* tests/yacc7.test: Check this.

19 years ago* lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
Alexandre Duret-Lutz [Sun, 8 Aug 2004 20:14:34 +0000 (20:14 +0000)]
* lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
in place instead of as a side-effect of calling ->string and ->conds.
This saves method-lookup time, simplify ->string and ->conds, and
allows to create the object only when necessary.
(string, conds): Simplify, now that the result is precomputed.

19 years ago* automake.in (%am_file_cache): New hash.
Alexandre Duret-Lutz [Sun, 8 Aug 2004 19:05:13 +0000 (19:05 +0000)]
* automake.in (%am_file_cache): New hash.
(make_paragraphs): Cache .am files with comments stripped to save
some useless input and substitutions.

19 years ago* lib/Automake/Variable.pm (%_primary_dict): New hash.
Alexandre Duret-Lutz [Sun, 8 Aug 2004 17:11:24 +0000 (17:11 +0000)]
* lib/Automake/Variable.pm (%_primary_dict): New hash.
(_new, variable_delete): Update %_primary_dict.
(variables): Accept an optional $suffix argument.
* automake.in (check_typos, am_primary_prefixes): Use that
optional argument to restrict the loops over the variables we are
interested in.

19 years ago* lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
Alexandre Duret-Lutz [Thu, 5 Aug 2004 23:01:25 +0000 (23:01 +0000)]
* lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
this way.

19 years agoSpeed up make_paragraphs.
Alexandre Duret-Lutz [Thu, 5 Aug 2004 22:30:41 +0000 (22:30 +0000)]
Speed up make_paragraphs.
* automake.in (handle_languages): Always define SUBDIROBJ,
DERIVED-EXT, and DIST_SOURCE, because the new transform() will
abort on unknown tokens.
(transform): Rewrite with different semantics.
(make_paragraphs): Make a single pass over the paragraph to
transform all template tokens instead of doing as much passes as
possible token.

19 years ago* automake.in ($libtool_new_api): New variable.
Alexandre Duret-Lutz [Thu, 5 Aug 2004 21:13:54 +0000 (21:13 +0000)]
* automake.in ($libtool_new_api): New variable.
(handle_libtool): Do not libtool's aux files if $libtool_new_api.
(scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api.
(scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the
first location for required files.

19 years agoSupport AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
Alexandre Duret-Lutz [Tue, 3 Aug 2004 23:02:56 +0000 (23:02 +0000)]
Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
* automake.in (%required_aux_file): New hash.
(handle_single_transform, lang_c_rewrite): Do note explicitly
require 'compile', this is now an internal detail of
AM_PROG_CC_C_O.
(scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill
%required_aux_file.
(scan_autoconf_files): Require all %required_aux_file instead
of explicitly requiring install-sh and missing.
(generate_makefile): Do not require config.sub and config.guess.
(handle_single_transform): Pass $have_per_exec_flags to
&lang_c_rewrite.
* configure.ac, m4/init.m4: Require Autoconf 2.59a.
* doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE.
(Program and Library Variables, Options, Public macros):
AC_PROG_CC_C_O is required when per-target flags or subdir-objects
are used with C sources.
* m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE.
* m4/missing.m4: Require `missing' similarly.
* tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test,
tests/specflg.test, tests/specflg2.test, tests/specflg3.test,
tests/specflg6.test, tests/specflg7.test, tests/specflg8.test,
tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test,
tests/yacc6.test: Fix to use AM_PROG_CC_C_O.

19 years ago* automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
Alexandre Duret-Lutz [Tue, 3 Aug 2004 20:20:07 +0000 (20:20 +0000)]
* automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
when ylwrap is installed in a default aux dir found in a parent
package.
* tests/subpkg.test: Augment to check that YLWRAP is installed
properly.
* doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
current directory.
Report from Norman Gray.

19 years ago* doc/automake.texi (Optional): Update documentation for
Alexandre Duret-Lutz [Mon, 2 Aug 2004 20:26:54 +0000 (20:26 +0000)]
* doc/automake.texi (Optional): Update documentation for
AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_SYSTEM.

19 years ago* automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
Alexandre Duret-Lutz [Sun, 1 Aug 2004 22:16:03 +0000 (22:16 +0000)]
* automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
(AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): ... these.
(scan_autoconf_traces): Scan for the latter three macros instead of
the former two.
(make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
* tests/hosts.test: New file.
* tests/Makefile.am (TESTS): Add hosts.test.
Report and test case from Norman Gray.

19 years ago* aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
Alexandre Duret-Lutz [Sun, 1 Aug 2004 20:05:23 +0000 (20:05 +0000)]
* aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
4.7 now outputs "#Extending-aclocal".

19 years agoDisable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
Alexandre Duret-Lutz [Sun, 1 Aug 2004 17:31:22 +0000 (17:31 +0000)]
Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
is used and maintainer-mode disabled.
* automake.in (Automake::struct): Define nodist_specific.
Set it in languages yacc, yaccxx, lex, and lexxx.
(register_language): Default nodist_specific to 0.
(handle_single_transform): Honor nodist_specific.
* lib/am/yacc.am (am__skipyacc): Define this in maintainer mode.
(%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these
rules when needed.
* lib/am/lex.am (am__skiplex): Define this in maintainer mode.
(%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these
rules when needed.
* tests/mmodely.test: New file.
* tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_
parsers.
* tests/Makefile.am (TESTS): ADd mmodely.test.
* doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.

19 years ago* configure.ac, NEWS: Bump version to 1.9a.
Alexandre Duret-Lutz [Wed, 28 Jul 2004 20:51:38 +0000 (20:51 +0000)]
* configure.ac, NEWS: Bump version to 1.9a.

19 years ago* configure.ac, NEWS: Bump version to 1.9.
Alexandre Duret-Lutz [Wed, 28 Jul 2004 20:41:39 +0000 (20:41 +0000)]
* configure.ac, NEWS: Bump version to 1.9.

19 years ago* automake.in (generate_makefile): Update misleading comment about
Alexandre Duret-Lutz [Wed, 28 Jul 2004 20:05:15 +0000 (20:05 +0000)]
* automake.in (generate_makefile): Update misleading comment about
libtool scripts.

19 years ago* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Wed, 28 Jul 2004 20:03:18 +0000 (20:03 +0000)]
* lib/texinfo.tex: New upstream version.

19 years agorevert hasty commit before release
Alexandre Duret-Lutz [Wed, 28 Jul 2004 19:58:37 +0000 (19:58 +0000)]
revert hasty commit before release

19 years ago* lib/am/yacc.am, lib/am/lex.am: Only compile these targets in
Derek R. Price [Tue, 27 Jul 2004 12:50:56 +0000 (12:50 +0000)]
* lib/am/yacc.am, lib/am/lex.am: Only compile these targets in
maintainer mode.
* doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
* NEWS: Note same dependency.
* tests/mmode-lexyacc.test: New file.

19 years ago* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
Alexandre Duret-Lutz [Sun, 25 Jul 2004 21:34:41 +0000 (21:34 +0000)]
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
definition, it causes `make install' to fails for user with no
right to write in the source-tree.
* automake.in (handle_configure): Do not use mkdir_p in the
definition for $(mkdir_p).
Report from Harlan Stenn.

19 years ago* lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
Alexandre Duret-Lutz [Sun, 25 Jul 2004 19:50:54 +0000 (19:50 +0000)]
* lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.

19 years ago* doc/automake.texi (Libtool Modules): Typo in example.
Alexandre Duret-Lutz [Thu, 22 Jul 2004 17:22:33 +0000 (17:22 +0000)]
* doc/automake.texi (Libtool Modules): Typo in example.
Report from Ulrich Eckhardt.

20 years ago* automake.in (check_directory): Quote $dir in regexp.
Alexandre Duret-Lutz [Wed, 21 Jul 2004 17:44:06 +0000 (17:44 +0000)]
* automake.in (check_directory): Quote $dir in regexp.

20 years ago* configure.ac, NEWS: Bump version to 1.8e.
Alexandre Duret-Lutz [Sat, 17 Jul 2004 14:56:16 +0000 (14:56 +0000)]
* configure.ac, NEWS: Bump version to 1.8e.

20 years ago* configure.ac, NEWS: Bump version to 1.8d.
Alexandre Duret-Lutz [Sat, 17 Jul 2004 11:40:23 +0000 (11:40 +0000)]
* configure.ac, NEWS: Bump version to 1.8d.

20 years ago* lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
Alexandre Duret-Lutz [Sat, 17 Jul 2004 11:03:49 +0000 (11:03 +0000)]
* lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
New upstream versions.

20 years ago* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
Alexandre Duret-Lutz [Sat, 17 Jul 2004 11:00:35 +0000 (11:00 +0000)]
* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.

20 years ago* tests/installdir.test: installdirs-local should appear three times,
Alexandre Duret-Lutz [Sat, 17 Jul 2004 10:56:24 +0000 (10:56 +0000)]
* tests/installdir.test: installdirs-local should appear three times,
since the change from 2004-07-11 will make it PHONY.

20 years ago* lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
Alexandre Duret-Lutz [Sat, 17 Jul 2004 10:52:19 +0000 (10:52 +0000)]
* lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
that it is always defined.  This is less confusing for users
reading the generated Makefiles.
* automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.

20 years ago* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
Alexandre Duret-Lutz [Sat, 17 Jul 2004 09:48:11 +0000 (09:48 +0000)]
* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
on success.  In case the target is a directory, this ensures its
time stamp is updated and the no files are left over inside.
* tests/txinfo21.test: Augment to test missing timestamp update
reported by Akim Demaille.

20 years ago* doc/automake.texi (Top level): Rename as ...
Alexandre Duret-Lutz [Sat, 17 Jul 2004 09:10:42 +0000 (09:10 +0000)]
* doc/automake.texi (Top level): Rename as ...
(Directories): ... this, and split into ...
(Subdirectories, Conditional Subdirectories): ... these.
(Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
before the example.  Append a discussion about non-configured
conditional directories.
(Alternative): Move as a child of Directories.
(Subpackages): New section.
(Dist): Adjust links to Subdirectories, a Subpackages.
(Third-Party Makefiles): Link to Conditional Subdirectories.

20 years agocorrect function name
Alexandre Duret-Lutz [Wed, 14 Jul 2004 15:19:01 +0000 (15:19 +0000)]
correct function name

20 years ago* automake.in (target_hook): Accept %transform as last argument.
Alexandre Duret-Lutz [Wed, 14 Jul 2004 14:49:09 +0000 (14:49 +0000)]
* automake.in (target_hook): Accept %transform as last argument.
(define_objects_from_sources): Pass %transform to target_hook.
(handle_source_transform): Define DIST_SOURCE to tell whether
a the source of a file is distributed or not.
(lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
the generated header if the .y source is not distributed.
* tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
headers are not distributed.

20 years ago* doc/automake.texi (Options): Improve ustar file name length
Alexandre Duret-Lutz [Sun, 11 Jul 2004 22:19:27 +0000 (22:19 +0000)]
* doc/automake.texi (Options): Improve ustar file name length
discussion.  Reference tar manual.

20 years ago* lib/Automake/Variable.pm (define): Fix precondition check.
Alexandre Duret-Lutz [Sun, 11 Jul 2004 22:13:20 +0000 (22:13 +0000)]
* lib/Automake/Variable.pm (define): Fix precondition check.

20 years agoFor PR automake/428:
Alexandre Duret-Lutz [Sun, 11 Jul 2004 22:07:25 +0000 (22:07 +0000)]
For PR automake/428:
Support for conditionally defined -hook and -local rules.
* automake.in (user_phony_rule): New function.
(handle_dist, handle_install, handle_all, do_check_merge_target,
handle_factored_dependencies): Use user_phony_rule before
adding a user -hook or -local rule as a dependency to ensure
it is always defined an phony.
* tests/cond37.test, tests/condhook.test: New files.
* tests/Makefile.am (TESTS): Add them.
Report from Simon Josefsson and Nik A. Melchior.

20 years agoAdd -t and -T options to install-sh.
Paul Eggert [Mon, 5 Jul 2004 07:09:03 +0000 (07:09 +0000)]
Add -t and -T options to install-sh.

20 years agoDon't assume that install-sh without -c
Paul Eggert [Mon, 5 Jul 2004 07:07:55 +0000 (07:07 +0000)]
Don't assume that install-sh without -c
moves (it now copies).  Add tests for new -t and -T options.

20 years agoRemove support for -b= and -t= options; this
Paul Eggert [Mon, 5 Jul 2004 07:07:32 +0000 (07:07 +0000)]
Remove support for -b= and -t= options; this
has been moribund for a decade.
Add support for -t and -T options (new in coreutils install).
-c option now does nothing (the default is to copy), for
compatibility with BSD and coreutils 'install'.
Fix usage message; it referred to nonexistent variables.
Don't assume 'lasterr' is unset in environment.

20 years ago(Install): Warn that you should create
Paul Eggert [Mon, 5 Jul 2004 07:07:05 +0000 (07:07 +0000)]
(Install): Warn that you should create
/tmp/staging before installing into it, to avoid security problems.

20 years agoFor Debian Bug#254372:
Alexandre Duret-Lutz [Wed, 16 Jun 2004 19:17:03 +0000 (19:17 +0000)]
For Debian Bug#254372:
* doc/automake.texi (Invoking aclocal): Rewrite the paragraph
explaining m4_include is used for relative files.

20 years agoFor Debian Bug #251820:
Alexandre Duret-Lutz [Thu, 10 Jun 2004 21:12:10 +0000 (21:12 +0000)]
For Debian Bug #251820:
* aclocal.in (scan_file): Keep track of the location where each
file is included, and display it when reporting a missing file.
Pass this location to scan_file as a second argument.
(scan_m4_files): Adjust calls to scan_file.
* tests/acloca14.test: Add a test for this diagnostic.

20 years ago* m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
Alexandre Duret-Lutz [Mon, 7 Jun 2004 06:04:40 +0000 (06:04 +0000)]
* m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
so it works with Solaris and Tru64 /bin/sh.
Report from Nicolas Joly.

20 years ago* m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
Alexandre Duret-Lutz [Sun, 6 Jun 2004 20:42:14 +0000 (20:42 +0000)]
* m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
bug in NetBSD /bin/sh.
Report from Nicolas Joly.

20 years ago* tests/defs.in (required=icc): Use `-V -help' instead of
Alexandre Duret-Lutz [Thu, 3 Jun 2004 21:19:30 +0000 (21:19 +0000)]
* tests/defs.in (required=icc): Use `-V -help' instead of
`-V -dryrun'.  icc 8.0 fails on the latter.
* tests/depcomp5.test: Require depmode=icc for icc 7.x, and
depmod=gcc otherwise.
Report from Ralf Wildenhues.

20 years ago* lib/am/clean.am (distclean-generic): Do no
Alexandre Duret-Lutz [Thu, 3 Jun 2004 20:19:27 +0000 (20:19 +0000)]
* lib/am/clean.am (distclean-generic): Do no
`rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
Report from Nicolas Joly.

20 years ago* NEWS: Make clearer that we do not output partial Makefile.ins on
Alexandre Duret-Lutz [Mon, 31 May 2004 21:48:25 +0000 (21:48 +0000)]
* NEWS: Make clearer that we do not output partial Makefile.ins on
error.
Suggested by Akim Demaille.

20 years ago* lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
Alexandre Duret-Lutz [Mon, 31 May 2004 21:44:57 +0000 (21:44 +0000)]
* lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
of $dir.libs/$base.o.d.  Libtool 1.5 causes both to be output,
and we will clean the second automatically during distclean.
Using the latter and leaving the former as we did before cause
"files left in build directory" failures during distcheck.
Suggested by Nicolas Joly.

20 years ago* doc/automake.texi (Built sources example): Explain what
Alexandre Duret-Lutz [Mon, 31 May 2004 21:28:36 +0000 (21:28 +0000)]
* doc/automake.texi (Built sources example): Explain what
nodist_foo_SOURCES is (not) useful to, and use it in all the
examples.
(Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
Suggested by Akim Demaille.

20 years ago* configure.ac, NEWS: Bump version to 1.8c.
Alexandre Duret-Lutz [Sun, 23 May 2004 19:30:14 +0000 (19:30 +0000)]
* configure.ac, NEWS: Bump version to 1.8c.

20 years ago* configure.ac, NEWS: Bump version to 1.8b.
Alexandre Duret-Lutz [Sun, 23 May 2004 19:02:40 +0000 (19:02 +0000)]
* configure.ac, NEWS: Bump version to 1.8b.

20 years ago* m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
Alexandre Duret-Lutz [Sun, 23 May 2004 16:19:43 +0000 (16:19 +0000)]
* m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
by POSIX; and use option -d in am_untar.

20 years ago* tests/defs.in (PATH): Export it.
Alexandre Duret-Lutz [Sun, 23 May 2004 11:04:24 +0000 (11:04 +0000)]
* tests/defs.in (PATH): Export it.

20 years agoregen
Alexandre Duret-Lutz [Sun, 23 May 2004 09:57:55 +0000 (09:57 +0000)]
regen

20 years ago* lib/am/multilib.am: Add $(MAKE) comments to multido and
Alexandre Duret-Lutz [Sun, 23 May 2004 09:49:13 +0000 (09:49 +0000)]
* lib/am/multilib.am: Add $(MAKE) comments to multido and
multiclean lines, to enable parallel make.  Based on a patch
by Alexandre Oliva applied to newlib on 2003-10-15.

20 years ago* automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
Alexandre Duret-Lutz [Sat, 22 May 2004 21:55:47 +0000 (21:55 +0000)]
* automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
changed.
* tests/libtool3.test: Do not grep for --tag=CC, since CVS
Libtool (unlike Libtool 1.5) does not has any CC tag.

20 years ago* tests/tar2.test: Skip the test if no pax archiver were found.
Alexandre Duret-Lutz [Sat, 22 May 2004 14:48:00 +0000 (14:48 +0000)]
* tests/tar2.test: Skip the test if no pax archiver were found.

20 years ago* NEWS: Sync with branch-1-8, and reorganize current entry.
Alexandre Duret-Lutz [Sat, 22 May 2004 14:34:50 +0000 (14:34 +0000)]
* NEWS: Sync with branch-1-8, and reorganize current entry.

20 years ago* automake.in (handle_libraries): Make the diagnostic about
Alexandre Duret-Lutz [Sat, 22 May 2004 14:23:54 +0000 (14:23 +0000)]
* automake.in (handle_libraries): Make the diagnostic about
non standard libraries a warning in foreign packages.  This
is already the case in handle_ltlibraries.
(handle_libraries, handle_ltlibraries): Suggest a standard
library name in the diagnostic, to help newcomers.
* tests/stdlib.test, tests/stdlib2.test: Check for these
suggestions.

20 years agoCheck directory names for unportable names. Shaking the code
Alexandre Duret-Lutz [Sat, 22 May 2004 07:19:37 +0000 (07:19 +0000)]
Check directory names for unportable names.  Shaking the code
to check this also led to the removal of the no-"/"-in-SUBDIRS
restriction, and a fix to _do_recursive_traversal.

* automake.in (check_directory): New function extracted from
handle_subdirs, and augmented to check for reserved W32/DOS name.
(check_directories_in_var): New function.
(handle_subdirs): Call check_directories_in_var.  Doing so also
suppress the restriction that SUBDIRS should not contain slashes.
(scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
to ensure the argument exists and is safe.
* doc/automake.texi (Top level): Do not say that src/subdir
cannot be put in SUBDIRS.
(Dist): Mention that distdir and top_distdir can be absolute.
* lib/Automake/Variable.pm (_do_recursive_traversal) Support
undefined $fun_collect, and fix two bugs introduced with
skip_ac_subst on 2004-03-07.
* lib/am/distdir.am (distdir): Use absolute distdir and
top_distdir when recursing, because we can no longer prepend only
`..' in case of SUBDIRS with `/'.
* tests/auxdir4.test, tests/subdir9.test: New files.
* tests/Makefile.am (TESTS): Add auxdir4.test.
* tests/cond2.test, tests/subdir7.test: Augment to check location
in diagnostics.

20 years ago* tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
Alexandre Duret-Lutz [Fri, 21 May 2004 17:43:56 +0000 (17:43 +0000)]
* tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
cygwin compatibility.
* tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.

20 years ago* tests/conflnk3.test: Isolate checking for working `test -e' into
Alexandre Duret-Lutz [Fri, 21 May 2004 17:31:49 +0000 (17:31 +0000)]
* tests/conflnk3.test: Isolate checking for working `test -e' into
a subshell, to skip this test on broken /bin/sh of solaris.

20 years ago* m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
Alexandre Duret-Lutz [Mon, 17 May 2004 20:19:35 +0000 (20:19 +0000)]
* m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
* tests/condd.test: Define a macro with the same name as a
conditional.
* tests/pr220.test: Modernize, and make sure the diagnostics
contains the macro name.
Report from Volker Boerchers.

20 years ago* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Sun, 16 May 2004 20:20:35 +0000 (20:20 +0000)]
* lib/texinfo.tex: New upstream version.

20 years ago* automake.in (handle_dist): Always define DIST_SUBDIRS, even when
Alexandre Duret-Lutz [Sat, 15 May 2004 21:01:04 +0000 (21:01 +0000)]
* automake.in (handle_dist): Always define DIST_SUBDIRS, even when
the no-dist or cygnus options are used.
* tests/clean2.test: New file.
* tests/Makefile.am (TESTS): Add clean2.test.
Report from Daniel Jacobowitz.

20 years ago* aclocal.in (add_macro): Do not error out on undefined required
Alexandre Duret-Lutz [Sat, 15 May 2004 18:19:57 +0000 (18:19 +0000)]
* aclocal.in (add_macro): Do not error out on undefined required
macros.  We are not sure they are really used, and Autoconf
already diagnoses them.
(scan_configure_dep): Diagnose missing AM_ macros as warnings rather
than errors.
* tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
warning instead of an error.
* tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
macro, and ensure aclocal works anyway.
* tests/acloca17.test: New file.
* tests/error.test: Delete, superseded by tests/acloca17.test.
* tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
Report from Jim Meyering.

20 years ago* lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
Alexandre Duret-Lutz [Sat, 15 May 2004 16:12:07 +0000 (16:12 +0000)]
* lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
Fold a few lines to reduce the output by 5 lines.
Suggested by Karl Berry.

20 years ago* automake.in (parse_arguments, MAIN): Give more precise
Alexandre Duret-Lutz [Fri, 14 May 2004 22:44:42 +0000 (22:44 +0000)]
* automake.in (parse_arguments, MAIN): Give more precise
diagnostics when not input file is found.
* tests/output5.test: Adjust.
Suggested by Jens Petersen.

20 years ago* lib/am/libs.am (AR, ARFLAGS): Move these definition ...
Alexandre Duret-Lutz [Fri, 14 May 2004 20:13:53 +0000 (20:13 +0000)]
* lib/am/libs.am (AR, ARFLAGS): Move these definition ...
* automake.in (handle_libraries): ... here, so that they are
output even for EXTRA_LIBRARIES.
* tests/ar2.test: New file.
* tests/Makefile.am (TESTS): Add it.
Report from Kevin Ryde.

20 years ago* automake.in (generate_makefile): Do not output Makefile.in on
Alexandre Duret-Lutz [Thu, 13 May 2004 22:02:42 +0000 (22:02 +0000)]
* automake.in (generate_makefile): Do not output Makefile.in on
errors.
* tests/werror2.test: New file.
* tests/Makefile.am (TESTS): Add werror2.test.
* tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
Adjust to run automake with -Wno-error when the output is expected
in spite of the error.
Report from Harlan Stenn.

20 years ago* doc/automake.texi (Program and Library Variables): Remove
Alexandre Duret-Lutz [Thu, 13 May 2004 20:43:23 +0000 (20:43 +0000)]
* doc/automake.texi (Program and Library Variables): Remove
doubled word in footnote.

20 years ago* automake.in (handle_source_transform): Also check for a
Alexandre Duret-Lutz [Thu, 13 May 2004 20:38:19 +0000 (20:38 +0000)]
* automake.in (handle_source_transform): Also check for a
$(srcdir)/old_source rule when computing the default source name.
Propagate this $(srcdir) prefix in Automake variables.
* tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
$(srcdir)/zoo_d_old2_la.c.  This fixes another failure with BSD Make.

20 years agoregen
Alexandre Duret-Lutz [Thu, 13 May 2004 20:14:08 +0000 (20:14 +0000)]
regen

20 years agoWork even with FreeBSD "make", which uses sh -e and thus errors-out if
Paul Eggert [Thu, 13 May 2004 20:09:07 +0000 (20:09 +0000)]
Work even with FreeBSD "make", which uses sh -e and thus errors-out if
a simple-command fails.

20 years ago* tests/lex3.test, tests/yacc6.test: Require GNU Make.
Alexandre Duret-Lutz [Thu, 13 May 2004 18:46:59 +0000 (18:46 +0000)]
* tests/lex3.test, tests/yacc6.test: Require GNU Make.
Fixing these for BSD Make requires invasive changes (lexers and
parsers must be built into $srcdir, and--most annoyingly--all
references to parse.h must be changed to $(srcdir)/parse.h).
Report from Mark D. Baushke.

20 years ago* tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
Alexandre Duret-Lutz [Mon, 10 May 2004 20:38:37 +0000 (20:38 +0000)]
* tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
Report from Mark D. Baushke.

20 years ago* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Sun, 25 Apr 2004 11:28:05 +0000 (11:28 +0000)]
* lib/texinfo.tex: New upstream version.

20 years ago* lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.
Alexandre Duret-Lutz [Sun, 25 Apr 2004 11:21:03 +0000 (11:21 +0000)]
* lib/depcomp (tru64): Clarify comments.  Thanks to Nicolas Joly.

20 years ago* doc/automake.texi (Headers): Revamp.
Alexandre Duret-Lutz [Sun, 25 Apr 2004 10:01:22 +0000 (10:01 +0000)]
* doc/automake.texi (Headers): Revamp.

20 years ago* automake.in (check_typos): Clarify the diagnostic.
Alexandre Duret-Lutz [Sat, 24 Apr 2004 19:42:21 +0000 (19:42 +0000)]
* automake.in (check_typos): Clarify the diagnostic.
* tests/warnopts.test: Adjust.

20 years ago* lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
Alexandre Duret-Lutz [Sat, 24 Apr 2004 14:18:52 +0000 (14:18 +0000)]
* lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
VAR_PRETTY variables to work around make implementation with
limited line length, such as OSF1/Tru64 make.
* tests/longline.test: New file.
* tests/Makefile.am (TESTS): Add it.
* tests/pluseq3.test, tests/pluseq8.test: Adjust.
Report from Simon Josefsson.

20 years ago* lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
Alexandre Duret-Lutz [Sat, 24 Apr 2004 10:45:42 +0000 (10:45 +0000)]
* lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
--etags-include is used but no other files are supplied, so it
creates the TAGS file anyway.
Report from Akim Demaille.

20 years ago* lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
Alexandre Duret-Lutz [Sat, 24 Apr 2004 09:21:12 +0000 (09:21 +0000)]
* lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
Teun Burgers reported on 2004-03-30 they were in
$dir.libs/$base.o.d.  Try both.

20 years agoFor PR automake/414:
Alexandre Duret-Lutz [Fri, 23 Apr 2004 21:57:44 +0000 (21:57 +0000)]
For PR automake/414:
Introduce option filename-length-max=99.
* doc/automake.texi (Options): Document it.
* configure.ac (AM_INIT_AUTOMAKE): Use it.
* lib/Automake/Options.pm (_process_option_list): Recognize it.
* automake.in (handle_dist): Set FILENAME_FILTER.
* lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
filenames.
* tests/fn99.test: New file.
* tests/Makefile.am (TESTS): Add fn99.test.