platform/upstream/automake.git
19 years ago* lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
Alexandre Duret-Lutz [Tue, 29 Mar 2005 18:46:55 +0000 (18:46 +0000)]
* lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
rule is run with `make -j'.
* doc/automake.texi (Multiple Outputs): Adjust.
* tests/lisp6.test: Augment it.
* tests/lisp8.test: New file.
* tests/Makefile.am (TESTS): Add lisp8.test.
Suggested by Bruno Haible.

19 years ago* doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
Alexandre Duret-Lutz [Sun, 27 Mar 2005 12:39:17 +0000 (12:39 +0000)]
* doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.

19 years ago* lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
Alexandre Duret-Lutz [Wed, 16 Mar 2005 00:10:32 +0000 (00:10 +0000)]
* lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
a missing *.elc file if it cannot be created because emacs does
not exist.
* tests/lisp7.test: New file.
* tests/Makefile.am (TESTS): Add lisp7.test.
Report from Greg Schafer.

19 years ago* doc/automake.texi: Replace wicked whiches by thats.
Alexandre Duret-Lutz [Sat, 5 Mar 2005 16:36:54 +0000 (16:36 +0000)]
* doc/automake.texi: Replace wicked whiches by thats.

19 years ago* aclocal.in (scan_configure_dep, scan_file): Include file names
Alexandre Duret-Lutz [Fri, 4 Mar 2005 20:36:04 +0000 (20:36 +0000)]
* aclocal.in (scan_configure_dep, scan_file): Include file names
are relative to the directory of configure.ac, not to the
directory of the file doing the include.  Remove code for this
latter case.
* tests/acloca13.test: Run distcheck and make sure all macros are
actually distributed.

19 years agoFor PR automake/450:
Alexandre Duret-Lutz [Thu, 3 Mar 2005 21:35:44 +0000 (21:35 +0000)]
For PR automake/450:
* aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
files.
* automake.in (scan_autoconf_traces): Likewise.
* tests/sinclude.test: Augment.
Report from Peter Breitenlohner.

19 years agoFor PR automake/450:
Alexandre Duret-Lutz [Thu, 3 Mar 2005 21:00:20 +0000 (21:00 +0000)]
For PR automake/450:
* aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
acinclude.m4 and configure.ac to the include map in these two
places ...
(strip_redundant_includes): ... do it here.  This completes the
previous change from 2005-03-01, that did not update
write_aclocal.
* tests/acloca19.test: Augment.
Report from Peter Breitenlohner.

19 years ago* tests/comment9.test: Typo.
Alexandre Duret-Lutz [Wed, 2 Mar 2005 10:31:47 +0000 (10:31 +0000)]
* tests/comment9.test: Typo.

19 years ago* automake.in (read_am_file): Preserve backslashes preceding ##-lines.
Alexandre Duret-Lutz [Tue, 1 Mar 2005 23:04:40 +0000 (23:04 +0000)]
* automake.in (read_am_file): Preserve backslashes preceding ##-lines.
* tests/comment9.test: New file.
* tests/Makefile.am (TESTS): Add comment9.test.
Report from Julien Sopena.

19 years agoFix for PR automake/450:
Alexandre Duret-Lutz [Tue, 1 Mar 2005 22:17:30 +0000 (22:17 +0000)]
Fix for PR automake/450:
* aclocal.in (trace_used_macros): Do not explicitly trace files
included by configure.ac.
* tests/acloca19.test: New file.
* tests/Makefile.am (TESTS): Add acloca19.test.
Report from Peter Breitenlohner.

19 years agoFix for PR automake/448:
Alexandre Duret-Lutz [Sun, 27 Feb 2005 18:08:30 +0000 (18:08 +0000)]
Fix for PR automake/448:
* automake.in (handle_factored_dependencies): Flag install-hook as
an error.
* tests/insthook.test: Exercise this.

19 years ago* m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
Alexandre Duret-Lutz [Sun, 27 Feb 2005 00:24:31 +0000 (00:24 +0000)]
* m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
* doc/automake.texi (Hard-Coded Install Paths): Adjust.

19 years ago* doc/automake.texi: Replace many uses of @samp by @code, and
Alexandre Duret-Lutz [Sun, 27 Feb 2005 00:09:04 +0000 (00:09 +0000)]
* doc/automake.texi: Replace many uses of @samp by @code, and
vice versa.  Use @command, @option, and @env where appropriate.

19 years ago* doc/automake.texi: "filename" -> "file name", for consistency
Alexandre Duret-Lutz [Sat, 26 Feb 2005 21:32:18 +0000 (21:32 +0000)]
* doc/automake.texi: "filename" -> "file name", for consistency
with GNU Coding Standards.  See also Paul's change on 2004-08-20
in Autoconf.

19 years ago* doc/automake.texi (A Library, Libtool Libraries): Show how to link
Alexandre Duret-Lutz [Sat, 26 Feb 2005 21:21:28 +0000 (21:21 +0000)]
* doc/automake.texi (A Library, Libtool Libraries): Show how to link
a program with a static or libtool library.
(Program and Library Variables): Make clearer that _LDADD and
_LIBADD may also list libraries.
Prompted by a mail from Bruce Korb.

19 years ago* doc/automake.texi (Alternative): Show how to rewrite nobase_
Alexandre Duret-Lutz [Sat, 26 Feb 2005 10:33:10 +0000 (10:33 +0000)]
* doc/automake.texi (Alternative): Show how to rewrite nobase_
variables using custom directory variables, and link to node
Uniform.  Suggested by Leonardo Boiko.

19 years ago* doc/automake.texi (Flag Variables Ordering, User Variables):
Alexandre Duret-Lutz [Sat, 26 Feb 2005 10:05:19 +0000 (10:05 +0000)]
* doc/automake.texi (Flag Variables Ordering, User Variables):
Make clearer who the maintainer is, and that he can AC_SUBST AM_
variables in configure.ac.  Suggested by Norman Gray.
(Uniform, Public macros, Libtool Issues, Java Support,
Conditionals): Use `---' for em dash, and stick them to the
enclosing text.

