platform/upstream/automake.git
19 years ago* aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
Alexandre Duret-Lutz [Sat, 1 Jan 2005 12:28:44 +0000 (12:28 +0000)]
* aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
* automake.in ($gen_copyright, version): Likewise.

19 years ago* tests/man2.test, tests/transform.test: Specify --mandir, in order
Alexandre Duret-Lutz [Fri, 31 Dec 2004 12:20:47 +0000 (12:20 +0000)]
* tests/man2.test, tests/transform.test: Specify --mandir, in order
not to fail when Autoconf changes its $mandir default.

19 years agoSupport for `install-dvi', `install-html', `install-ps', and
Alexandre Duret-Lutz [Thu, 30 Dec 2004 23:10:52 +0000 (23:10 +0000)]
Support for `install-dvi', `install-html', `install-ps', and
`install-pdf', as recently introduced into the GNU Coding
Standard.

* automake.in (handle_factored_dependencies): Reject
uninstall-dvi-local, uninstall-html-local, uninstall-info-local,
uninstall-ps-local, and uninstall-pdf-local.  Allow
install-info-local even when no-installinfo is not used.
(handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir.
(%standard_prefix): Declare these new standard directory variables.
* doc/automake.texi (Texinfo, Third-Party Makefiles): Document
install-dvi, install-html, install-pdf, and install-ps.
(Extending): Document install-local-dvi, install-local-html,
install-local-info, install-local-pdf, and install-local-ps.
* lib/Automake/Rule.pm (%dependencies): Add new install rules,
and remove uninstall-info.
* /cvs/automake/automake/lib/am/texinfos.am (install-dvi,
install-dvi-am, install-dvi-recursive, install-html,
install-html-am, install-html-recursive, install-pdf,
install-pdf-am, install-pdf-recursive, install-ps, install-ps-am,
install-ps-recursive, uninstall-dvi-am, uninstall-html-am,
uninstall-pdf-am, uninstall-ps-am): New rules.
(uninstall-info): Delete.
* tests/txinfo21.test: Augment to check for these new rules.
* tests/exdir2.test: Do not use `htmldir' as example of
undefined directory.
* tests/overrid.test: Do not be fooled by install-ps and
install-html.
* tests/txinfo10.test: Do not grep for uninstall-info-recursive.

19 years ago* automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
Alexandre Duret-Lutz [Mon, 27 Dec 2004 21:25:42 +0000 (21:25 +0000)]
* automake.in (Preprocessed Fortran): Fix the definition of FCLINK.

19 years ago* Makefile.am (maintainer-check): Refine check for @_ in scalar
Alexandre Duret-Lutz [Mon, 27 Dec 2004 21:18:52 +0000 (21:18 +0000)]
* Makefile.am (maintainer-check): Refine check for @_ in scalar
context.  Check for correct use of PRE_INSTALL, NORMAL_INSTALL,
POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL.
* lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
$(PRE_UNINSTALL).

19 years ago* lib/am/texinfos.am (uninstall-info-am): Show change of
Alexandre Duret-Lutz [Mon, 27 Dec 2004 20:43:41 +0000 (20:43 +0000)]
* lib/am/texinfos.am (uninstall-info-am): Show change of
directory while uninstalling DJGPP-style info files.

