platform/upstream/automake.git
20 years ago* lib/config.sub, lib/config.guess, lib/texinfo.tex,
Alexandre Duret-Lutz [Mon, 1 Sep 2003 22:05:16 +0000 (22:05 +0000)]
* lib/config.sub, lib/config.guess, lib/texinfo.tex,
lib/config-ml.in, lib/symlink-tree: New upstream versions.

20 years ago* tests/yacc7.test: Require bison.
Alexandre Duret-Lutz [Sun, 31 Aug 2003 21:24:45 +0000 (21:24 +0000)]
* tests/yacc7.test: Require bison.

20 years ago* aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
Alexandre Duret-Lutz [Sun, 31 Aug 2003 21:15:57 +0000 (21:15 +0000)]
* aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
($underquoted_manual_once): New variable.
* automake.texi (Extending aclocal): Document this.

20 years ago* aclocal.in (@file_order): New variable, to make sure
Alexandre Duret-Lutz [Thu, 28 Aug 2003 22:49:58 +0000 (22:49 +0000)]
* aclocal.in (@file_order): New variable, to make sure
files are output in the opposite order of the -I arguments.
(scan_file): Fill it.
(trace_used_macros, write_aclocal): Use it.
(scan_m4_files): Reverse the directory contents, so that
macros from the lexicographically greatest files are preferred.
* tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
New files.
* tests/Makefile.am (TESTS): Add them.

20 years agoFor Debian Bug #206299:
Alexandre Duret-Lutz [Sun, 24 Aug 2003 22:34:59 +0000 (22:34 +0000)]
For Debian Bug #206299:
* automake.in ($configure_deps_greatest_timestamp,
$output_deps_greatest_timestamp): New variables.
(initialize_per_input): Reset $output_deps_greatest_timestamp.
(scan_autoconf_traces, scan_autoconf_files, read_am_file):
Update $configure_deps_greatest_timestamp and
$output_deps_greatest_timestamp
(generate_makefile): Rewrite the logic to decide whether
to rewrite the output.  Move the leading dup_channel_setup
and trailing drop_channel_setup to MAIN, so that
drop_channel_setup is executed for all exit paths.
* tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
* tests/distcom6.test: New file.  Report from Scott James Remnant.
* tests/Makefile.am (TESTS): Add distcom6.test.

20 years ago* configure.in: Require Autoconf 2.57b to be sure
Alexandre Duret-Lutz [Sun, 24 Aug 2003 19:56:07 +0000 (19:56 +0000)]
* configure.in: Require Autoconf 2.57b to be sure
aclocal can use autom4te --language Autoconf-without-aclocal-m4.
* m4/init.m4: Likewise.  Move the AC_PREREQ and m4_pattern_allow
calls inside the AM_INIT_AUTOMAKE macro.
* m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
AC_PREREQ calls inside the macros.
* m4/header.m4: Remove AC_PREREQ.

20 years ago* automake.in (file_contents_internal): Do not add newlines before
Alexandre Duret-Lutz [Sun, 24 Aug 2003 02:16:31 +0000 (02:16 +0000)]
* automake.in (file_contents_internal): Do not add newlines before
empty actions.

20 years ago* aclocal.in (write_aclocal): Take an output file and list of
Alexandre Duret-Lutz [Sun, 24 Aug 2003 02:00:58 +0000 (02:00 +0000)]
* aclocal.in (write_aclocal): Take an output file and list of
used macros in arguments and make up the file contents here.
(trace_used_macros): New function.
(add_file): Do not update $output.
($output): Delete.
(MAIN): Call trace_used_macros.  Then rewrite aclocal.m4 only
for these traced macros.  This should shorten aclocal.m4 by
stripping out unused macros.
* automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
* tests/aclibobj.test: Make sure configure.in exists by the time
aclocal runs.
* tests/aclocal8.test: New file.
* tests/Makefile.am (TESTS): Add aclocal8.test.
Suggested by Bruno Haible and Akim Demaille.

20 years ago* lib/Automake/Configure_ac.pm (&find_configure_ac)
Akim Demaille [Thu, 21 Aug 2003 08:49:25 +0000 (08:49 +0000)]
* lib/Automake/Configure_ac.pm (&find_configure_ac)
(&require_configure_ac): Accept an optional directory argument.
($configure_ac): Remove.
* aclocal.in, automake.in ($configure_ac): New.
* lib/Automake/Variable.pm: Don't use $configure_ac, just
configure.ac.

20 years ago* lib/Automake/FileUtils.pm: More perldoc.
Akim Demaille [Wed, 20 Aug 2003 17:28:05 +0000 (17:28 +0000)]
* lib/Automake/FileUtils.pm: More perldoc.
(&up_to_date_p): New.

20 years agoFix for PR automake/398:
Alexandre Duret-Lutz [Sun, 17 Aug 2003 18:09:10 +0000 (18:09 +0000)]
Fix for PR automake/398:
* m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
set.  Display `none' instead of `:' and $PYTHON is set to `:'
when no suitable interpreter is found.  Honor ACTION-IF-FOUND and
ACTION-IF-NOT-FOUND.
* automake.texi (Python): Document ACTION-IF-FOUND and
ACTION-IF-NOT-FOUND.
* tests/python4.test, tests/python5.test, tests/python6.test,
tests/python7.test, tests/python8.test, tests/python9.test: New
files.
* tests/Makefile.am (TESTS): Add them.
Report from Per Cederqvist.

