platform/upstream/automake.git
21 years ago* lib/install-sh: Update copyright notice and license to that of
Alexandre Duret-Lutz [Fri, 9 May 2003 17:58:21 +0000 (17:58 +0000)]
* lib/install-sh: Update copyright notice and license to that of
X11R6.  This removes an advertising clause reported as Debian bug
#191717.

21 years ago* configure.in (ACLOCAL): Do not use -I, --acdir is enough.
Alexandre Duret-Lutz [Wed, 7 May 2003 21:12:43 +0000 (21:12 +0000)]
* configure.in (ACLOCAL): Do not use -I, --acdir is enough.

21 years ago* m4/make.m4: Rename the doit target as am__doit,
Alexandre Duret-Lutz [Wed, 7 May 2003 20:59:08 +0000 (20:59 +0000)]
* m4/make.m4: Rename the doit target as am__doit,
and make it phony.
Reported by Philip S Tellis.

21 years agoquote DJGPP; from Simon Richter
Alexandre Duret-Lutz [Tue, 6 May 2003 22:36:54 +0000 (22:36 +0000)]
quote DJGPP; from Simon Richter

21 years ago* lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
Alexandre Duret-Lutz [Tue, 6 May 2003 22:29:16 +0000 (22:29 +0000)]
* lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
status.
* tests/makej.test: New file (test Autom4te's cache locking,
new in CVS Autoconf).
* tests/Makefile.am (TESTS): Add makej.test.

21 years ago* lib/Automake/General.pm (contents): New function.
Alexandre Duret-Lutz [Tue, 6 May 2003 12:07:22 +0000 (12:07 +0000)]
* lib/Automake/General.pm (contents): New function.
* aclocal.in (greatest_mtime, force_output): New globals.
(scan_configure, add_file): Update $greatest_mtime.
(parse_arguments): Parse --force.
(write_aclocal): Do not overwrite $output_file unless needed.
* automake.texi (aclocal options): Document --force.
* tests/aclocal7.test: New file.
* tests/Makefile.am (TESTS): Add aclocal7.test.

21 years ago* automake.texi (Optional): Document m4_include.
Alexandre Duret-Lutz [Mon, 5 May 2003 19:56:21 +0000 (19:56 +0000)]
* automake.texi (Optional): Document m4_include.
(Invoking aclocal): Shake a bit to introduce the various uses
of aclocal and explain that aclocal will use m4_include for
local files.
(Extending aclocal): Show how to install installable macros
in $(datadir)/aclocal, and make it clearer that writing installable
macros is not the only way to extend aclocal.
(Local Macros, Future of aclocal): New sections.