19 years ago* doc/automake.texi: Reword a few sentences to fix all underflow
Alexandre Duret-Lutz [Sat, 26 Feb 2005 01:09:48 +0000 (01:09 +0000)]
* doc/automake.texi: Reword a few sentences to fix all underflow
and overflow warnings during `make dvi'.
(Auxiliary Programs) <configure.guess, config.sub>: Update URL.
(Public macros) <AM_WITH_DMALLOC>: Likewise.

19 years ago* lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
Alexandre Duret-Lutz [Sat, 12 Feb 2005 22:42:14 +0000 (22:42 +0000)]
* lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
lib/texinfo.tex: New upstream versions.

19 years ago* doc/automake.texi (Hard-Coded Install Paths): New node.
Alexandre Duret-Lutz [Sat, 12 Feb 2005 21:24:34 +0000 (21:24 +0000)]
* doc/automake.texi (Hard-Coded Install Paths): New node.
(Extending, Extending aclocal, Python): Link to it.
(Extending): Don't show how to install a file in /etc/ directly,
this is insane.

19 years ago* automake.in (read_am_file): Define variable containing long
Alexandre Duret-Lutz [Sat, 12 Feb 2005 11:42:25 +0000 (11:42 +0000)]
* automake.in (read_am_file): Define variable containing long
lines as VAR_PRETTY to work around tools with limited input width.
* tests/longlin2.test: New file.
* tests/Makefile.am (TESTS): Add it.
Report from Albert Chin.

19 years agoFix for PR automake/447:
Alexandre Duret-Lutz [Wed, 9 Feb 2005 21:45:42 +0000 (21:45 +0000)]
Fix for PR automake/447:
* lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
Report from Mathias Doreille.  Add some old comments from
Nicolas Joly for reference.

19 years ago* lib/mdate-sh: Check the size of the word following the month to
Alexandre Duret-Lutz [Tue, 8 Feb 2005 23:06:44 +0000 (23:06 +0000)]
* lib/mdate-sh: Check the size of the word following the month to
catch Darwin.  This way the filename can contain spaces.

19 years ago* doc/automake.texi (Requirements, Options): Typos.
Alexandre Duret-Lutz [Tue, 8 Feb 2005 21:41:17 +0000 (21:41 +0000)]
* doc/automake.texi (Requirements, Options): Typos.

19 years ago* lib/missing (makeinfo): Compute the output file if neither -o
Alexandre Duret-Lutz [Tue, 8 Feb 2005 21:22:48 +0000 (21:22 +0000)]
* lib/missing (makeinfo): Compute the output file if neither -o
nor @setfilename is used.
Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.

19 years ago* doc/automake.texi (Requirements): Show one example of
Alexandre Duret-Lutz [Mon, 7 Feb 2005 22:48:57 +0000 (22:48 +0000)]
* doc/automake.texi (Requirements): Show one example of
AC_CONFIG_FILES with multiple outputs, and correct a few typos.

19 years ago* aclocal.in ($serial_line_rx): Expect at least one space between
Alexandre Duret-Lutz [Mon, 7 Feb 2005 10:01:08 +0000 (10:01 +0000)]
* aclocal.in ($serial_line_rx): Expect at least one space between
`serial' and the following number.
Report from Jim Meyering.