20 years agoFix for PR automake/399:
Alexandre Duret-Lutz [Wed, 13 Aug 2003 21:29:58 +0000 (21:29 +0000)]
Fix for PR automake/399:
* m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
Report from Per Cederqvist.

20 years ago* lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
Raja R Harinath [Tue, 12 Aug 2003 23:32:59 +0000 (23:32 +0000)]
* lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
(not): Replace loop with 'map'.
* lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
* lib/Automake/Item.pm (not_alwasy_defined_in_cond):
Don't 'simplify' result of 'invert', since it's already in
canonical form.
* lib/Automake/Rule.pm (define): Replace loop with
'not_always_defined_in_cond'.

20 years agotypos in comments
Raja R Harinath [Tue, 12 Aug 2003 22:33:44 +0000 (22:33 +0000)]
typos in comments

20 years ago* lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
Alexandre Duret-Lutz [Tue, 12 Aug 2003 17:52:09 +0000 (17:52 +0000)]
* lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
* lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
* lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
(new): Adjust to call Automake::ItemDef::new.
(comment, location, owner): Delete.  Now inherited from ItemDef.
* lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
(_new): Adjust to call Automake::Item::new.
(name, def, rdef, _set, conditions, not_always_defined_in_cond):
Delete.  How inherited from Item, where `_set' is called `set'.
* automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
(suffix_rules_default): Delete.  Now
Automake::Rule::_suffix_rules_default
(suffixes): Delete.  Now Automake::Rule::suffixes.
(TARGET_AUTOMAKE, TARGET_USER): Delete.  Now
Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
(%targets, %target_source, %target_name, %target_owner): Delete,
replaced by the Rule and RuleDef classes.
(dependencies, depend, actions): Delete.  Now in Automake::Rule.
(suffix_rules, register_suffix_rule): Likewise.
(KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
(known_extensions_list): Delete.  Now
Automake::Rule::_known_extensions_list.
(target_conditions): Delete.  Now inherited by Automake::Rule
from Automake::Item::conditions.
(rule_define): Delete.  Now Automake::Rule::define.  Adjust all
callers.
(target_defined): Delete.  Now Automake::Rule::rule.  Adjust all
callers.
(initialize_per_input): Adjust to call Automake::Rule::reset.
(err_target, err_cond_target, msg_cond_target, msg_target,
reject_target): Delete.  Now defined in Automake::Rule as
err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
Adjust all callers.
(handle_languages): Call suffix_rules_count.
* tests/location.test: Adjust expected diagnostics.  We now display
$(EXEEXT) accurately.

20 years agoRevert the fix for PR automake/291:
Alexandre Duret-Lutz [Sat, 9 Aug 2003 22:34:30 +0000 (22:34 +0000)]
Revert the fix for PR automake/291:
* lib/Automake/Variable.pm (define): Do not warn about variables
starting with `_' which are an issue on NEWS-OS 4.2R.  According
to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
was released on 1996 and is not in wide use.  On the other hand,
variables starting with `_' are mandatory in several situations,
so diagnosing them is more annoying than useful.
* tests/canon5.test: Do not use -Wno-portability.
* tests/vars2.test: Delete.
* tests/Makefile.am (TESTS): Remove vars2.test.
Suggested by Jim Meyering.

20 years ago* lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
Raja R Harinath [Sat, 9 Aug 2003 20:11:45 +0000 (20:11 +0000)]
* lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
* lib/Automake/tests/DisjConditions.pl (test_ambig): Test
Automake::Disjunctions::ambiguous_p.

20 years agoignore Config.pm
Alexandre Duret-Lutz [Sat, 9 Aug 2003 12:04:10 +0000 (12:04 +0000)]
ignore Config.pm

20 years ago* lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
Alexandre Duret-Lutz [Thu, 7 Aug 2003 21:20:12 +0000 (21:20 +0000)]
* lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
* lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
* automake.in (rule_define): Adjust usage.
* lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.

20 years ago* lib/Automake/Options.pm: New file.
Alexandre Duret-Lutz [Thu, 7 Aug 2003 20:30:04 +0000 (20:30 +0000)]
* lib/Automake/Options.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
* automake.in (FOREIGN, GNU, GNITS, $default_strictness)
($default_strictness_name, $strictness, $strictness_name)
(%options, %global_options, process_option_list)
(set_strictness): Remove, now in Options.pm.
(initialize_per_input): Call Automake::Options::reset.
(handle_options, get_object_extension, get_object_extension)
(handle_languages, handle_single_transform_list, handle_compile)
(handle_texinfo_helper, handle_man_pages, handle_dist)
(handle_configure, do_check_merge_target)
(handle_factored_dependencies, handle_tests)
(handle_minor_options, scan_autoconf_traces, check_cygnus)
(lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
(make_paragraphs, am_install_var, parse_arguments): Adjust
to set and read options via the new interface.

20 years ago* Makefile.am (maintainer-check): Update perllibdir.
Raja R Harinath [Thu, 7 Aug 2003 11:21:45 +0000 (11:21 +0000)]
* Makefile.am (maintainer-check): Update perllibdir.
* lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
(EXTRA_DIST): Add Config.in.
* Makefile.in, lib/Automake/Makefile.in: Regenerate.
* tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
$perllibdir.

20 years ago* configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
Raja R Harinath [Thu, 7 Aug 2003 00:32:29 +0000 (00:32 +0000)]
* configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
from the builddir too, to pick up Automake::Config.
* tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
* configure: Regenerate.
* automake.in (BEGIN): Handle multiple directories in $perllibdir.
* aclocal.in (BEGIN): Likewise.

20 years ago* tests/ltcond.test: Thinko.
Alexandre Duret-Lutz [Wed, 6 Aug 2003 23:36:52 +0000 (23:36 +0000)]
* tests/ltcond.test: Thinko.

20 years ago* lib/Automake/Config.in: New file.
Alexandre Duret-Lutz [Wed, 6 Aug 2003 22:21:07 +0000 (22:21 +0000)]
* lib/Automake/Config.in: New file.
* lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
CLEANFILES): New variables.
(Config.pm): New rule.
* Makefile.am (maintainer-check): Adjust expected differences
between automake.in and automake.
* aclocal.in, automake.in: Use Automake::Config.

20 years ago* lib/Automake/Config.in: New file.
Alexandre Duret-Lutz [Wed, 6 Aug 2003 21:20:15 +0000 (21:20 +0000)]
* lib/Automake/Config.in: New file.
* lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
CLEANFILES): New variables.
(Config.pm): New rule.
* Makefile.am (maintainer-check): Adjust expected differences
between automake.in and automake.
* aclocal.in, automake.in: Use Automake::Config.

