platform/upstream/automake.git
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.

20 years agoFor PR automake/414:
Alexandre Duret-Lutz [Mon, 19 Apr 2004 23:20:08 +0000 (23:20 +0000)]
For PR automake/414:
Introduce options tar-v7, tar-ustar, and tar-pax to select
tar format.
* doc/automake.texi (Options): Document them.
* lib/Automake/Options.pm (_process_option_list): Process
these new options.
* lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
distcheck): Adjust to use am__tar and am__untar.
* m4/tar.m4: New file.
* m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
* m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
and call _AM_PROG_TAR.
* tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
* tests/Makefile.am (TESTS): Add them.

20 years ago* lib/am/distdir.am (distcheck): Typo in shar decompression.
Alexandre Duret-Lutz [Sun, 18 Apr 2004 18:36:40 +0000 (18:36 +0000)]
* lib/am/distdir.am (distcheck): Typo in shar decompression.

20 years ago* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
Alexandre Duret-Lutz [Sun, 18 Apr 2004 10:58:10 +0000 (10:58 +0000)]
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.

20 years agoFix PR automake/49:
Alexandre Duret-Lutz [Sat, 17 Apr 2004 18:46:06 +0000 (18:46 +0000)]
Fix PR automake/49:
* automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
* tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
before AM_INIT_AUTOMAKE.
* tests/auxdir3.test: New file (exercise this diagnostic).
* tests/Makefile.am (TESTS): Add auxdir3.test.