19 years agoDeclare recursive install targets as dependencies of `.MAKE', so
Alexandre Duret-Lutz [Mon, 27 Dec 2004 20:38:22 +0000 (20:38 +0000)]
Declare recursive install targets as dependencies of `.MAKE', so
that `make -n install' works with BSD Make too.

19 years ago* lib/config-ml.in, lib/config.guess, lib/config.sub,
Alexandre Duret-Lutz [Sat, 18 Dec 2004 18:02:55 +0000 (18:02 +0000)]
* lib/config-ml.in, lib/config.guess, lib/config.sub,
lib/texinfo.tex: New upstream versions.

19 years ago* doc/automake.texi (gettext): Move the paragraph about
Alexandre Duret-Lutz [Sat, 18 Dec 2004 17:54:28 +0000 (17:54 +0000)]
* doc/automake.texi (gettext): Move the paragraph about
dist_list_LISP...
(Emacs Lisp): ... here.
Report from Bruno Haible.

19 years ago* doc/automake.texi: Bump GFDL version to 1.2, since that is
Alexandre Duret-Lutz [Sat, 18 Dec 2004 10:08:57 +0000 (10:08 +0000)]
* doc/automake.texi: Bump GFDL version to 1.2, since that is
what we distribute.

19 years ago* doc/automake.texi: Fix more misuses of @xref and @pxref, including
Alexandre Duret-Lutz [Sat, 18 Dec 2004 09:33:14 +0000 (09:33 +0000)]
* doc/automake.texi: Fix more misuses of @xref and @pxref, including
some of the "correction" below.  Thanks to Karl Berry.

19 years ago* doc/automake.texi: Correct several misuses of @xref and @pxref.
Alexandre Duret-Lutz [Fri, 17 Dec 2004 23:46:58 +0000 (23:46 +0000)]
* doc/automake.texi: Correct several misuses of @xref and @pxref.

19 years ago* install-sh: Use `(exit N); exit N', not `(exit N); exit'.
Alexandre Duret-Lutz [Fri, 17 Dec 2004 23:25:09 +0000 (23:25 +0000)]
* install-sh: Use `(exit N); exit N', not `(exit N); exit'.
Otherwise, install-sh could exit with improper exit status when
exiting via a trapped interrupt.  Thanks to a report from Bob Proulx.

19 years ago* doc/automake.texi (Options): Englishoes.
Akim Demaille [Tue, 14 Dec 2004 13:15:41 +0000 (13:15 +0000)]
* doc/automake.texi (Options): Englishoes.
(Options): And another.

19 years ago* doc/automake.texi (Options): Englishoes.
Akim Demaille [Tue, 14 Dec 2004 13:13:30 +0000 (13:13 +0000)]
* doc/automake.texi (Options): Englishoes.

19 years ago* ChangeLog.03: New file, extracted from ChangeLog.
Alexandre Duret-Lutz [Mon, 13 Dec 2004 21:21:50 +0000 (21:21 +0000)]
* ChangeLog.03: New file, extracted from ChangeLog.
* Makefile.am (EXTRA_DIST): Add it.

19 years ago* automake.in (check_user_variables): New function, extracted
Alexandre Duret-Lutz [Sun, 12 Dec 2004 23:39:02 +0000 (23:39 +0000)]
* automake.in (check_user_variables): New function, extracted
from ...
(handle_languages): ... here.
(handle_languages, define_compiler_variable, define_link_variable):
Honore LIBTOOLFLAGS.
(handle_single_transform): Check _LIBTOOLFLAGS in
addition to other per-target flags for Libtool objects.
(handle_libtool): Warn if LIBTOOLFLAGS is defined.
* doc/automake.texi (Libtool Flags, Program and Library Variables,
Flag Variables Ordering): Document LIBTOOLFLAGS.
* tests/libtool7.test: Check basic support for LIBTOOLFLAGS.
* tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS
definitions.
* tests/subobj9.test: Adjust.

19 years ago* doc/automake.texi (Per-Object Flags): New node.
Alexandre Duret-Lutz [Sat, 11 Dec 2004 00:29:29 +0000 (00:29 +0000)]
* doc/automake.texi (Per-Object Flags): New node.

19 years agoFix PR automake/441:
Alexandre Duret-Lutz [Thu, 9 Dec 2004 22:07:45 +0000 (22:07 +0000)]
Fix PR automake/441:
* lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
not install *.class if "$(%DIR%_JAVA)" is empty.
* tests/java3.test: New file.
* tests/Makefile.am (TESTS): Add it.
Report from Johannes Nicolai.

19 years ago* doc/automake.texi (Java): Mention dist_ and add an example.
Alexandre Duret-Lutz [Thu, 9 Dec 2004 21:48:20 +0000 (21:48 +0000)]
* doc/automake.texi (Java): Mention dist_ and add an example.
* tests/java.test: Do actually compile java files and run distcheck.