19 years ago* lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
Alexandre Duret-Lutz [Mon, 7 Feb 2005 08:31:59 +0000 (08:31 +0000)]
* lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
Report from Peter O'Gorman.

19 years ago* aclocal.in (usage, parse_arguments): New --dry-run and --diff
Alexandre Duret-Lutz [Sun, 6 Feb 2005 12:33:32 +0000 (12:33 +0000)]
* aclocal.in (usage, parse_arguments): New --dry-run and --diff
options.
(install_file, write_aclocal): Honor --dry-run and --diff.
* doc/automake.texi (aclocal options): Document --dry-run and --diff.
(Serials): Mention --diff.
* lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
$expected_exit_code argument.
(xsystem): Take a list of arguments, not a string.
* tests/acloca18.test: Use --dry-run and --diff.
Suggested by Paul Eggert.

19 years ago* doc/automake.texi (aclocal options, Macro search path,
Alexandre Duret-Lutz [Sun, 6 Feb 2005 10:32:59 +0000 (10:32 +0000)]
* doc/automake.texi (aclocal options, Macro search path,
Extending aclocal, Local Macros, Serials, Future of aclocal): Make
these subsection of ...
(Invoking aclocal): ... this.

19 years ago* aclocal.in ($serial_line_rx): Allow trailing garbage after the
Alexandre Duret-Lutz [Sun, 6 Feb 2005 10:22:29 +0000 (10:22 +0000)]
* aclocal.in ($serial_line_rx): Allow trailing garbage after the
serial number.
(scan_file): Explicitly mark the "ill-formed serial" message
as a warning.
* doc/automake.texi (aclocal options, Local Macros): Link to...
(Serials): ... this new section.

19 years ago* lib/compile: Likewise.
Alexandre Duret-Lutz [Thu, 3 Feb 2005 07:36:19 +0000 (07:36 +0000)]
* lib/compile: Likewise.

19 years ago* lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
Alexandre Duret-Lutz [Wed, 2 Feb 2005 21:08:46 +0000 (21:08 +0000)]
* lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
see 2004-12-17.
* lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
status if a write failure occurs with --help or --version option,
as below.

19 years ago* lib/depcomp: Exit with nonzero status if a write failure occurs
Alexandre Duret-Lutz [Wed, 2 Feb 2005 20:58:58 +0000 (20:58 +0000)]
* lib/depcomp: Exit with nonzero status if a write failure occurs
with --help or --version option.
* lib/elisp-comp: Likewise.
* lib/gnupload: Likewise.
* lib/install-sh: Likewise.
* lib/missing: Likewise.
* lib/mkinstalldirs: Likewise.

19 years ago* doc/automake.texi (aclocal options): Typo.
Alexandre Duret-Lutz [Tue, 1 Feb 2005 20:51:24 +0000 (20:51 +0000)]
* doc/automake.texi (aclocal options): Typo.

19 years ago* aclocal.in (list_compare): New functions.
Alexandre Duret-Lutz [Mon, 31 Jan 2005 23:41:10 +0000 (23:41 +0000)]
* aclocal.in (list_compare): New functions.
(scan_file): Honor #serial lines.
* tests/acloca18.test: New test.
* tests/Makefile.am (TESTS): Add it.
* doc/automake.texi (aclocal options, Local Macros): Document
#serial.

19 years agoPreliminary support for `aclocal --install'.
Alexandre Duret-Lutz [Sun, 30 Jan 2005 17:47:39 +0000 (17:47 +0000)]
Preliminary support for `aclocal --install'.
This still lacks #serial support.
* aclocal.in (reset_maps, install_file): New functions.
(write_aclocal): Copy files if --install.
(usage, parse_arguments): Recognize --install.
("MAIN"): Start aclocal again if some file were installed.
* tests/acloca10.test: Augment to test --install.
* tests/aclocal.in, tests/defs.in: Add support for
ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
* doc/automake.texi (aclocal options, Local Macros): Document
--install.
(Future of aclocal): Adjust.

19 years ago* doc/automake.texi (Macro search path): Using --acdir is not
Alexandre Duret-Lutz [Sun, 30 Jan 2005 12:44:48 +0000 (12:44 +0000)]
* doc/automake.texi (Macro search path): Using --acdir is not
obvious, it's erroneous.

19 years ago* doc/automake.texi (direntry): Let `info Automake' point to the
Alexandre Duret-Lutz [Sun, 30 Jan 2005 11:38:52 +0000 (11:38 +0000)]
* doc/automake.texi (direntry): Let `info Automake' point to the
manual, and `info automake' to the `Invoking automake' node.  Like
in Autoconf.

19 years ago* lib/Automake/Configure_ac.pm: s/filename/file_name/g.
Akim Demaille [Thu, 27 Jan 2005 09:25:45 +0000 (09:25 +0000)]
* lib/Automake/Configure_ac.pm: s/filename/file_name/g.
From Paul Eggert.

19 years ago* lib/Automake/FileUtils.pm: Rename filename as file_name to be
Akim Demaille [Mon, 24 Jan 2005 17:03:54 +0000 (17:03 +0000)]
* lib/Automake/FileUtils.pm: Rename filename as file_name to be
consistent with the terminology of the GNU coding standards.
From Paul Eggert.
(update_file): Accept a $force argument, so that --force always
updates the time stamps.

19 years ago* doc/automake.texi (How the Linker is Chosen): Explain how the
Alexandre Duret-Lutz [Sun, 23 Jan 2005 22:19:36 +0000 (22:19 +0000)]
* doc/automake.texi (How the Linker is Chosen): Explain how the
linker is chosen without diagram, and update to match the code.
Suggestion from Adrian Bunk.

19 years ago* lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
Alexandre Duret-Lutz [Sun, 16 Jan 2005 00:36:54 +0000 (00:36 +0000)]
* lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
Process all words of $MAKEFLAGS when checking for -k.
* tests/check4.test: New file.
* tests/Makefile.am (TESTS): Add check4.test.
Report from Eric Blake.

19 years ago* m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
Alexandre Duret-Lutz [Thu, 13 Jan 2005 20:01:00 +0000 (20:01 +0000)]
* m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
AM_INIT_AUTOMAKE if the version passed is incorrect.
* tests/version8.test: New file.
* tests/Makefile.am (TESTS): Add version8.test.

19 years ago* m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
Alexandre Duret-Lutz [Sun, 9 Jan 2005 14:46:22 +0000 (14:46 +0000)]
* m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
license that is used in aclocal.m4.  Relicensing backed by RMS.

19 years ago* doc/automake.texi (A Library, LIBOBJS): Mention that empty
Alexandre Duret-Lutz [Sun, 9 Jan 2005 12:06:08 +0000 (12:06 +0000)]
* doc/automake.texi (A Library, LIBOBJS): Mention that empty
libraries are not portable.

19 years agoTypo.
Akim Demaille [Fri, 7 Jan 2005 15:02:04 +0000 (15:02 +0000)]
Typo.

19 years ago* aclocal.in ($ac_defun_rx): Match AU_ALIAS.
Alexandre Duret-Lutz [Wed, 5 Jan 2005 19:04:08 +0000 (19:04 +0000)]
* aclocal.in ($ac_defun_rx): Match AU_ALIAS.
* tests/aclocal5.test (MORE_DEFS): Rename as...
(AM_TEST_SUBST): this so that undefined macros are caught.
And make it an alias of AC_SUBST.
Test AU_ALIAS.
Reported by Martin Bravenboer.

19 years agoFix handling of per-target flags in link rules.
Alexandre Duret-Lutz [Mon, 3 Jan 2005 21:32:19 +0000 (21:32 +0000)]
Fix handling of per-target flags in link rules.
* automake.in (define_per_target_linker_variable): New function.
(handle_programs, handle_ltlibraries): Use it.
(%link_languages): New map.
(register_language): Fill it.
* lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
$(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
define_per_target_linker_variable if needed.
* lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
$(%XPROGRAM%_LDFLAGS).
* doc/automake.texi (Program and Library Variables): Mention
AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
and maude_LIBTOOLFLAGS.
* tests/libtool9.test: New file.
* tests/Makefile.am (TESTS): Add it.
* NEWS: Explain the backward incompatibility.
Report from Akim Demaille.

19 years ago* doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
Alexandre Duret-Lutz [Sat, 1 Jan 2005 17:19:14 +0000 (17:19 +0000)]
* doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
specifications with shell variables.
(Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
AC_CONFIG_FILES for this explanation.
* automake.in (substitute_ac_subst_variables_worker,
substitute_ac_subst_variables): Mew functions.
(rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
to ignore dependencies that contain unAC_SUBSTed shell variables.
(handle_configure): Likewise, do not output rules for
AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
unAC_SUBSTed contain shell variables.
* tests/autohdr4.test: Use an AC_SUBST variable in a specification.
* tests/output11.test, tests/output12.test: New files.
* tests/Makefile.am (TESTS): Add output11.test and output12.test.

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.