20 years ago* tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
Alexandre Duret-Lutz [Tue, 5 Aug 2003 19:44:00 +0000 (19:44 +0000)]
* tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.

20 years ago* automake.in (handle_texinfo_helper): Use the user definition
Alexandre Duret-Lutz [Tue, 5 Aug 2003 09:25:17 +0000 (09:25 +0000)]
* automake.in (handle_texinfo_helper): Use the user definition
of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
* tests/txinfo22.test: New file.
* tests/Makefile.am (TESTS): Add txinfo22.test.
Report from Tom Tromey.

20 years ago* lib/Automake/Variable.pm (@EXPORT): Remove
Raja R Harinath [Sun, 3 Aug 2003 21:17:32 +0000 (21:17 +0000)]
* lib/Automake/Variable.pm (@EXPORT): Remove
traverse_variable_recursively and
require_variables_for_variable.
(require_variables_for_variable, traverse_variable_recursively)
(_traverse_variable_recursively_worker): Convert to
Automake::Variable methods, remove support for being
invoked with variable names, and rename to ...
(requires_variables, traverse_recursively)
(_do_recursive_traversal): ... these.
(_value_as_list_recursive_worker, transform_variable_recursively):
Update to reflect changes.
* automake.in (handle_LIBOBJS, handle_ALLOCA)
(handle_libraries, handle_ltlibraries, am_primary_prefixes):
Likewise.
(define_objects_from_sources): Fix typo in comment.

20 years ago(handle_source_transform): Replace 'grep' with 'map'.
Raja R Harinath [Sat, 2 Aug 2003 14:14:59 +0000 (14:14 +0000)]
(handle_source_transform): Replace 'grep' with 'map'.
(register_language): Replace 'grep' with 'foreach' modifier.

20 years ago* lib/Automake/Variables.pm (variables): Return a list of
Raja R Harinath [Sat, 2 Aug 2003 04:27:03 +0000 (04:27 +0000)]
* lib/Automake/Variables.pm (variables): Return a list of
Automake::Variable instances, not a list of strings.
(dump): Remove support for being invoked with a string.
(variables_dump): Adapt to these changes.
* automake.in (check_typos): Likewise.
(am_primary_prefixes): Likewise.

20 years ago* lib/depcomp (aix): Support AIX Compiler version 6.
Alexandre Duret-Lutz [Thu, 31 Jul 2003 21:18:25 +0000 (21:18 +0000)]
* lib/depcomp (aix): Support AIX Compiler version 6.

20 years ago* automake.texi (A Shared Library): Rewrite and split into
Alexandre Duret-Lutz [Thu, 31 Jul 2003 20:28:00 +0000 (20:28 +0000)]
* automake.texi (A Shared Library): Rewrite and split into
subsections.  Valuable comments from Norman Gray, Harlan Stenn,
Tim Van Holder, and Guido Draheim.
* tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
* tests/Makefile.am (TESTS): Add them.

20 years ago* automake.in (handle_single_transform_list): Complain about
Alexandre Duret-Lutz [Wed, 30 Jul 2003 16:45:22 +0000 (16:45 +0000)]
* automake.in (handle_single_transform_list): Complain about
foo.$(OBJEXT) being created both with libtool and without, not
about foo.lo.
Report from Tim Van Holder.

20 years ago* Makefile.am (FETCHFILES, fetch): Add config-ml.in and
Alexandre Duret-Lutz [Tue, 29 Jul 2003 20:32:32 +0000 (20:32 +0000)]
* Makefile.am (FETCHFILES, fetch): Add config-ml.in and
symlink-tree.
* lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
upstream versions.

21 years ago* automake.in (handle_configure): Cosmetic change to avoid
Alexandre Duret-Lutz [Mon, 28 Jul 2003 06:44:33 +0000 (06:44 +0000)]
* automake.in (handle_configure): Cosmetic change to avoid
a maintainer-check complaint.

21 years ago* lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
Alexandre Duret-Lutz [Sun, 27 Jul 2003 21:25:17 +0000 (21:25 +0000)]
* lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
(variable_dump): Replace by ...
(dump): ... this method.
(rdef, _check_ambiguous_condition): Adjust to use ->dump.
(define, variables_dump): Adjust to use Automake::Variable::dump

21 years ago* lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
Alexandre Duret-Lutz [Sun, 27 Jul 2003 12:58:38 +0000 (12:58 +0000)]
* lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
* automake.texi (Built sources example): Adjust example.