21 years ago* automake.in (@common_files): Remove acinclude.m4 since
Alexandre Duret-Lutz [Sun, 27 Apr 2003 18:14:37 +0000 (18:14 +0000)]
* automake.in (@common_files): Remove acinclude.m4 since
it will be m4_included by aclocal.m4 and files are always
distributed.
(scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
We will get this dependency when tracing m4_includes.
* tests/aclocal6.test: Make sure acinclude.m4 is distributed
when used.
* tests/acinclude.test: Delete.
* tests/Makefile.am (TESTS): Remove acinclude.test.

21 years ago* automake.in (handle_configure): Don't add @configure_deps to
Alexandre Duret-Lutz [Fri, 25 Apr 2003 20:46:21 +0000 (20:46 +0000)]
* automake.in (handle_configure): Don't add @configure_deps to
DIST_COMMON, we do this from lib/am/configure.am now.
Define the am__configure_deps variable instead of substituing
%CONFIGURE_DEPS%.
* lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
$(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
(DIST_COMMON): Add $(am__configure_deps).

21 years ago* tests/aclocal6.test: New file.
Alexandre Duret-Lutz [Fri, 25 Apr 2003 18:39:21 +0000 (18:39 +0000)]
* tests/aclocal6.test: New file.
* lib/am/configure.am (am--refresh): New rule.
(%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
$(top_srcdir)/configure): Call the top-level am--refresh from
subdirectories.
($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%.  Call the
top-level am--refresh when not in the top-level directory.
Fix jump directories for VPATH builds.
Suggested by Raja R. Harinath.

21 years agotypos
Alexandre Duret-Lutz [Thu, 24 Apr 2003 18:54:46 +0000 (18:54 +0000)]
typos

21 years ago* automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
Alexandre Duret-Lutz [Thu, 24 Apr 2003 18:48:07 +0000 (18:48 +0000)]
* automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
and glob for m4_files (We've got all local m4 files while
tracing m4_include's).  Diagnose ACLOCAL_M4_SOURCES as obsolete.
Distribute aclocal.m4 only at the top-level.
(my_glob): Remove.  This fixes PR automake/11.
(handle_dist): Strip leading `./' from directories.
* aclocal.in (add_file): Output 'm4_include([file.m4])' instead
of copying local files.
(write_aclocal, parse_arguments): Bump copyright date.
* configure.in: De not build m4/amversion.m4 from here ...
* m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
(nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
of amversion.m4.
* tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
(TESTS): Remove aclocal2.test.  Do not test aclocal.test twice.
* tests/aclocal2.test: Delete (pointless).
* tests/aclocal5.test: Make sure configure's dependencies are
distributed.
* tests/acinclude.test: Adjust to search for m4_include.
* tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
configure instead of aclocal.m4.

21 years agoFor automake PR/46:
Alexandre Duret-Lutz [Thu, 24 Apr 2003 18:39:32 +0000 (18:39 +0000)]
For automake PR/46:
* automake.in (scan_aclocal_m4): Work in all directories, not only
the top-level.  Prepend $(top_srcdir) in front of each aclocal.m4
dependency.
* lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
Define rebuild rules in each directory.
* tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
from the top-level directory.
* tests/aclocal5.test: New file.  Exercise aclocal.m4's dependencies
from a subdirectory.
* tests/Makefile.am (TESTS): Add aclocal5.test.
(XFAIL_TESTS): Replace subdir8.test by aclocal5.test.

21 years agoFor automake PR/46:
Alexandre Duret-Lutz [Thu, 24 Apr 2003 18:33:42 +0000 (18:33 +0000)]
For automake PR/46:
* lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
because of one of configure's dependencies, run automake without
argument to update the whole tree at once.  Depend upon
%CONFIGURE_DEPS%.
(%MAKEFILE%): If Makefile is rebuilt because config.status has
been updated, run config.status without arguments.
* automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
before all files in @configure_deps.
* tests/subdir5.test: Modernize configure.in, make sure
maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
* tests/subdir8.test: New file.
* tests/Makefile.am (TESTS): Add subdir8.test.
(XFAIL_TESTS): Replace subdir5.test by subdir8.test.

21 years ago* automake.texi (Requirements): Typo in index
Alexandre Duret-Lutz [Wed, 23 Apr 2003 21:45:19 +0000 (21:45 +0000)]
* automake.texi (Requirements): Typo in index
s/AC_CONFIG_FILE/AC_CONFIG_FILES/.

21 years ago* lib/texinfo.tex: New upstream version.
Alexandre Duret-Lutz [Wed, 23 Apr 2003 19:08:47 +0000 (19:08 +0000)]
* lib/texinfo.tex: New upstream version.

21 years ago.
Jim Meyering [Mon, 21 Apr 2003 15:09:46 +0000 (15:09 +0000)]
.

21 years ago * lib/mkinstalldirs: Remove each sequence of spaces before a
Jim Meyering [Mon, 21 Apr 2003 15:06:29 +0000 (15:06 +0000)]
* lib/mkinstalldirs: Remove each sequence of spaces before a
TAB character.
* lib/depcomp: Search for TAB-SPC, not SPC-TAB.

21 years agoFix for PR automake/389:
Alexandre Duret-Lutz [Sat, 19 Apr 2003 11:22:22 +0000 (11:22 +0000)]
Fix for PR automake/389:
* automake.in (handle_configure): Don't put $colon_infile in
CONFIG-MAKEFILE.
* tests/conff.test: New file.
* tests/Makefile.am (TESTS): Add conff.test.
Reported by Alexander Turbov.

21 years agoback out mistaken commit
Alexandre Duret-Lutz [Fri, 18 Apr 2003 20:05:31 +0000 (20:05 +0000)]
back out mistaken commit

21 years ago* tests/defs.in: Handle required=etags to work around
Alexandre Duret-Lutz [Fri, 18 Apr 2003 19:59:31 +0000 (19:59 +0000)]
* tests/defs.in: Handle required=etags to work around
Exuberant Ctags.

21 years ago* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
Alexandre Duret-Lutz [Fri, 18 Apr 2003 17:23:20 +0000 (17:23 +0000)]
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.

21 years ago* tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
Alexandre Duret-Lutz [Fri, 18 Apr 2003 17:15:02 +0000 (17:15 +0000)]
* tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
Distribute dejagnu test cases, so that distcheck actually runs them.

21 years ago.
Jim Meyering [Fri, 18 Apr 2003 09:11:04 +0000 (09:11 +0000)]
.

21 years ago(variable_output): Fix typo in comment s/is/if/.
Jim Meyering [Fri, 18 Apr 2003 09:09:57 +0000 (09:09 +0000)]
(variable_output): Fix typo in comment s/is/if/.

21 years ago* lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
Richard Dawe [Fri, 18 Apr 2003 09:07:01 +0000 (09:07 +0000)]
* lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
  because we set that by invoking runtest with --tool.
* tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
  dejagnu6.test, dejagnu7.test.
* tests/dejagnu4.test: New test.
* tests/dejagnu5.test: New test.
* tests/dejagnu6.test: New test.
* tests/dejagnu7.test: New test.

* tests/dejagnu3.test: Make sure the DejaGnu test is actually run.

21 years ago * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
Jim Meyering [Fri, 18 Apr 2003 08:54:34 +0000 (08:54 +0000)]
* lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
directly to $@.  Instead, redirect to $@t and rename upon success.
Also, move the commands that update $@ so they are last.  Otherwise,
this rule could leave the user with an up to date target (.c file)
but with a missing or corrupted corresponding .h file.

21 years agos/Silent/Silence/
Alexandre Duret-Lutz [Thu, 17 Apr 2003 19:57:58 +0000 (19:57 +0000)]
s/Silent/Silence/

21 years ago* tests/defs.in: Handle required=runtest, to detect runtest from DejaGnu.
Richard Dawe [Thu, 17 Apr 2003 19:06:45 +0000 (19:06 +0000)]
* tests/defs.in: Handle required=runtest, to detect runtest from DejaGnu.
* tests/Makefile.am (TESTS): Add dejagnu3.test.
* tests/dejagnu3.test: New test.

21 years ago* automake.in (rule_define): If the user tries to override
Alexandre Duret-Lutz [Wed, 16 Apr 2003 19:59:03 +0000 (19:59 +0000)]
* automake.in (rule_define): If the user tries to override
an Automake which has a -local variant, suggest using the
-local variant in the -Woverride diagnostic.
(handle_factored_dependencies): Register factored
rules with rule_define, and define them only in undefined
conditions.
* tests/Makefile.am (TESTS): Add override.test.
* tests/overrid.test: New file.
* tests/phony.test: Count the number of .PHONY targets.

21 years ago* lib/am/distdir.am (distuninstallcheck, distcleancheck): Silent
Alexandre Duret-Lutz [Tue, 15 Apr 2003 20:40:31 +0000 (20:40 +0000)]
* lib/am/distdir.am (distuninstallcheck, distcleancheck): Silent
these rules, so that we don't confuse users by echoing
"echo ERROR:" commands which are not run.

21 years ago2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
Alexandre Duret-Lutz [Mon, 14 Apr 2003 19:59:30 +0000 (19:59 +0000)]
2003-03-14  Richard Dawe  <rich@phekda.freeserve.co.uk>
            Alexandre Duret-Lutz  <adl@gnu.org>

        * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
        initialize_per_input):  Add infrastructure for generating HTML
        documentation from texinfo source.
        * lib/am/texinfos.am: Add rules for building HTML documentation
        from texinfo source.
        * lib/am/texibuild.am: Likewise.
        * automake.texi (Texinfo): Document rules for building
        HTML documentation from texinfo source.
        * tests/txinfo21.test: New file.
        * tests/Makefile.am (TESTS): Add txinfo21.test.
* tests/defs.in: Handle required=makeinfo-html.

21 years ago* automake.in (%silent_variable_override): New variable.
Alexandre Duret-Lutz [Mon, 14 Apr 2003 19:13:15 +0000 (19:13 +0000)]
* automake.in (%silent_variable_override): New variable.
(macro_define): Warn about variable definitions overriding
Automake variables.
(rule_define): Warn about target definitions overriding
Automake variables.  Fix $condmsg definition.
* automake.texi (Invoking Automake): Document the `override'
category.
* lib/Automake/ChannelDefs.pm (usage): Likewise.
* lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
this is already done in m4/init.m4.
* tests/dejagnu2.test: Run $MAKE, don't only grep.  Use
-Wno-override, and make sure we get a warning without.
* tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
and make sure we get a warning without.
* tests/exeext3.test, tests/java2.test, tests/nolink.test,
tests/subpkg.test, tests/vartest.test: Use -Wno-override.
* tests/txinfo13.test: Use installcheck-local instead of overriding
installcheck.
* tests/txinfo2.test: Run $MAKE on the real Makefile (this test
used to succeed thanks to a failure...)
* tests/location.test: Adjust expected messages.
* tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.

21 years ago* lib/Automake/DisjConditions.pm (true): Don't cache answer.
Raja R Harinath [Sat, 12 Apr 2003 16:41:59 +0000 (16:41 +0000)]
* lib/Automake/DisjConditions.pm (true): Don't cache answer.
(invert): Update comment.
(_simplify): Remove.
(simplify): Implement using invert().
* lib/Automake/tests/DisjConditions.pl (test_simplify):
Update to reflect changes.

21 years ago* automake.in (scan_autoconf_files): Augment the error message
Alexandre Duret-Lutz [Sat, 12 Apr 2003 11:16:51 +0000 (11:16 +0000)]
* automake.in (scan_autoconf_files): Augment the error message
about AM_INIT_AUTOMAKE not found.
Suggested by Bruno Haible.

21 years ago* lib/Automake/Version.pm: New file.
Alexandre Duret-Lutz [Fri, 11 Apr 2003 22:11:43 +0000 (22:11 +0000)]
* lib/Automake/Version.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
* lib/Automake/tests/Version.pl: New file.
* lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
* tests/Makefile.am (TESTS): Remove version5.test.
* tests/version5.test: Delete.  Move the tests to Version.pl.
* automake.in (version_split, version_compare, version_check): Move ...
* lib/Automake/Version.pm (split, compare, check): ... here.

21 years ago* lib/Automake/tests/Condition.pl (test_reduce_and)
Alexandre Duret-Lutz [Fri, 11 Apr 2003 21:12:23 +0000 (21:12 +0000)]
* lib/Automake/tests/Condition.pl (test_reduce_and)
(test_reduce_or): Cosmetics.
* lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
Fix a comment.
* lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
in comment.
* tests/yacc8.test, configure.in: Update copyright year.

21 years ago* configure.in: Get the build platform name. Define
Richard Dawe [Thu, 10 Apr 2003 23:15:46 +0000 (23:15 +0000)]
* configure.in: Get the build platform name.  Define
  MODIFICATION_DELAY as the time to wait after modifying a file,
  to cope with timestamp granularity issues, depending
  on the platform.

* tests/defs.in: Define `sleep' using MODIFICATION_DELAY.

21 years ago2003-04-08 Eric Siegerman <eric_97@pobox.com> (tiny change)
Alexandre Duret-Lutz [Thu, 10 Apr 2003 20:36:14 +0000 (20:36 +0000)]
2003-04-08  Eric Siegerman  <eric_97@pobox.com>  (tiny change)

        * automake.texi (Public macros): Clarify that the new
        AM_INIT_AUTOMAKE variant is preferred, and the old one
        deprecated.  Copy-edit the rest of the AM_INIT_AUTOMAKE item.
        (Hello): Caution that the example uses the deprecated
        AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.

21 years agoRetain all variable definitions until the whole Makefile.am has
Alexandre Duret-Lutz [Thu, 10 Apr 2003 19:50:22 +0000 (19:50 +0000)]
Retain all variable definitions until the whole Makefile.am has
been processed, then output all variables in one step, at the top
of Makefile.in.  (Older revisions used to output user variables
before generating Automake targets, and to mix Automake variables
with Automake targets, preventing redefinitions of previously
output variables.)

* automake.in (%var_pretty): New variable.
(VAR_ASIS, VAR_PRETTY): New constants.
(@var_list): Rename as ...
(@var_order): ... this.
(initialize_per_input): Clear %var_pretty.
(handle_variables): New function, extracted from ...
(read_main_am_file): ... here.
(generate_makefile): Call handle_variable after everything else.
(handle_dist): Use define_pretty_variable, not pretty_print.
(pretty_print): Delete.
(macro_define): Augment with $COMMENT and $PRETTY parameters.
Update %var_comment, %var_pretty, and @var_order.  Adjust callers.
(variable_pretty_output): Merge with ...
(variable_output): ... this, and choose the prettiness on a
per-condition basis.
(append_comments): Delete.  This work is now done by macro_define.
(read_am_file, file_contents_internal): Don't call append_comments
nor update @var_list, adjust calls to macro_define.
(handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
just mark it as VAR_PRETTY.
* tests/exeext.test: Make sure bin_PROGRAMS is output only once.
Report from Jim Meyering.

21 years ago* automake.in (handle_installdirs): Rename as ...
Alexandre Duret-Lutz [Sun, 6 Apr 2003 19:26:29 +0000 (19:26 +0000)]
* automake.in (handle_installdirs): Rename as ...
(handle_install): ... this.  Define maybe_BUILT_SOURCES.
(generate_makefile): Adjust call to handle_install.
* lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
* automake.texi (Sources, Built sources example): BUILT_SOURCES
is honored by `make install' too.
* tests/check3.test: Make sure that `make install' also depends
upon BUILT_SOURCES.
Report from Alexander Turbov.

21 years ago* lib/am/libs.am (ARFLAGS): Define.
Alexandre Duret-Lutz [Sun, 6 Apr 2003 18:31:12 +0000 (18:31 +0000)]
* lib/am/libs.am (ARFLAGS): Define.
* automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
hard-coding `cru'.
* automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
are used, and how they can be overridden.
(Program and Library Variables): Adjust to show `$(ARFLAGS)'
instead of `cru'
* tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
* tests/ranlib.test: Delete, obsoleted by ar.test.
* tests/Makefile.am (TESTS): Remove ranlib.test.
Report from Paul Thomas.

21 years ago* automake.in (check_trailing_slash): New function (variation on
Alexandre Duret-Lutz [Thu, 3 Apr 2003 21:38:39 +0000 (21:38 +0000)]
* automake.in (check_trailing_slash): New function (variation on
a patch by Peter Muir).  Diagnose whitespaces following trailing
backslash.
(read_am_file): Use it.
* tests/backsl4.test: New file.
* tests/Makefile.am (TESTS): Add backsl4.test.
Reported by Peter Muir.

21 years agoSpeedup Automake::DisjConditions::invert().
Raja R Harinath [Sun, 30 Mar 2003 01:56:28 +0000 (01:56 +0000)]
Speedup Automake::DisjConditions::invert().
* lib/Automake/Condition.pm (multiply): New.
* lib/Automake/DisjConditions.pm (_multiply): Use it.
(sub_conditions): Likewise.

* lib/Automake/Condition.pm (reduce): Rename to ...
(reduce_and): ... this.
(reduce_or): New.
* lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
* lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
(test_reduce_and): ... this.
(test_reduce_or): New.
* lib/Automake/tests/DisjConditions.pl
(test_invert): Update to reflect effect of reduce_or().
(test_simplify): Don't skip invert() on larger inputs.

21 years agoAdd a $sleep before modifying Makefile.am so
Raja R Harinath [Sat, 29 Mar 2003 21:29:08 +0000 (21:29 +0000)]
Add a $sleep before modifying Makefile.am so
that timestamp will change.

21 years agotests/yacc8.test: Add a sleep before modifying Makefile.am so
Raja R Harinath [Sat, 29 Mar 2003 20:05:20 +0000 (20:05 +0000)]
tests/yacc8.test: Add a sleep before modifying Makefile.am so
that timestamp will change.

21 years ago* lib/am/tags.am (TAGS): Use --etags-include instead of --include,
Alexandre Duret-Lutz [Sun, 23 Mar 2003 20:37:20 +0000 (20:37 +0000)]
* lib/am/tags.am (TAGS): Use --etags-include instead of --include,
when supported by etags (Exuberant Ctags).
* tests/tagsub.test: Rewrite to _run_ the `tags' rule.

21 years agoFor Debian Bug #185388:
Alexandre Duret-Lutz [Thu, 20 Mar 2003 22:44:34 +0000 (22:44 +0000)]
For Debian Bug #185388:
* automake.texi (Extending): Augment the install-exec-hook
discussion with an example how to symlink a versioned binary.
* tests/insthook.test: Rewrite to test the above example.
Report from James R. Van Zandt.

21 years ago* Makefile.am (maintainer-check): Allow `automake:' tokens,
Alexandre Duret-Lutz [Wed, 19 Mar 2003 21:14:56 +0000 (21:14 +0000)]
* Makefile.am (maintainer-check): Allow `automake:' tokens,
occuring in location.test.  Automake now has 5 legitimate
unsubstituted @strings@.

21 years ago* tests/aclocal4.test: Require GNU make.
Alexandre Duret-Lutz [Wed, 19 Mar 2003 20:41:03 +0000 (20:41 +0000)]
* tests/aclocal4.test: Require GNU make.

21 years agoregen
Alexandre Duret-Lutz [Fri, 14 Mar 2003 21:57:49 +0000 (21:57 +0000)]
regen

21 years ago* tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
Alexandre Duret-Lutz [Fri, 14 Mar 2003 21:55:01 +0000 (21:55 +0000)]
* tests/aclocal4.test: New file.  Test for the ACLOCAL_M4 bug below.
* tests/Makefile.am (TESTS): Add aclocal4.test.

21 years ago* automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
Alexandre Duret-Lutz [Fri, 14 Mar 2003 21:46:57 +0000 (21:46 +0000)]
* automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
subdirectories.  Makefile.in depends on that variable.

21 years ago* m4/init.m4: Remove a leftover comment from the pre-1.7 era.
Alexandre Duret-Lutz [Thu, 13 Mar 2003 21:43:47 +0000 (21:43 +0000)]
* m4/init.m4: Remove a leftover comment from the pre-1.7 era.

21 years agoFix for PR automake/386:
Alexandre Duret-Lutz [Thu, 13 Mar 2003 21:33:59 +0000 (21:33 +0000)]
Fix for PR automake/386:
* m4/init.m4: Require Autoconf 2.55.
Reported by Owen Taylor.

21 years ago* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
Alexandre Duret-Lutz [Thu, 13 Mar 2003 20:50:59 +0000 (20:50 +0000)]
* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
(?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
Suggested by Matthias Andree.

21 years ago* tests/README: Typo.
Alexandre Duret-Lutz [Thu, 13 Mar 2003 20:33:05 +0000 (20:33 +0000)]
* tests/README: Typo.

21 years ago* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
Alexandre Duret-Lutz [Sat, 8 Mar 2003 09:02:15 +0000 (09:02 +0000)]
* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
(?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
Just echo the gcc command.
Suggested by Karl Berry.

21 years ago* lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
Alexandre Duret-Lutz [Thu, 6 Mar 2003 21:18:57 +0000 (21:18 +0000)]
* lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
`test -f foo || echo $(srcdir)/` to emulate a VPATH search when
outputing suffix rules.  This follows 2003-02-25's change.
* lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
* lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.

21 years ago* lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
Alexandre Duret-Lutz [Thu, 6 Mar 2003 21:11:48 +0000 (21:11 +0000)]
* lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
`test -f foo || echo $(srcdir)/` to emulate a VPATH search when
outputing suffix rules.  This follows 2003-02-25's change.
* lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
* lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.

21 years ago* automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
Alexandre Duret-Lutz [Wed, 5 Mar 2003 22:22:50 +0000 (22:22 +0000)]
* automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
with AC_CONFIG_FILES are cleaned by `make distclean'.  Don't
pretend otherwise.
Reported by Rafael Laboissiere.

21 years ago* lib/mdate-sh: Find out which column of the ls -l output contains
Alexandre Duret-Lutz [Tue, 4 Mar 2003 21:26:06 +0000 (21:26 +0000)]
* lib/mdate-sh: Find out which column of the ls -l output contains
the month. Do not assume it is at least the fifth column.

21 years ago* automake.texi (Emacs Lisp): Mention that `dist_' can be used.
Alexandre Duret-Lutz [Wed, 26 Feb 2003 21:05:12 +0000 (21:05 +0000)]
* automake.texi (Emacs Lisp): Mention that `dist_' can be used.

21 years ago* automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
Alexandre Duret-Lutz [Wed, 26 Feb 2003 20:53:48 +0000 (20:53 +0000)]
* automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
instead of lisp_LISP when they don't want byte-compilation.
Don't mention ELCFILES anymore.
* automake.in (handle_data): Allow lisp_DATA.
* tests/lisp5.test: New file.
* tests/Makefile.am (TESTS): Add lisp5.test.

21 years ago* automake.in (handle_emacs_lisp): Don't build *.elc files
Alexandre Duret-Lutz [Wed, 26 Feb 2003 20:11:18 +0000 (20:11 +0000)]
* automake.in (handle_emacs_lisp): Don't build *.elc files
if ELCFILES was set empty.
* tests/lisp4.test: New file.
* tests/Makefile.am (TESTS): Add lisp4.test.
Reported by Simon Josefsson.

21 years ago* tests/lex3.test, tests/lex5.test: Require flex.
Alexandre Duret-Lutz [Wed, 26 Feb 2003 12:17:14 +0000 (12:17 +0000)]
* tests/lex3.test, tests/lex5.test: Require flex.
Reported by Leo Davis.

21 years ago* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
Alexandre Duret-Lutz [Tue, 25 Feb 2003 20:07:33 +0000 (20:07 +0000)]
* lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
when outputing suffix rules.
* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
(?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
Suggested by Bruno Haible.

21 years ago* automake.in (read_am_file): Catch trailing backslashes on last line.
Alexandre Duret-Lutz [Tue, 25 Feb 2003 17:30:54 +0000 (17:30 +0000)]
* automake.in (read_am_file): Catch trailing backslashes on last line.
* tests/backsl3.test: New file.
* tests/Makefile.am (TESTS): Add backsl3.test.
Reported by Akim Demaille.

21 years ago* ChangeLog: Move 2002's entries to ...
Alexandre Duret-Lutz [Mon, 24 Feb 2003 22:58:40 +0000 (22:58 +0000)]
* ChangeLog: Move 2002's entries to ...
* ChangeLog.02: ... this new file.
* Makefile.am (EXTRA_DIST): Add ChangeLog.02.

21 years agoignore Makefile
Alexandre Duret-Lutz [Mon, 24 Feb 2003 22:13:47 +0000 (22:13 +0000)]
ignore Makefile

21 years ago2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
Alexandre Duret-Lutz [Mon, 24 Feb 2003 22:12:19 +0000 (22:12 +0000)]
2003-02-24  Richard Dawe  <rich@phekda.freeserve.co.uk>

* tests/version7.test: Use $sleep to sleep before updating
the version, to work around timestamp inconsistencies in Windows.

21 years ago* lib/am/texibuild.am: Don't remove the target info files. Instead,
Alexandre Duret-Lutz [Mon, 24 Feb 2003 22:09:21 +0000 (22:09 +0000)]
* lib/am/texibuild.am: Don't remove the target info files. Instead,
back up and restore them if makeinfo fails.
* tests/txinfo20.test: New file.
* tests/Makefile.am (TESTS): Add txinfo20.test.

21 years agoauto-detect the path separator; patch from Richard Dawe
Alexandre Duret-Lutz [Mon, 24 Feb 2003 14:34:58 +0000 (14:34 +0000)]
auto-detect the path separator; patch from Richard Dawe

21 years ago* automake.texi (FAQ, CVS, maintainer-mode, wildcards)
Alexandre Duret-Lutz [Sun, 23 Feb 2003 18:51:58 +0000 (18:51 +0000)]
* automake.texi (FAQ, CVS, maintainer-mode, wildcards)
(distcleancheck): Fix typos and other errors reported by Karl
Berry.

21 years agomissing file from 2003-02-19
Alexandre Duret-Lutz [Thu, 20 Feb 2003 17:16:20 +0000 (17:16 +0000)]
missing file from 2003-02-19

21 years ago* lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
Alexandre Duret-Lutz [Thu, 20 Feb 2003 16:49:44 +0000 (16:49 +0000)]
* lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
instead of ${...}.

21 years ago* tests/defs.in: Handle required=ro-dir.
Alexandre Duret-Lutz [Thu, 20 Feb 2003 12:28:37 +0000 (12:28 +0000)]
* tests/defs.in: Handle required=ro-dir.
* tests/destdir.test: Use this.

21 years ago* lib/am/distdir.am (distcheck): Strip any leading DOS drive
Alexandre Duret-Lutz [Wed, 19 Feb 2003 20:06:39 +0000 (20:06 +0000)]
* lib/am/distdir.am (distcheck): Strip any leading DOS drive
from dc_install_base.

21 years ago* lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
Alexandre Duret-Lutz [Wed, 19 Feb 2003 19:12:56 +0000 (19:12 +0000)]
* lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
DJGPP-style *.iNN info files.
(maintainer-clean-aminfo): Rewrite using the same pattern
as in uninstall-info-am.
* lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
DJGPP-style *.iNN info files before running $(MAKEINFO).
* tests/txinfo19.test: New file.
* tests/Makefile.am (TESTS): Add txinfo19.test.

21 years ago* lib/depcomp (dashmstdout): Cope with DOS filenames in
Alexandre Duret-Lutz [Tue, 18 Feb 2003 23:28:42 +0000 (23:28 +0000)]
* lib/depcomp (dashmstdout): Cope with DOS filenames in
dependencies.

21 years ago* lib/depcomp (makedepend): Don't pass $object to makedepend.
Alexandre Duret-Lutz [Mon, 17 Feb 2003 14:55:05 +0000 (14:55 +0000)]
* lib/depcomp (makedepend): Don't pass $object to makedepend.
Reported by Stepan Kasal.

21 years ago* tests/defs.in: Handle required=makedepend.
Alexandre Duret-Lutz [Wed, 12 Feb 2003 16:26:41 +0000 (16:26 +0000)]
* tests/defs.in: Handle required=makedepend.

21 years ago* Makefile.am (maintainer-check): Update the diff check
Alexandre Duret-Lutz [Wed, 12 Feb 2003 15:01:57 +0000 (15:01 +0000)]
* Makefile.am (maintainer-check): Update the diff check
to account for the recent @SHELL@ substitution.

21 years ago* lib/depcomp: Do not put comments on the `icc)' line.
Alexandre Duret-Lutz [Tue, 11 Feb 2003 21:06:38 +0000 (21:06 +0000)]
* lib/depcomp: Do not put comments on the `icc)' line.

21 years ago* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
Alexandre Duret-Lutz [Tue, 11 Feb 2003 20:48:31 +0000 (20:48 +0000)]
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.

21 years agoFix for PR automake/381:
Alexandre Duret-Lutz [Tue, 11 Feb 2003 19:32:36 +0000 (19:32 +0000)]
Fix for PR automake/381:
* automake.in (handle_gettext): Do not print diagnostics
about po/ and intl/ missing from SUBDIRS if po/ does not
exist.  Warn if `SUBDIRS = intl' is used although libintl
is 'external'.
* tests/gettext.test: Make sure diagnostics are not output
when po/ does not exist.
* tests/gettext2.test: Test for unwanted intl/.
PR from Alexander Turbov, fix suggested by Bruno Haible.

21 years ago* m4/depend.m4: Grep depcomp's stderr for icc warnings about
Alexandre Duret-Lutz [Tue, 11 Feb 2003 18:20:55 +0000 (18:20 +0000)]
* m4/depend.m4: Grep depcomp's stderr for icc warnings about
ignored options.
* lib/depcomp (icc): New mode.
* tests/depcomp5.test: New file.
* tests/defs.in: Handle required=icc.
* tests/Makefile.am (TESTS): Add it.

21 years agoTemporary hack for PR automake/381:
Alexandre Duret-Lutz [Tue, 11 Feb 2003 13:30:25 +0000 (13:30 +0000)]
Temporary hack for PR automake/381:
* automake.in (handle_gettext): Turn missing po/ and intl/ errors
into -Wsyntax warnings.

21 years agoalways use cp -rf instead of ln -s, as suggested by Richard Dawe
Alexandre Duret-Lutz [Tue, 11 Feb 2003 12:37:00 +0000 (12:37 +0000)]
always use cp -rf instead of ln -s, as suggested by Richard Dawe

21 years agoredirect ln errors to /dev/null
Alexandre Duret-Lutz [Mon, 10 Feb 2003 23:54:57 +0000 (23:54 +0000)]
redirect ln errors to /dev/null

21 years agoregen
Alexandre Duret-Lutz [Mon, 10 Feb 2003 23:35:50 +0000 (23:35 +0000)]
regen

21 years ago2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
Alexandre Duret-Lutz [Mon, 10 Feb 2003 23:33:49 +0000 (23:33 +0000)]
2003-02-10  Richard Dawe  <rich@phekda.freeserve.co.uk>

       * bootstrap: Don't require support for symlinks - copy instead.
       Override $SHELL with DJGPP's bash, if running DJGPP.  Substitute
       @SHELL@ in automake.in and aclocal.in.  This makes the setting
       of SHELL work for DJGPP.

21 years ago2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
Alexandre Duret-Lutz [Mon, 10 Feb 2003 23:14:14 +0000 (23:14 +0000)]
2003-02-10  Richard Dawe  <rich@phekda.freeserve.co.uk>

* Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
This makes the setting of SHELL work for DJGPP.

21 years agoFor PR automake/385:
Alexandre Duret-Lutz [Mon, 10 Feb 2003 22:15:53 +0000 (22:15 +0000)]
For PR automake/385:
* lib/depcomp (makedepend): Strip any libtool call, before
running makedepends.
* tests/depcomp4.test: New file.
* tests/Makefile.am (TESTS): Add it.
Reported by Jeff Squyres.

21 years agoRelated to PR automake/385:
Alexandre Duret-Lutz [Mon, 10 Feb 2003 21:47:58 +0000 (21:47 +0000)]
Related to PR automake/385:
* lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
write dependencies to /dev/null.  `-o /dev/null' was added
on 2002-06-13 just because I tried to replace `-o foo.o' by something
else and didn't thought about removing it entirely.
* tests/depcomp3.test: New file.
* tests/Makefile.am (TESTS): Add it.

21 years agotypo in last patch
Alexandre Duret-Lutz [Mon, 10 Feb 2003 19:00:16 +0000 (19:00 +0000)]
typo in last patch

21 years ago* automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
Alexandre Duret-Lutz [Mon, 10 Feb 2003 14:10:39 +0000 (14:10 +0000)]
* automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
SHELL for DJGPP.
Suggested by Richard Dawe.

21 years ago* automake.texi (FAQ, CVS, maintainer-mode, wildcards)
Alexandre Duret-Lutz [Sun, 9 Feb 2003 20:59:10 +0000 (20:59 +0000)]
* automake.texi (FAQ, CVS, maintainer-mode, wildcards)
(distcleancheck): New nodes.

21 years ago* automake.in (scan_autoconf_files): Don't complain that
Alexandre Duret-Lutz [Thu, 6 Feb 2003 16:52:36 +0000 (16:52 +0000)]
* automake.in (scan_autoconf_files): Don't complain that
AM_INIT_AUTOMAKE comes from an old version if it was not found.

21 years ago* automake.in (am_install_var): Simplify filtering of
Alexandre Duret-Lutz [Wed, 5 Feb 2003 19:19:14 +0000 (19:19 +0000)]
* automake.in (am_install_var): Simplify filtering of
variable_loc_and_value_as_list_recursive's output.