19 years ago* lib/Automake/FileUtils.pm (dir_has_case_matching_file,
Alexandre Duret-Lutz [Wed, 8 Dec 2004 22:00:50 +0000 (22:00 +0000)]
* lib/Automake/FileUtils.pm (dir_has_case_matching_file,
reset_dir_cache): New functions.
* automake.in (handle_dist, require_file_internal): Use them, so
that CHANGELOG is not confused with ChangeLog on case-insensitive
case-preserving file systems.
* tests/hfs.test: New file.
* tests/Makefile.am (TESTS): Add hfs.test.

19 years ago* lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
Alexandre Duret-Lutz [Wed, 8 Dec 2004 21:45:36 +0000 (21:45 +0000)]
* lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
<http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
Don't use "set - x"; plain "set x" is enough, and simplifies debugging.

19 years agoFix typo in previous log change.
Paul Eggert [Wed, 8 Dec 2004 20:37:00 +0000 (20:37 +0000)]
Fix typo in previous log change.

19 years agoImport mdate-sh change from automake.
Paul Eggert [Wed, 8 Dec 2004 20:34:56 +0000 (20:34 +0000)]
Import mdate-sh change from automake.

19 years ago* lib/mdate-sh: Don't use "set - x`$ls_command /`".
Paul Eggert [Wed, 8 Dec 2004 20:33:31 +0000 (20:33 +0000)]
* lib/mdate-sh: Don't use "set - x`$ls_command /`".

19 years agoDon't use "set - x`$ls_command /`", as zsh mishandles
Paul Eggert [Wed, 8 Dec 2004 20:33:11 +0000 (20:33 +0000)]
Don't use "set - x`$ls_command /`", as zsh mishandles
the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
<http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
Don't use "set - x"; plain "set x" is enough, and simplifies debugging.

19 years ago* lib/py-compile: Add --destdir switch to py-compile that takes a
Alexandre Duret-Lutz [Sun, 5 Dec 2004 16:12:32 +0000 (16:12 +0000)]
* lib/py-compile: Add --destdir switch to py-compile that takes a
path argument that is not compiled into the file when byte compiling.
* lib/am/python.am: Use the new py-compile arguments to not include
DESTDIR in the byte compiled files.
* tests/python12.test: Test that DESTDIR won't be byte compiled into
python files.

19 years ago* doc/automake.texi (Clean): Typo.
Alexandre Duret-Lutz [Sun, 5 Dec 2004 15:40:38 +0000 (15:40 +0000)]
* doc/automake.texi (Clean): Typo.

19 years ago* doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
Alexandre Duret-Lutz [Sun, 5 Dec 2004 15:35:23 +0000 (15:35 +0000)]
* doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
for variables (@cvindex was previously used for both).  Separate
these two indices in the output.  Use @code, @file, and @command
in @cindex lines wherever appropriate so they render nicely.

19 years ago* doc/automake.texi (renamed objects, CVS): Typos.
Alexandre Duret-Lutz [Sun, 5 Dec 2004 13:10:16 +0000 (13:10 +0000)]
* doc/automake.texi (renamed objects, CVS): Typos.

19 years ago* doc/automake.texi (Flag Variables Ordering): New section.
Alexandre Duret-Lutz [Sun, 5 Dec 2004 13:05:51 +0000 (13:05 +0000)]
* doc/automake.texi (Flag Variables Ordering): New section.
(User Variables, Program and Library Variables): @xref it.

19 years ago* doc/automake.texi (Conditional Subdirectories): More comments
Alexandre Duret-Lutz [Wed, 24 Nov 2004 22:44:17 +0000 (22:44 +0000)]
* doc/automake.texi (Conditional Subdirectories): More comments
about non-distributed subdirectories.

19 years ago* Makefile.am (maintainer-clean): Check for unescaped @ in manual.
Alexandre Duret-Lutz [Wed, 24 Nov 2004 21:07:56 +0000 (21:07 +0000)]
* Makefile.am (maintainer-clean): Check for unescaped @ in manual.

19 years ago* doc/automake.texi (Built sources example): Fix typo.
Alexandre Duret-Lutz [Wed, 24 Nov 2004 21:03:59 +0000 (21:03 +0000)]
* doc/automake.texi (Built sources example): Fix typo.

19 years ago* aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
Alexandre Duret-Lutz [Mon, 22 Nov 2004 00:03:29 +0000 (00:03 +0000)]
* aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
--help or --version.
* automake.in (parse_arguments): Likewise.
* tests/aclocal.test, tests/automake.test: Check this.
Report from Eric Blake.

19 years ago* automake.in (parse_arguments): Diagnose empty arguments, options
Alexandre Duret-Lutz [Sun, 21 Nov 2004 23:31:45 +0000 (23:31 +0000)]
* automake.in (parse_arguments): Diagnose empty arguments, options
with missing argument, and support `--'.
* aclocal.in (parse_arguments): Diagnose options with missing
argument.
* tests/aclocal.test: More checks.
* tests/automake.test: New file.
* tests/postprog.test: Use `--' for fun.
* tests/Makefile.am (TESTS): Add automake.test.
Report from Eric Blake.

19 years ago* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
Alexandre Duret-Lutz [Sun, 21 Nov 2004 19:54:43 +0000 (19:54 +0000)]
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
/dev/null as input, so we do not hang on programs that read their
input without supporting --help and --version.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
* tests/gnits2.test: Change scriptnok.sh to cat its input.
Report and fix from James Youngman.

19 years ago* aclocal.in (%file_seen): Rename as ...
Alexandre Duret-Lutz [Sun, 21 Nov 2004 19:53:05 +0000 (19:53 +0000)]
* aclocal.in (%file_seen): Rename as ...
(%file_added): ... this, and move it close to add_file(), the only
function that uses it.

19 years ago* aclocal.in (version): Remove initial blank line and reproduce
Alexandre Duret-Lutz [Wed, 17 Nov 2004 22:46:05 +0000 (22:46 +0000)]
* aclocal.in (version): Remove initial blank line and reproduce
the layout of automake --version.  From Art Haas.

19 years ago* aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
Alexandre Duret-Lutz [Wed, 17 Nov 2004 22:36:54 +0000 (22:36 +0000)]
* aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
(scan_m4_dirs): New function, extracted from ...
(scan_m4_files): ... here.  Call scan_m4_files three times, for each
FT_ constant.
(scan_file): Take a file type argument to update %file_type.
(write_aclocal): Do not m4_include files that are not of type FT_USER.
* tests/dirlist.test: Make sure m4_include is not used for --acdir
files.

19 years ago* tests/defs.in (testaclocaldir): New variable.
Alexandre Duret-Lutz [Wed, 17 Nov 2004 22:13:33 +0000 (22:13 +0000)]
* tests/defs.in (testaclocaldir): New variable.
* tests/aclocal.test: Use it to fix the test.  Report from
Patrick Welche.

19 years ago* m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
Alexandre Duret-Lutz [Wed, 10 Nov 2004 20:12:34 +0000 (20:12 +0000)]
* m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
is found (this worked correctly only when a minimal version was
passed to AM_PATH_PYTHON).  Report from Stepan Kasal.
(_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
so we can easily override the list from the test suite.
* tests/python11.test: New file.
* tests/Makefile.am (TESTS): Add python11.test.

19 years ago* doc/automake.texi (Libtool Modules): Make clearer that -module
Alexandre Duret-Lutz [Tue, 9 Nov 2004 23:39:58 +0000 (23:39 +0000)]
* doc/automake.texi (Libtool Modules): Make clearer that -module
should appear explicitly in _LDFLAGS.

19 years ago* aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
Alexandre Duret-Lutz [Tue, 9 Nov 2004 20:24:42 +0000 (20:24 +0000)]
* aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
* tests/aclocal.test: Check --print-ac-dir and a unknown option.

19 years ago* aclocal.in (parse_arguments): Fix detection of unexisting default
Alexandre Duret-Lutz [Tue, 9 Nov 2004 10:23:03 +0000 (10:23 +0000)]
* aclocal.in (parse_arguments): Fix detection of unexisting default
$(datadir)/aclocal.  Report from Akim.

19 years ago* aclocal.in ($acdir): Rename as ...
Alexandre Duret-Lutz [Sun, 7 Nov 2004 23:25:32 +0000 (23:25 +0000)]
* aclocal.in ($acdir): Rename as ...
(@system_includes): ... this.
(@user_includes, @automake_includes): New variables.
($default_acdir, $default_dirlist): Remove.
(parse_arguments): Populate @user_includes, @automake_includes, and
@system_includes instead of filling a unique @dirlist array.
("MAIN"): Adjust to scan m4 files in @user_includes,
@automake_includes, and @system_includes.

19 years ago* aclocal.in (parse_arguments): Correct comment. From Akim.
Alexandre Duret-Lutz [Sat, 6 Nov 2004 21:10:38 +0000 (21:10 +0000)]
* aclocal.in (parse_arguments): Correct comment.  From Akim.

19 years ago* aclocal.in: Use Automake::ChannelDefs, and adjust all output
Alexandre Duret-Lutz [Thu, 4 Nov 2004 22:19:41 +0000 (22:19 +0000)]
* aclocal.in: Use Automake::ChannelDefs, and adjust all output
to be done via `fatal', `msg', `verb', or `prog_error'.
(version): New function.
(parse_arguments): Rewrite using Getopt::Long, call &version, and
honor -W and --warning.
($verbose): Remove.
(trace_used_macros): Do not trace the first arguments of macros
for which we do not need it.  This caused failures because of
unexpected newlines in the output.
* doc/automake.texi (aclocal options): Document -W and --warning.
* tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl
warnings about uninitialized variables.

19 years ago* tests/defs.in: Do not distinguish VERBOSE=x from
Alexandre Duret-Lutz [Wed, 3 Nov 2004 21:49:39 +0000 (21:49 +0000)]
* tests/defs.in: Do not distinguish VERBOSE=x from
VERBOSE=anything_but_x, always turn on shell traces.

19 years ago* aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
Alexandre Duret-Lutz [Wed, 3 Nov 2004 21:40:25 +0000 (21:40 +0000)]
* aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
before using it.  Suppress a warning observable in test/acloca16.test.
Report from Ralf Wildenhues.

19 years ago* lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
Alexandre Duret-Lutz [Mon, 1 Nov 2004 17:35:37 +0000 (17:35 +0000)]
* lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
before inspecting it; this fixes "uninitialized value in
concatenation" diagnostics when flock fails.
Report from Gary V. Vaughan.

19 years ago* aclocal.in: Use strict and -w. Declare local variables with `my',
Alexandre Duret-Lutz [Mon, 1 Nov 2004 12:51:34 +0000 (12:51 +0000)]
* aclocal.in: Use strict and -w.  Declare local variables with `my',
and get rid of `local'.
(scan_m4_files, add_macro): Reindent these functions while we are
at it.

19 years ago* lib/config.guess, lib/texinfo.tex: New upstream versions.
Alexandre Duret-Lutz [Mon, 1 Nov 2004 09:58:39 +0000 (09:58 +0000)]
* lib/config.guess, lib/texinfo.tex: New upstream versions.

19 years ago* doc/automake.texi (LIBOBJS): Spelling and grammar corrections
Alexandre Duret-Lutz [Mon, 1 Nov 2004 09:55:35 +0000 (09:55 +0000)]
* doc/automake.texi (LIBOBJS): Spelling and grammar corrections
from Ralf Wildenhues.

19 years ago* doc/automake.texi (LIBOBJS): Augment with an example setup.
Alexandre Duret-Lutz [Sun, 31 Oct 2004 22:12:11 +0000 (22:12 +0000)]
* doc/automake.texi (LIBOBJS): Augment with an example setup.
(LTLIBOBJ): Rename as ...
(LTLIBOBJS): ... this.  Link to LIBOBJS, and mention LTALLOCA.

19 years ago* doc/automake.texi: Untabify, tabs in the examples are poorly
Alexandre Duret-Lutz [Mon, 25 Oct 2004 18:59:54 +0000 (18:59 +0000)]
* doc/automake.texi: Untabify, tabs in the examples are poorly
rendered.
* Makefile.am (maintainer-check): Grep tabs in the manual.

19 years ago* tests/comment8.test: Use $MAKE, not make.
Alexandre Duret-Lutz [Mon, 25 Oct 2004 18:52:45 +0000 (18:52 +0000)]
* tests/comment8.test: Use $MAKE, not make.

19 years ago* tests/distcom3.test: Typo.
Alexandre Duret-Lutz [Sat, 23 Oct 2004 23:10:58 +0000 (23:10 +0000)]
* tests/distcom3.test: Typo.

19 years ago* doc/automake.texi (Libtool Convenience Libraries): Explain how
Alexandre Duret-Lutz [Fri, 22 Oct 2004 20:00:05 +0000 (20:00 +0000)]
* doc/automake.texi (Libtool Convenience Libraries): Explain how
to force the linker selection.

19 years ago* lib/install-sh: Fix the dirname emulation to ignore trailing
Alexandre Duret-Lutz [Fri, 22 Oct 2004 06:45:08 +0000 (06:45 +0000)]
* lib/install-sh: Fix the dirname emulation to ignore trailing
slashes, i.e., the direname of `a/b/' is `a', not `a/b/'.  This
caused `install-sh a/b/' to fail.
* tests/instsh2.test: Augment.
Report from Пухальский Юрий Андреевич.

19 years ago* automake.in (get_object_extension): The extension to use is know
Alexandre Duret-Lutz [Thu, 21 Oct 2004 21:37:41 +0000 (21:37 +0000)]
* automake.in (get_object_extension): The extension to use is know
by the caller, and cannot be selected by looking only at the
target name.  Simplify this function to simply conditionally
prepend $U to the given extension.
(handle_programs, handle_libraries, handle_ltlibraries): Hard-code
the extension to use.  This way Automake won't mistake a program
named `foo.la' as a libtool library.
* tests/primary3.test: New file.
* tests/Makefile.am (TESTS): Add primary3.test.

19 years ago* doc/automake.texi (Install): Link to node Extending for examples.
Alexandre Duret-Lutz [Tue, 12 Oct 2004 19:56:04 +0000 (19:56 +0000)]
* doc/automake.texi (Install): Link to node Extending for examples.
(Extending): More comments about install-data-hook vs
install-exec-hook, and link to Install.

19 years ago* configure.ac: Export @am_AUTOCONF@.
Alexandre Duret-Lutz [Tue, 12 Oct 2004 19:39:08 +0000 (19:39 +0000)]
* configure.ac: Export @am_AUTOCONF@.
* tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
so the test suite runs `autoconf' and not `missing --run autoconf'.
* tests/missing.test, tests/missing2.test: Arrange for missing
to be used in front of autoconf even if the user has exported
AUTOCONF.  This fixes two spurious failures reported by
Mark D. Baushke.

19 years ago* lib/compile: Handle output.obj in addition to output.o.
Alexandre Duret-Lutz [Tue, 12 Oct 2004 07:02:44 +0000 (07:02 +0000)]
* lib/compile: Handle output.obj in addition to output.o.
* tests/compile.test: Check for this.

19 years ago* doc/automake.texi (Sources): Typo, reported by Karl Berry.
Alexandre Duret-Lutz [Mon, 11 Oct 2004 18:48:02 +0000 (18:48 +0000)]
* doc/automake.texi (Sources): Typo, reported by Karl Berry.

19 years ago* aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
Alexandre Duret-Lutz [Sun, 10 Oct 2004 17:03:45 +0000 (17:03 +0000)]
* aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
(trace_used_macros): Trace AC_DEFUN_ONCE.
* tests/aclocal5.test: Use AC_DEFUN_ONCE.

19 years ago* doc/automake.texi (Extending): Typo.
Alexandre Duret-Lutz [Sun, 10 Oct 2004 15:58:07 +0000 (15:58 +0000)]
* doc/automake.texi (Extending): Typo.

19 years ago* m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
Alexandre Duret-Lutz [Sun, 10 Oct 2004 15:52:02 +0000 (15:52 +0000)]
* m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
* automake.in (cppasm): Use the dependency tracking more for CCAS.
* doc/automake.texi (Assembly Support): Note that *.S are
preprocessed with CPPFLAGS.

19 years ago* automake.in (Languages): Split .s (asm) and .S (cppasm) into
Alexandre Duret-Lutz [Sun, 10 Oct 2004 15:35:09 +0000 (15:35 +0000)]
* automake.in (Languages): Split .s (asm) and .S (cppasm) into
separate languages.  Make cppasm (Preprocessed Assembler) aware
of CPPFLAGS, AM_CPPFLAGS.
(handle_languages): Fix typo.
(lang_cppasm_rewrite): New function.

19 years ago* tests/subobj9.test: Adjust regexes after previous patch.
Alexandre Duret-Lutz [Tue, 28 Sep 2004 22:19:20 +0000 (22:19 +0000)]
* tests/subobj9.test: Adjust regexes after previous patch.

19 years ago* automake.in (handle_languages, define_compiler_variable): Output
Alexandre Duret-Lutz [Tue, 28 Sep 2004 22:02:34 +0000 (22:02 +0000)]
* automake.in (handle_languages, define_compiler_variable): Output
Libtool's --tag= option before --mode=compile, because depcomp use
--mode=compile as end marker for libtool arguments.
(define_linker_variable): Likewise before --mode=link, for
uniformity.
* tests/pr307.test: Make sure dependency files are updated.  That
was not the case because depcomp thought `--tag=CC' was the
compiler to get dependencies from.
Report from Пухальский Юрий Андреевич.

19 years agomore files to ignore
Alexandre Duret-Lutz [Sun, 26 Sep 2004 21:16:56 +0000 (21:16 +0000)]
more files to ignore

19 years ago* configure.ac: Require Perl 5.6.
Alexandre Duret-Lutz [Sun, 26 Sep 2004 21:11:34 +0000 (21:11 +0000)]
* configure.ac: Require Perl 5.6.
* lib/Automake/Config.in: Require Perl 5.6 (not done in
lib/Automake/General.pm because it is shared with Autoconf),
and use `our' instead of `use vars'.
* aclocal.in (rel2abs): Remove.
(scan_configure_dep): Use File::Spec->rel2abs instead.

19 years ago* tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
Alexandre Duret-Lutz [Sun, 26 Sep 2004 20:33:50 +0000 (20:33 +0000)]
* tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
two consecutive spaces in filename instead of one, to catch mistake
like `echo $val | ...`.
* tests/README: Suggest this.
Suggested by Ralf Wildenhues.

19 years ago* doc/automake.texi (Clean): Document -local targets.
Alexandre Duret-Lutz [Sat, 25 Sep 2004 20:50:29 +0000 (20:50 +0000)]
* doc/automake.texi (Clean): Document -local targets.

19 years ago* doc/automake.texi: Typos.
Alexandre Duret-Lutz [Sat, 25 Sep 2004 20:29:21 +0000 (20:29 +0000)]
* doc/automake.texi: Typos.

19 years ago* doc/automake.texi (Timeline): Typos and other English mistakes
Alexandre Duret-Lutz [Wed, 22 Sep 2004 06:00:05 +0000 (06:00 +0000)]
* doc/automake.texi (Timeline): Typos and other English mistakes
reported by Jim and Gary.

19 years ago* doc/automake.texi (Timeline): Typos and other English mistakes
Alexandre Duret-Lutz [Tue, 21 Sep 2004 19:39:18 +0000 (19:39 +0000)]
* doc/automake.texi (Timeline): Typos and other English mistakes
reported by Jim and Gary.

19 years ago* lib/Automake/VarDef.pm (append): Strip comments from augmented
Alexandre Duret-Lutz [Tue, 21 Sep 2004 19:26:05 +0000 (19:26 +0000)]
* lib/Automake/VarDef.pm (append): Strip comments from augmented
variables.
* tests/comment8.test: New file.
* tests/Makefile.am (TESTS): Add comment8.test.
Report from Stepan Kasal.

19 years agoFix ChangeLog.
Akim Demaille [Mon, 20 Sep 2004 07:36:39 +0000 (07:36 +0000)]
Fix ChangeLog.

19 years ago* tests/compile.test: Fix rm usage.
Alexandre Duret-Lutz [Sun, 19 Sep 2004 21:42:09 +0000 (21:42 +0000)]
* tests/compile.test: Fix rm usage.

19 years ago* INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
Alexandre Duret-Lutz [Sun, 19 Sep 2004 21:34:37 +0000 (21:34 +0000)]
* INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
lib/texinfo.tex: New upstream versions.

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.