21 years ago* automake.in (get_object_extension, handle_languages)
Alexandre Duret-Lutz [Sat, 26 Jul 2003 11:00:36 +0000 (11:00 +0000)]
* automake.in (get_object_extension, handle_languages)
(handle_single_transform_list, handle_compile, handle_compile)
(handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
(handle_tests, handle_minor_options, check_gnu_standards)
(lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
Simplify "if (defined $options{'X'})" into "if ($options{'X'})".

21 years agoComplete changes from 2003-07-08.
Alexandre Duret-Lutz [Sat, 26 Jul 2003 10:12:03 +0000 (10:12 +0000)]
Complete changes from 2003-07-08.
* automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
replaced by $options{'no-dependencies'}.
($global_options): Remove.
(%global_options): New variable.
(initialize_per_input): Empty %options.
(process_option_list): Take a location and %options ref argument,
process no-dependencies as other options.
(handle_options): Do not reparse the global options, just initialize
%options from %global_options and fill it with local options.
(handle_languages, handle_single_transform_list)
(handle_configure, check_cygnus): Adjust usage of
$options{'no-dependencies'}.
(make_paragraphs): Adjust usage of $options{'cygnus'}.
(parse_arguments): Set cygnus and no-dependencies in %global_options.
(scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
to fill %global_options.

21 years ago* tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
Alexandre Duret-Lutz [Fri, 25 Jul 2003 06:41:06 +0000 (06:41 +0000)]
* tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
avoid the use of tar.

21 years ago* tests/gnuwarn2.test: Typo.
Alexandre Duret-Lutz [Thu, 24 Jul 2003 21:33:11 +0000 (21:33 +0000)]
* tests/gnuwarn2.test: Typo.

21 years ago* tests/insthook.test: Use $MAKE, not make.
Alexandre Duret-Lutz [Thu, 24 Jul 2003 21:29:11 +0000 (21:29 +0000)]
* tests/insthook.test: Use $MAKE, not make.

21 years agoFix missing rebuilds during `make dist' with BSD make.
Alexandre Duret-Lutz [Thu, 24 Jul 2003 21:26:56 +0000 (21:26 +0000)]
Fix missing rebuilds during `make dist' with BSD make.
* automake.in (generate_makefile): Do not push Makefile.in, and
Makefile.am into DIST_COMMON here.
* lib/am/configure.am (DIST_COMMON): Do it here, and use
%MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
actually match the targets.   Prefix `configure' with `$(srcdir)/'
to match the target.
* tests/remake4.test: New file.
* tests/Makefile.am (TESTS): Add remake4.test.
Report from Akim Demaille.

21 years agoregen
Alexandre Duret-Lutz [Thu, 24 Jul 2003 08:05:03 +0000 (08:05 +0000)]
regen

21 years ago* automake.in (handle_multilib): Register all-multi.
Alexandre Duret-Lutz [Wed, 23 Jul 2003 21:04:17 +0000 (21:04 +0000)]
* automake.in (handle_multilib): Register all-multi.
(file_contents_internal): Insert n when concatenating actions
from "factored" rules.
* lib/config-ml.in: New file, from GCC, including a patch
from Ralf Corsepius (see GCC's PR 11526).
* lib/symlink-tree.in: New file, from GCC.
* lib/Makefile.am (dist_script_DATA): Add config-ml.in and
symlink-tree.
* lib/am/clean.am (distclean-generic): Do not delete Makefile here...
(distclean, maintainer-clean): ... do it here.
* lib/am/depend.am (distclean-depend): Likewise, replace by
(distclean, maintainer-clean): ... these.
* lib/am/multilib.am (all-recursive, install-recursive,
mostlyclean-recursive, clean-recursive, distclean-recursive,
maintainer-clean-recursive): Remove these rules.
(mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
by ...
(mostlyclean, clean, distclean, maintainer-clean): ... these.
(all-am): Remove, done in handle_multilib.
(install-am): Replace by ...
(install-exec-am): ... this.
* tests/Makefile.am (TESTS): Add multlib.test.
* tests/multlib.test: New file, based on a test case by
Ralf Corsepius

21 years ago* lib/missing (autom4te): Typo.
Alexandre Duret-Lutz [Wed, 23 Jul 2003 19:34:03 +0000 (19:34 +0000)]
* lib/missing (autom4te): Typo.

21 years agoadd to CVS, since it's distributed
Alexandre Duret-Lutz [Wed, 23 Jul 2003 17:25:26 +0000 (17:25 +0000)]
add to CVS, since it's distributed

21 years agoremove superfluous entry about regenerated files
Alexandre Duret-Lutz [Sun, 20 Jul 2003 21:57:36 +0000 (21:57 +0000)]
remove superfluous entry about regenerated files

21 years agoupdate paragraph about non-maintainer files
Alexandre Duret-Lutz [Sun, 20 Jul 2003 21:51:41 +0000 (21:51 +0000)]
update paragraph about non-maintainer files

21 years ago* automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
Derek R. Price [Wed, 16 Jul 2003 19:10:07 +0000 (19:10 +0000)]
* automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
(handle_configure): Handle adding AC_CONFIG_LINKS arguments to
distclean targets (CONFIG_CLEAN_FILES makefile var).
* NEWS: Note new handling of AC_CONFIG_LINKS.
* automake.texi (Other things Automake recognizes): Ditto.
* tests/Makefile.am (TESTS): Add new tests.
* tests/conflnk.test: New test that links are cleaned on distclean.
* tests/conflnk2.test: New test that source files for links are
distributed.

* Makefile.in: Regenerated.
* aclocal.m4: Ditto.
* configure: Ditto.
* stamp-vti: Ditto.
* version.texi: Ditto.
* lib/Makefile.in: Ditto.
* lib/Automake/Makefile.in: Ditto.
* lib/Automake/tests/Makefile.in: Ditto.
* lib/am/Makefile.in: Ditto.
* m4/Makefile.in: Ditto.
* tests/Makefile.in: Ditto.

21 years ago2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
Alexandre Duret-Lutz [Tue, 15 Jul 2003 21:21:25 +0000 (21:21 +0000)]
2003-07-15  Ralf Corsepius <corsepiu@faw.uni-ulm.de>  (tiny change)

* automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
render $seen_multilib functional again.

21 years agoAvoid using refs as hash keys.
Raja R Harinath [Thu, 10 Jul 2003 23:39:09 +0000 (23:39 +0000)]
Avoid using refs as hash keys.
* lib/Automake/Variable.pm ($_traversal): New.
(reset): Reset $_traversal.
(_new): New attribute 'scanned'.
(%_vars_scanned): Remove.
(traverse_variable_recursively)
(traverse_variable_recursively_worker):
Use $_traversal instead of %_vars_scanned to detect recursively
defined variables.

21 years ago(am--refresh): Silence.
Raja R Harinath [Thu, 10 Jul 2003 22:26:09 +0000 (22:26 +0000)]
(am--refresh): Silence.

21 years ago* lib/Automake/Variable.pm (define): Make clear the diagnostic
Alexandre Duret-Lutz [Thu, 10 Jul 2003 20:51:27 +0000 (20:51 +0000)]
* lib/Automake/Variable.pm (define): Make clear the diagnostic
about variable names starting with `_' is about *Make* variables.

21 years agoFor Debian Bug #193907:
Alexandre Duret-Lutz [Thu, 10 Jul 2003 20:32:27 +0000 (20:32 +0000)]
For Debian Bug #193907:
* automake.texi (Clean): make maintainer-clean should still
allow ./configure && make to run.

21 years ago* automake.texi (CVS): Typo.
Alexandre Duret-Lutz [Thu, 10 Jul 2003 20:04:01 +0000 (20:04 +0000)]
* automake.texi (CVS): Typo.

21 years ago* aclocal.in: Use Automake::FileUtils.
Alexandre Duret-Lutz [Wed, 9 Jul 2003 22:09:28 +0000 (22:09 +0000)]
* aclocal.in: Use Automake::FileUtils.
(parse_arguments, scan_configure, scan_m4_files): Never call
"die" to print an error message.  Use print and exit.
* automake.in: Use Automake::FileUtils.
* lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
$version, &debug, &getopt, &mktmpdir, &verbose): Remove.
(END): Do not massage Perl's exit code.  Do not clean any temporary
directory.
(find_file, mtime, update_file, xsystem, contents): Move to ...
* lib/Automake/FileUtils.pm: ... this new file.  Adjust to
report errors using Channels.
(handle_exec_errors, xqx): New functions, from Autoconf.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.

21 years ago* lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
Alexandre Duret-Lutz [Wed, 9 Jul 2003 22:07:10 +0000 (22:07 +0000)]
* lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
Return the empty list on recursively defined variable.  This
supersedes my change of 2003-07-02.

21 years agoFix the ChangeLog.
Akim Demaille [Tue, 8 Jul 2003 10:48:53 +0000 (10:48 +0000)]
Fix the ChangeLog.

21 years ago* automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
Akim Demaille [Tue, 8 Jul 2003 08:10:21 +0000 (08:10 +0000)]
* automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
Adjust all dependencies.
(&depend): Move next to %dependencies.
(&initialize_per_input): Initialize the 'cygnus' field of
'%options' to spare the code from 'exists' or 'defined' when
testing it.

21 years ago* automake.in (generate_makefile): Move near the end of the
Alexandre Duret-Lutz [Sun, 6 Jul 2003 23:48:09 +0000 (23:48 +0000)]
* automake.in (generate_makefile): Move near the end of the
file, after the definition of all called functions, so that
prototypes can be enforced.

21 years ago* lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
Akim Demaille [Sun, 6 Jul 2003 19:30:46 +0000 (19:30 +0000)]
* lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
install-exec-recursive, install-data-recursive and
uninstall-recursive addition to...
* lib/am/texinfos.am: here.
* lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
declaration of RECURSIVE_TARGETS.

21 years agoFix the ChangeLog.
Akim Demaille [Sun, 6 Jul 2003 19:29:25 +0000 (19:29 +0000)]
Fix the ChangeLog.

21 years ago* automake.in (&define_files_variable): New.
Akim Demaille [Sun, 6 Jul 2003 19:27:29 +0000 (19:27 +0000)]
* automake.in (&define_files_variable): New.
(&handle_texinfo_helper): Move the handling of user variables from
here, to...
(&handle_texinfo): here.
This is to balance the size of these functions, and to match the
convention of other _helper functions.
(&handle_texinfo_helper): Use &define_files_variable.
Move some code to use less variables.
Rename $info_cursor as $texi.
(&handle_texinfo): Do not call handle_texinfo_helper if there are
no TEXINFOS.
* lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
and html.
Remove *-recursive targets from .PHONY, they are part of
$(RECURSIVE_TARGETS) anyway.
(install-info, mostlyclean-aminfo): Are .PHONY.

21 years ago* automake.in (&define_files_variable): New.
Akim Demaille [Sun, 6 Jul 2003 07:42:36 +0000 (07:42 +0000)]
* automake.in (&define_files_variable): New.
(&handle_texinfo_helper): Move the handling of user variables from
here, to...
(&handle_texinfo): here.
This is to balance the size of these functions, and to match the
convention of other _helper functions.
(&handle_texinfo_helper): Use &define_files_variable.
Move some code to use less variables.
Rename $info_cursor as $texi.
(&handle_texinfo): Do not call handle_texinfo_helper if there are
no TEXINFOS.
* lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
and html.
Remove *-recursive targets from .PHONY, they are part of
$(RECURSIVE_TARGETS) anyway.
(install-info, mostlyclean-aminfo): Are .PHONY.

21 years ago* lib/am/distdir.am: Use ';' as a terminator, not a separator, for
Akim Demaille [Sat, 5 Jul 2003 08:23:18 +0000 (08:23 +0000)]
* lib/am/distdir.am: Use ';' as a terminator, not a separator, for
sed complex commands, as required by NetBSD sed.
Reported by Patrick Welche.

21 years ago* lib/config.guess, lib/config.sub: New upstream version.
Alexandre Duret-Lutz [Fri, 4 Jul 2003 22:37:10 +0000 (22:37 +0000)]
* lib/config.guess, lib/config.sub: New upstream version.

21 years agotypo
Alexandre Duret-Lutz [Fri, 4 Jul 2003 22:23:04 +0000 (22:23 +0000)]
typo

21 years ago* automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
Alexandre Duret-Lutz [Fri, 4 Jul 2003 22:13:52 +0000 (22:13 +0000)]
* automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
are automatically distributed.

21 years ago* lib/depcomp (icc): Update to grok ICC 7.1's output.
Alexandre Duret-Lutz [Fri, 4 Jul 2003 21:08:06 +0000 (21:08 +0000)]
* lib/depcomp (icc): Update to grok ICC 7.1's output.
* m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
in a subdirectory, and with many dependencies.  This
catches more failures of depcomp.
Reports from Ralf Wildenhues and Akim Demaille.

21 years ago* automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
Akim Demaille [Fri, 4 Jul 2003 08:36:53 +0000 (08:36 +0000)]
* automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
(&handle_texinfo_helper, &handle_texinfo): Formatting changes.
Prototype properly.
Don't use & when calling functions.

21 years ago* NEWS: Categorize entries.
Alexandre Duret-Lutz [Thu, 3 Jul 2003 20:38:21 +0000 (20:38 +0000)]
* NEWS: Categorize entries.
Suggested by Jim Meyering.

21 years ago* Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
Alexandre Duret-Lutz [Thu, 3 Jul 2003 18:58:50 +0000 (18:58 +0000)]
* Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
Ignore @...@ substitutions in comments.
* tests/defs.in: Try to make the shell more POSIX compliant.
(AUTOMAKE_run, AUTOMAKE_fails): New functions.
* tests/README: Mention AUTOMAKE_fails.
* tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
* tests/asm.test, tests/backsl3.test, tests/backsl4.test,
* tests/badline.test, tests/badopt.test, tests/canon.test,
* tests/canon5.test, tests/colneq.test, tests/comment3.test,
* tests/comment5.test, tests/cond2.test, tests/cond20.test,
* tests/cond23.test, tests/cond24.test, tests/cond27.test,
* tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
* tests/dejagnu2.test, tests/dirforbid.test,
* tests/distcom3.test, tests/else.test, tests/exdir2.test,
* tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
* tests/getopt.test, tests/gettext.test, tests/gettext2.test,
* tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
* tests/insh.test, tests/lex2.test, tests/libobj10.test,
* tests/libobj12.test, tests/libobj13.test,
* tests/libobj3.test, tests/library2.test,
* tests/library3.test, tests/libtool4.test,
* tests/libtool6.test, tests/lisp2.test, tests/location.test,
* tests/nogzip2.test, tests/output5.test, tests/overrid.test,
* tests/percent.test, tests/percent2.test,
* tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
* tests/pr211.test, tests/primary.test, tests/primary2.test,
* tests/python2.test, tests/recurs.test, tests/reqd2.test,
* tests/seenc.test, tests/specflg.test, tests/specflg2.test,
* tests/spell.test, tests/spell2.test, tests/srcsub.test,
* tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
* tests/substtarg.test, tests/suffix11.test,
* tests/symlink.test, tests/syntax.test,
* tests/targetclash.test, tests/txinfo4.test,
* tests/version3.test, tests/warnopts.test,
* tests/xsource.test, tests/yacc2.test: Use set -e,
AUTOMAKE_fails, and always grep error message.

21 years ago* automake.in (handle_ltlibraries): Fix call to msg.
Alexandre Duret-Lutz [Wed, 2 Jul 2003 23:30:56 +0000 (23:30 +0000)]
* automake.in (handle_ltlibraries): Fix call to msg.

21 years ago* tests/stamph.test: Delete.
Alexandre Duret-Lutz [Wed, 2 Jul 2003 23:19:38 +0000 (23:19 +0000)]
* tests/stamph.test: Delete.
* tests/Makefile.am (TESTS): Remove stamph.test.

21 years ago* automake.in (handle_single_transform_list): Use $var->name
Alexandre Duret-Lutz [Wed, 2 Jul 2003 23:15:52 +0000 (23:15 +0000)]
* automake.in (handle_single_transform_list): Use $var->name
to print variable in the configure-substitution diagnostic.
Do not mention the parent when it is the variable itself.

21 years ago* tests/package.test: Delete.
Alexandre Duret-Lutz [Wed, 2 Jul 2003 22:47:01 +0000 (22:47 +0000)]
* tests/package.test: Delete.
* tests/Makefile.am (TESTS): Remove package.test.

21 years ago* automake.in (cond_stack_else): Return FALSE if `if' was not
Alexandre Duret-Lutz [Wed, 2 Jul 2003 22:20:32 +0000 (22:20 +0000)]
* automake.in (cond_stack_else): Return FALSE if `if' was not
used.
(cond_stack_endif): Return TRUE if `if' was not used.  Do not
display $negate and $cond, they are irrelevant and maybe undefined.

21 years ago* lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
Alexandre Duret-Lutz [Wed, 2 Jul 2003 21:57:51 +0000 (21:57 +0000)]
* lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
Do not return undef when a variable is recursively defined, this
causes warnings all over the place.  Return the empty string instead.

21 years ago* lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
Alexandre Duret-Lutz [Wed, 2 Jul 2003 20:53:07 +0000 (20:53 +0000)]
* lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
from empty DIST_ARCHIVES.

21 years ago* automake.in (scan_autoconf_traces): Check the expected
Alexandre Duret-Lutz [Tue, 1 Jul 2003 21:25:39 +0000 (21:25 +0000)]
* automake.in (scan_autoconf_traces): Check the expected
number of arguments of each traced macro.
* tests/overrid.test: Fix call to AM_CONDITIONAL.
* tests/conff2.test: New files.
* tests/Makefile.am (TESTS): Add conff2.test.
Report from Paolo Bonzini.

21 years ago* automake.in ($SUBST_REF_PATTERN): Do not define.
Alexandre Duret-Lutz [Mon, 30 Jun 2003 06:35:55 +0000 (06:35 +0000)]
* automake.in ($SUBST_REF_PATTERN): Do not define.
(%gen_varname): Move to Variable.pm, as %_gen_varname.
(initialize_per_input): Do not clean %gen_varname.
(handle_options, check_libobjs_sources, handle_source_transform,
handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
am_install_var): Adjust to use value_as_list_recursive,
loc_and_value_as_list_recursive, and has_conditional_contents.
(require_file_with_macro): Accept an Automake::Variable as argument.
(traverse_variable_recursively,
traverse_variable_recursively_worker, gen_varname,
transform_variable_recursively): Move ...
* lib/Automake/Variable.pm (traverse_variable_recursively,
_traverse_variable_recursively_worker,
_gen_varname, transform_variable_recursively): ... here.
* automake.in (variable_conditionally_defined,
variable_value_as_list_recursive_worker,
variable_value_as_list_recursive
variable_loc_and_value_as_list_recursive): Move ...
* lib/Automake/Variable.pm (has_conditional_contents,
_value_as_list_recursive_worker,
value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
(reset): Reset %_gen_varname.

21 years ago2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
Alexandre Duret-Lutz [Fri, 27 Jun 2003 18:35:14 +0000 (18:35 +0000)]
2003-06-27  Alexandre Duret-Lutz  <adl@gnu.org>

* tests/aclocal6.test: Test maintainer-clean in VPATH
builds. (For Ralf's fix.)

2003-06-27  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>  (tiny change)

* lib/am/configure.am (maintainer-clean): Remove
$(top_srcdir)/autom4te.cache, not autom4te.cache.

21 years ago* automake.texi: Use @node with a single argument.
Akim Demaille [Fri, 27 Jun 2003 11:47:26 +0000 (11:47 +0000)]
* automake.texi: Use @node with a single argument.

21 years ago* m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
Alexandre Duret-Lutz [Fri, 27 Jun 2003 06:51:52 +0000 (06:51 +0000)]
* m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.

21 years agoAdd Bernard Giroud -- see ChangeLog on 2003-06-13
Alexandre Duret-Lutz [Fri, 27 Jun 2003 00:08:04 +0000 (00:08 +0000)]
Add Bernard Giroud -- see ChangeLog on 2003-06-13

21 years ago* lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
Alexandre Duret-Lutz [Fri, 27 Jun 2003 00:03:59 +0000 (00:03 +0000)]
* lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
at the end of distcheck.  This was mistakenly removed on
2003-06-15.
* tests/subpkg.test: Make sure distcheck cleans up after itself.

21 years ago* m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
Alexandre Duret-Lutz [Thu, 26 Jun 2003 23:54:07 +0000 (23:54 +0000)]
* m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
($(top_srcdir)/m4/amversion.m4): ... this.
(DISTCLEANFILES): Remove.
(nodist_m4data_DATA): Remove. amversion.m4 is automatically
distributed.
(EXTRA_DIST): Add amversion.in.

21 years ago* automake.texi (Top): Use @copying and @insertcopying.
Akim Demaille [Wed, 25 Jun 2003 14:01:24 +0000 (14:01 +0000)]
* automake.texi (Top): Use @copying and @insertcopying.
Make Alexandre an author.
* automake.in ($gen_copyright): Add the "(C)" to Copyright.
* lib/depcomp: Likewise.

21 years ago* lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
Alexandre Duret-Lutz [Mon, 23 Jun 2003 21:39:54 +0000 (21:39 +0000)]
* lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
(variable_defined, examine_variable): Remove.
(%_ac_macro_for_var): Add an entry for ALLOCA.
(require_variables): Use vardef instead of variable_defined.
Do not use _cvar.
* automake.in (generate_makefile): Do not push $(SOURCE) into
@sources.  Use define_pretty_variable to define SOURCES.
(handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
to require LIBOBJS, LTLIBOBJS and ALLOCA.
(handle_programs, handle_ltlibraries): Do not define an empty
_DEPENDENCIES or _LDFLAGS variable when none is defined.
(define_configure_variable): Do not check whether the variable
already exists (it's Automake::Variable::define's job).
(require_build_directory): Likewise, do not check
the existence of am__dirstamp.
(generate_makefile, handle_options, handle_languages)
(check_libobjs_sources, handle_single_transform_list)
(traverse_variable_recursively_worker, handle_source_transform)
(handle_lib_objects, handle_LIBOBJS, handle_compile)
(handle_libtool, handle_programs, handle_libraries)
(handle_ltlibraries, check_typos, handle_texinfo_helper)
(handle_man_pages, handle_tags, handle_dist, handle_subdirs)
(scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
(handle_all, do_check_merge_target, handle_clean, lang_c_finish)
(handle_tests, lang_yacc_target_hook, define_pretty_variable)
(define_compiler_variable, define_linker_variable)
(make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
call var, vardef, or set_seen, instead of variable_defined.  Use
set_seen only for variables which are actually checked by
check_typos.
* tests/target.test: Delete.
* tests/alloca.test, tests/alloca2.test: New files.
* tests/libobj3.test: Check error message.
* tests/distcom4.test: Make sure configure is in DIST_COMMON.
This replace confdist.test.
* tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
(TESTS): Add alloca.test and alloca2.test.  Remove confdist.test.

21 years ago* automake.in (handle_dist): Delete DIST_COMMON before redefining
Alexandre Duret-Lutz [Fri, 20 Jun 2003 20:38:58 +0000 (20:38 +0000)]
* automake.in (handle_dist): Delete DIST_COMMON before redefining
it.  Bug report from Akim Demaille.
(rewrite_inputs_into_dependencies): Make sure we always return
something, even when $add_srcdir is 0.
* tests/distcom4.test, tests/distcom5.test: New files.
* tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.

21 years ago* tests/cond29.test: Also check for _SOURCES.
Alexandre Duret-Lutz [Fri, 20 Jun 2003 19:12:32 +0000 (19:12 +0000)]
* tests/cond29.test: Also check for _SOURCES.
Report from Paolo Bonzini.

21 years ago* lib/am/configure.am: Replace leading spaces with a real tab.
Akim Demaille [Fri, 20 Jun 2003 08:16:43 +0000 (08:16 +0000)]
* lib/am/configure.am: Replace leading spaces with a real tab.

21 years agoTypo fix
Tom Tromey [Sun, 15 Jun 2003 22:27:22 +0000 (22:27 +0000)]
Typo fix

21 years ago* tests/nogzip.test, tests/nogzip2.test: New files.
Alexandre Duret-Lutz [Sun, 15 Jun 2003 17:43:20 +0000 (17:43 +0000)]
* tests/nogzip.test, tests/nogzip2.test: New files.
* tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test

21 years ago2003-06-15 Akim Demaille <akim@epita.fr>
Alexandre Duret-Lutz [Sun, 15 Jun 2003 17:35:50 +0000 (17:35 +0000)]
2003-06-15  Akim Demaille  <akim@epita.fr>

* automake.in (&make_paragraphs): Define %GZIP%.
(&process_option_list): Accept no-dist-gzip2.
(&handle_dist): Complain when no archive format is enabled.
* lib/am/distdir.am (DIST_ARCHIVES): New variable.
(dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
conditioned.
(dist): Build $(distdir).tar.gz conditionally.
(distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
to list built archives.  Run $(MAKE) dist instead of dist-gzip.
* automake.texi (Options, The types of distributions): Adjust.

21 years ago2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
Alexandre Duret-Lutz [Sun, 15 Jun 2003 16:19:48 +0000 (16:19 +0000)]
2003-06-15  Jens Elkner  <elkner@imsgroup.de>  (tiny change)

        * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
        POSIXLY_CORRECT=1.

21 years ago2003-06-14 Karl Berry <karl@gnu.org>
Alexandre Duret-Lutz [Sat, 14 Jun 2003 22:01:41 +0000 (22:01 +0000)]
2003-06-14  Karl Berry  <karl@gnu.org>
    Alexandre Duret-Lutz  <adl@gnu.org>

* mkinstalldirs (scriptversion): New variable.  Setup emacs hooks
to update it each time the file is written, as in install-sh.
(usage): Improve message.
(--version): New option.
(--help): Output to stdout, not stderr.

21 years ago* lib/install.sh (dsttmp, rmtmp): Do not use '#' in file names;
Paul Eggert [Sat, 14 Jun 2003 05:05:47 +0000 (05:05 +0000)]
* lib/install.sh (dsttmp, rmtmp): Do not use '#' in file names;
it's not guaranteed by POSIX and it doesn't work on OpenVMS.
Bug reported by Bernard Giroud in:
http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html

21 years ago(dsttmp, rmtmp): Do not use '#' in file names;
Paul Eggert [Sat, 14 Jun 2003 05:04:52 +0000 (05:04 +0000)]
(dsttmp, rmtmp): Do not use '#' in file names;
it's not guaranteed by POSIX and it doesn't work on OpenVMS.
Bug reported by Bernard Giroud in:
http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html