20 years ago* aclocal.in (%map_traced_defs): New variable.
Alexandre Duret-Lutz [Thu, 15 Apr 2004 07:51:47 +0000 (07:51 +0000)]
* aclocal.in (%map_traced_defs): New variable.
(scan_m4_files): Normalize filenames.
(trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
ask for the filename and the first argument.  Populate
%map_traced_defs.
(write_aclocal): Use $map_traced_defs to filter out unused
definitions.
* tests/acloca15.test: New file.
* tests/Makefile.am (TESTS): Add acloca15.test.

20 years ago* automake.in ($automake_needs_to_reprocess_all_files): Remove.
Alexandre Duret-Lutz [Mon, 12 Apr 2004 22:16:22 +0000 (22:16 +0000)]
* automake.in ($automake_needs_to_reprocess_all_files): Remove.
($automake_will_process_aux_dir): New variable.
(scan_autoconf_traces): Reorder @input_files so that the Makefile
that distributes aux files is processed last.  This way we do not
have to process all files twice using
$automake_will_process_aux_dir.
(require_file_internal): Suggest a full run of automake when
appropriate.
(MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
* tests/distcom7.test: New file.
* tests/reqd2.test: Do not check for the "running more than two"
message.
* tests/Makefile.am (TESTS): Add distcom7.test.

20 years ago* automake.in (@config_aux_path, $config_aux_dir): Rename as ...
Alexandre Duret-Lutz [Mon, 12 Apr 2004 19:19:16 +0000 (19:19 +0000)]
* automake.in (@config_aux_path, $config_aux_dir): Rename as ...
($config_aux_dir, $am_config_aux_dir): ... these.
($config_aux_dir_set_in_configure_in): Rename as ...
($config_aux_dir_set_in_configure_ac): ... this.
(%require_file_found): Rename as ...
(%required_file_not_found): ... this.
(handle_languages, handle_texinfo_helper, handle_dist,
handle_configure, handle_emacs_lisp, handle_python,
scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
(scan_autoconf_traces): Call locate_aux_dir.
(locate_aux_dir): New function.
(@require_file_paths): Remove, not used anymore.
(require_file_internal): Look files in only one directory (instead
of @require_file_internal) passed in argument.
(require_file, require_conf_file): Pass the destination directory
to require_file_internal.

20 years agoFix for PR automake/416:
Alexandre Duret-Lutz [Mon, 12 Apr 2004 16:59:09 +0000 (16:59 +0000)]
Fix for PR automake/416:
* m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
remarks.
From Peter Seiderer.

20 years ago* aclocal.in, automake.in, configure.ac, Makefile.am,
Alexandre Duret-Lutz [Sat, 10 Apr 2004 17:18:01 +0000 (17:18 +0000)]
* aclocal.in, automake.in, configure.ac, Makefile.am,
tests/aclocal.in, tests/automake.in, tests/defs.in:
Use PATH_SEPARATOR from autoconf instead of ':'.

20 years ago* automake.in (handle_lib_objects): Pass the condition of
Alexandre Duret-Lutz [Fri, 9 Apr 2004 22:21:57 +0000 (22:21 +0000)]
* automake.in (handle_lib_objects): Pass the condition of
the variable definition to handle_LIBOBJS and handle_ALLOCA,
not the aggregated conditions.
* tests/Makefile.am (TESTS): Add libobj14.test.
* tests/libobj14.test: New file.
Report from Bill Davidson.

20 years agoBetter support for Fortran 9x.
Alexandre Duret-Lutz [Fri, 2 Apr 2004 07:14:27 +0000 (07:14 +0000)]
Better support for Fortran 9x.
* automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
* doc/automake.texi (Fortran 9x Support): New section.
* lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
* tests/compile_f90_c_cxx.test: New file.
* tests/ext.test: Add AC_PROG_FC.
* tests/f90only.test: New file.
* tests/link_f90_only.test: New file.
* tests/Makefile.am (TESTS): Add new tests.

20 years ago* lib/install-sh: If "mv -f" works, use it.
Paul Eggert [Fri, 2 Apr 2004 01:43:29 +0000 (01:43 +0000)]
* lib/install-sh: If "mv -f" works, use it.

20 years ago* m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
Alexandre Duret-Lutz [Fri, 26 Mar 2004 21:00:47 +0000 (21:00 +0000)]
* m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
set when $PYTHON has been set by the user.
From Esben Haabendal Soerensen.

20 years ago* doc/automake.texi (Default _SOURCES): Typo.
Alexandre Duret-Lutz [Mon, 22 Mar 2004 20:29:22 +0000 (20:29 +0000)]
* doc/automake.texi (Default _SOURCES): Typo.
(true): Correct _'s placement in example.
Report from Stepan Kasal.

20 years agoOverriding JAVAROOT is legitimate, do not warn about it.
Alexandre Duret-Lutz [Fri, 19 Mar 2004 20:34:28 +0000 (20:34 +0000)]
Overriding JAVAROOT is legitimate, do not warn about it.
* lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
* tests/java2.test: Run automake without -Wno-override.
Report from Simon Josefsson.

20 years ago* automake.in (handle_texinfo_helper): Typos in comment.
Alexandre Duret-Lutz [Sun, 14 Mar 2004 07:26:43 +0000 (07:26 +0000)]
* automake.in (handle_texinfo_helper): Typos in comment.

20 years ago* lib/config.guess: New upstream version.
Alexandre Duret-Lutz [Sun, 7 Mar 2004 16:52:55 +0000 (16:52 +0000)]
* lib/config.guess: New upstream version.

20 years agoFix for PR automake/285:
Alexandre Duret-Lutz [Sun, 7 Mar 2004 12:36:54 +0000 (12:36 +0000)]
Fix for PR automake/285:
* automake.in (handle_ltlibraries): Keep track of installation
directories for each condition, then define a $(am_TARGET_rpath)
variable to hold the -rpath flags of Libtool libraries conditionally
installed in different directories.
* lib/Automake/DisjConditions.pm (merge): New function.
* tests/libtool6.test: Adjust.
* tests/libtool8.test: New file.
* tests/Makefile.am (TEST): Add libtool8.test.

20 years ago* lib/Automake/Variable.pm (traverse_recursively,
Alexandre Duret-Lutz [Sun, 7 Mar 2004 09:24:21 +0000 (09:24 +0000)]
* lib/Automake/Variable.pm (traverse_recursively,
_do_recursive_traversal): Honor the skip_ac_subst option.
* automake.in (handle_dist): Use skip_ac_subst.

20 years ago* Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
Alexandre Duret-Lutz [Sun, 29 Feb 2004 22:28:39 +0000 (22:28 +0000)]
* Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
~ftp/automake.
* lib/gnupload (Example): Update example.

20 years ago* lib/config-ml.in, lib/config.guess, lib/config.sub,
Alexandre Duret-Lutz [Sun, 29 Feb 2004 21:40:09 +0000 (21:40 +0000)]
* lib/config-ml.in, lib/config.guess, lib/config.sub,
lib/texinfo.tex: New upstream versions.

20 years ago* m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
Alexandre Duret-Lutz [Sun, 29 Feb 2004 21:26:45 +0000 (21:26 +0000)]
* m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
to create numbered dependencies.  This fixes a portability issue
when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
Reported by Mark Phillips.

20 years ago* automake.in (lang_yacc_target_hook): Use Automake::Rule::define
Alexandre Duret-Lutz [Sun, 29 Feb 2004 19:10:21 +0000 (19:10 +0000)]
* automake.in (lang_yacc_target_hook): Use Automake::Rule::define
so that rules for the same headers are not output twice.
* lib/Automake/Variable.pm (value_as_list_recursive): Do not
call `return' inside `map'.
* tests/cond30.test: Make sure `a.c' and `b.c' both appear
in the Makefile.in.
* tests/cond35.test, tests/cond36.test: New files.
* tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
Report from Roman Fietze.

20 years agoFix for PR/413:
Alexandre Duret-Lutz [Sun, 29 Feb 2004 16:26:12 +0000 (16:26 +0000)]
Fix for PR/413:
* lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
077 && mkdir' instead of `$(mkdir_p)'.  This prevents possible
symlink attacks reported by Stefan Nordhausen.

20 years ago* doc/automake.texi (Multiple Outputs): More text, based on
Alexandre Duret-Lutz [Mon, 16 Feb 2004 21:21:04 +0000 (21:21 +0000)]
* doc/automake.texi (Multiple Outputs): More text, based on
comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.

20 years ago* m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
Alexandre Duret-Lutz [Sun, 15 Feb 2004 21:14:23 +0000 (21:14 +0000)]
* m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
Solaris 8's mkdir is not thread-safe.
* lib/mkinstalldirs: Likewise.
* lib/install-sh: Abort when mkdir fails to create a directory.
Report from Nathanael Nerode.

20 years ago* aclocal.in (rel2abs): New function.
Alexandre Duret-Lutz [Sat, 7 Feb 2004 13:45:32 +0000 (13:45 +0000)]
* aclocal.in (rel2abs): New function.
(scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
the later does was introduced in Perl 5.6 so using it breaks with
Perl 5.005.
Report from Werner John.

20 years ago* doc/automake.texi (Future of aclocal): Make clearer that
Alexandre Duret-Lutz [Tue, 3 Feb 2004 22:53:22 +0000 (22:53 +0000)]
* doc/automake.texi (Future of aclocal): Make clearer that
it's ok to install macros into /usr/share/aclocal/.

20 years ago* tests/lisp.test: Delete (pointless).
Alexandre Duret-Lutz [Sun, 1 Feb 2004 18:14:05 +0000 (18:14 +0000)]
* tests/lisp.test: Delete (pointless).
* tests/Makefile.am (TESTS): Remove lisp.test.

20 years ago* lib/Automake/Variable.pm (transform_variable_recursively):
Alexandre Duret-Lutz [Sun, 1 Feb 2004 18:06:51 +0000 (18:06 +0000)]
* lib/Automake/Variable.pm (transform_variable_recursively):
Define rewritten variables in all conditions not *covered* by user
definitions, not simply in conditions without a previous
definition.
* tests/cond34.test: New file.
* tests/Makefile.am (TESTS): Add cond34.test.
Report from Elena A. Vengerova

20 years ago* doc/automake.texi (Multiple Outputs): Typo.
Alexandre Duret-Lutz [Sun, 1 Feb 2004 16:28:50 +0000 (16:28 +0000)]
* doc/automake.texi (Multiple Outputs): Typo.

20 years ago* doc/automake.texi (Emacs Lisp): Typos.
Alexandre Duret-Lutz [Sun, 1 Feb 2004 12:58:06 +0000 (12:58 +0000)]
* doc/automake.texi (Emacs Lisp): Typos.

20 years agoSupport for conditional _LISP.
Alexandre Duret-Lutz [Sun, 1 Feb 2004 12:54:02 +0000 (12:54 +0000)]
Support for conditional _LISP.
* automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
from $(am__ELCFILES).
* lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
* tests/lisp6.test: New file.
* tests/Makefile.am (TESTS): Add it.

20 years ago* automake.in (handle_emacs_lisp): Define $(ELCFILES) as
Alexandre Duret-Lutz [Sun, 1 Feb 2004 12:18:02 +0000 (12:18 +0000)]
* automake.in (handle_emacs_lisp): Define $(ELCFILES) as
$(am__ELCFILES), and always push it on @all.  Do not mention
elc-stamp.
* lib/am/lisp.am (.el.elc): Rewrite as ...
($(am__ELCFILES)): ... this, and depend on elc-stamp.
(elc-stamp): Make sure elc-stamp is older that all .elc files, as
explained in the manual entry below.

20 years ago* doc/automake.texi (multiple outputs): New node.
Alexandre Duret-Lutz [Sun, 1 Feb 2004 09:30:48 +0000 (09:30 +0000)]
* doc/automake.texi (multiple outputs): New node.

20 years ago* m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
Alexandre Duret-Lutz [Sat, 31 Jan 2004 14:34:42 +0000 (14:34 +0000)]
* m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
* tests/regex.test: New file.
* tests/Makefile.am (TESTS): Add regex.test.

20 years ago* Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
Alexandre Duret-Lutz [Wed, 28 Jan 2004 20:50:43 +0000 (20:50 +0000)]
* Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
* lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
installation paths in install, uninstall, and installcheck rules,
as well as in am__installdirs variables.  This is for the sake
of paths containing spaces.
* lib/am/install.am (installdirs-am, installdirs): Do not try
to create "" directories.
* test/instspc.test: New file.
* test/Makefile.am (TESTS): Add instspc.test.
Report from James Amundson.

20 years ago* doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
Alexandre Duret-Lutz [Wed, 28 Jan 2004 17:08:33 +0000 (17:08 +0000)]
* doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
(Extending): Make it a subsection of Not Enough.

20 years ago* lib/gnupload (GPG): Use an absolute path. Suggestion from Gary
Alexandre Duret-Lutz [Wed, 28 Jan 2004 16:18:21 +0000 (16:18 +0000)]
* lib/gnupload (GPG): Use an absolute path.  Suggestion from Gary
V. Vaughan.
(passphrase): Unset it this variable before using it, in case it
was exported.  Report from Scott James Remnant.

20 years ago* lib/gnupload (usage): Fix example.
Alexandre Duret-Lutz [Sun, 25 Jan 2004 13:55:50 +0000 (13:55 +0000)]
* lib/gnupload (usage): Fix example.
* Makefile.am (cvs-release): Fix call to gnupload.
From Jim Meyering.

20 years ago* lib/gnupload: New script.
Alexandre Duret-Lutz [Sat, 24 Jan 2004 19:22:10 +0000 (19:22 +0000)]
* lib/gnupload: New script.
* lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
* Makefile.am (cvs-release): New target.

20 years ago* lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
Alexandre Duret-Lutz [Fri, 23 Jan 2004 22:47:56 +0000 (22:47 +0000)]
* lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
Fix python10.test.

20 years ago* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
Alexandre Duret-Lutz [Fri, 23 Jan 2004 22:43:19 +0000 (22:43 +0000)]
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
instead of `/xx/ s///p'; the latter fails when GNU sed is run with
POSIXLY_CORRECT.  Also strip superfluous -e.
Report from Miloslav Trmac.

20 years ago* tests/lex5.test: Sleep before calling AUTOMAKE the second time,
Alexandre Duret-Lutz [Thu, 22 Jan 2004 22:11:04 +0000 (22:11 +0000)]
* tests/lex5.test: Sleep before calling AUTOMAKE the second time,
this fixes a spurious failure reported by Andreas Schwab.  Also
make sure ylwrap is not installed unless needed, and exercise
--no-force.

20 years ago* doc/automake.texi (Dist): Document limitations of distcheck-hook
Alexandre Duret-Lutz [Tue, 20 Jan 2004 21:57:42 +0000 (21:57 +0000)]
* doc/automake.texi (Dist): Document limitations of distcheck-hook
and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
subpackages.

20 years ago* doc/automake.texi (Upgrading): New node.
Alexandre Duret-Lutz [Tue, 20 Jan 2004 21:48:03 +0000 (21:48 +0000)]
* doc/automake.texi (Upgrading): New node.

20 years ago* automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
Alexandre Duret-Lutz [Tue, 20 Jan 2004 20:22:39 +0000 (20:22 +0000)]
* automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
correctly called without arguments as evidenced by the libtool
demo directories.

20 years ago* tests/conflnk3.test: Skip if `test -e' does not work.
Alexandre Duret-Lutz [Tue, 13 Jan 2004 20:40:47 +0000 (20:40 +0000)]
* tests/conflnk3.test: Skip if `test -e' does not work.
Report from Lars Hecking.

20 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 13:25:15 +0000 (13:25 +0000)]
*** empty log message ***

20 years agoChange `\n \t' to `\n\t ' in `defaultIFS' assignment.
Jim Meyering [Tue, 13 Jan 2004 13:23:31 +0000 (13:23 +0000)]
Change `\n  \t' to `\n\t ' in `defaultIFS' assignment.
Remove spurious SPACEs before TABs.

20 years ago* lib/py-compile: Check input files after option processing.
Alexandre Duret-Lutz [Mon, 12 Jan 2004 22:56:49 +0000 (22:56 +0000)]
* lib/py-compile: Check input files after option processing.
Ensure --basedir has an argument.
* lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
if nothing was installed.
* tests/python10.test: New file.
* tests/Makefile.am (TESTS): Add python10.test.
Suggested by Sander Niemeijer.

20 years ago* tests/txinfo29.test: Remove autom4te.cache.
Alexandre Duret-Lutz [Mon, 12 Jan 2004 21:58:26 +0000 (21:58 +0000)]
* tests/txinfo29.test: Remove autom4te.cache.
Report from Greg Schafer.

20 years ago* lib/install-sh: Do not use "$@" in a context where it may be empty,
Alexandre Duret-Lutz [Mon, 12 Jan 2004 09:51:26 +0000 (09:51 +0000)]
* lib/install-sh: Do not use "$@" in a context where it may be empty,
for the sake of OSF1/Tru64's shell.
Report from He Li.

20 years ago* lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
Alexandre Duret-Lutz [Sun, 11 Jan 2004 20:50:32 +0000 (20:50 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
versions.