platform/upstream/automake.git
23 years ago* automake.in: `my' the globals.
Akim Demaille [Sun, 25 Feb 2001 18:39:59 +0000 (18:39 +0000)]
* automake.in: `my' the globals.

23 years ago* automake.in (&initialize_per_input): %targets_conditionals is
Akim Demaille [Sun, 25 Feb 2001 18:37:40 +0000 (18:37 +0000)]
* automake.in (&initialize_per_input): %targets_conditionals is
new.
(&read_am_file): When slurping a rule, set the target related
variable, and no variable related variable.
(&file_contents): Likewise.
* tests/vartar.test, tests/ctarget1.test: New.

23 years ago* automake.in (&initialize_per_input): %targets_conditionals is
Akim Demaille [Sun, 25 Feb 2001 18:17:57 +0000 (18:17 +0000)]
* automake.in (&initialize_per_input): %targets_conditionals is
new.
(&read_am_file): When slurping a rule, set the target related
variable, and no variable related variable.
(&file_contents): Likewise.
* tests/vartar.test, tests/ctarget1.test: New.

23 years ago* automake.in (&variable_defined, &variable_value_as_list_worker):
Akim Demaille [Sun, 25 Feb 2001 18:16:07 +0000 (18:16 +0000)]
* automake.in (&variable_defined, &variable_value_as_list_worker):
If $VAR is effectively a variable, don't die if it's also a
target.
Plus some formatting changes.

23 years ago* automake.in: Mying changes.
Akim Demaille [Sun, 25 Feb 2001 18:15:13 +0000 (18:15 +0000)]
* automake.in: Mying changes.
* Makefile.am (maintainer-check): Check the stability of the
number of uses of `local'.

23 years ago* automake.in: Mying changes.
Akim Demaille [Sun, 25 Feb 2001 18:12:35 +0000 (18:12 +0000)]
* automake.in: Mying changes.

23 years ago* automake.in: Mying changes.
Akim Demaille [Sun, 25 Feb 2001 18:11:41 +0000 (18:11 +0000)]
* automake.in: Mying changes.

23 years ago* automake.in: Mying changes.
Akim Demaille [Sun, 25 Feb 2001 18:10:50 +0000 (18:10 +0000)]
* automake.in: Mying changes.
(&handle_tags): Fix a bug uncovered by the previous mying changes:
transform CONFIG into $config, not $xform.

23 years ago* automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
Akim Demaille [Sun, 25 Feb 2001 18:04:29 +0000 (18:04 +0000)]
* automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
Don't deal with install-data-am, install-exec-am and unstall-am.
(&initialize_per_input): Add them to %dependencies.
Remove %exec_dir_p since the *.am files are now in charge of it.
Remove @uninstall, @install_data, @install_exec.
(&handle_merge_targets): Adjust to these removals.
(&file_contents): Also &transform_cond for --no-installman and
--no-installinfo.
(&do_one_merge_target): Add some magic to install hooks on
%dependencies' targets.
(%required_targets): New.
(&handle_factored_dependencies): Output required targets.
* data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
* mans-vars.am, mans.am, progs.am, python.am, scripts.am,
* texinfos.am: Declare your dependencies on install-data-am,
install-exec-am and uninstall-am.
* tests/instdata2.test (incldata_HEADERS): New test.

23 years agoRebuild.
Pavel Roskin [Sun, 25 Feb 2001 06:47:17 +0000 (06:47 +0000)]
Rebuild.

23 years ago * Makefile.am (amfiles): Added texibuild.am.
Tom Tromey [Sun, 25 Feb 2001 04:37:52 +0000 (04:37 +0000)]
* Makefile.am (amfiles): Added texibuild.am.
* texibuild.am: New file.
* tests/Makefile.am (TESTS): Added texinfo9.test.
* tests/texinfo9.test: New file.
* automake.in (handle_texinfo): Keep track of suffixes used.  Give
error if suffix unrecognized.  Removed extraneous newline.

23 years ago* automake.in (&am_install_var): Don't hook on the clean targets
Akim Demaille [Fri, 23 Feb 2001 15:11:19 +0000 (15:11 +0000)]
* automake.in (&am_install_var): Don't hook on the clean targets
and .PHONY.
* data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
* ltlib-clean.am, progs-clean.am, python-clean.am,  tags-clean.am:
Do it.

23 years ago* automake.in: Promote local `my' over `local'.
Akim Demaille [Fri, 23 Feb 2001 15:07:56 +0000 (15:07 +0000)]
* automake.in: Promote local `my' over `local'.

23 years ago* automake.in: Formatting and mying changes.
Akim Demaille [Fri, 23 Feb 2001 15:06:52 +0000 (15:06 +0000)]
* automake.in: Formatting and mying changes.

23 years ago* automake.in: Formatting and mying changes.
Akim Demaille [Fri, 23 Feb 2001 15:06:16 +0000 (15:06 +0000)]
* automake.in: Formatting and mying changes.

23 years ago* automake.in (&handle_man_pages): Let install-man and
Akim Demaille [Fri, 23 Feb 2001 15:03:52 +0000 (15:03 +0000)]
* automake.in (&handle_man_pages): Let install-man and
uninstall-man be handled by the dependency tracker.
(&initialize_per_input): Let %dependencies track them.
* mans.am: Add the needed hooks with the proper dependencies.

23 years ago* tests/target-cflags.test: Don't use subshell to configure in
Pavel Roskin [Thu, 22 Feb 2001 18:49:50 +0000 (18:49 +0000)]
* tests/target-cflags.test: Don't use subshell to configure in
subdirectory. Typo fix - run `./foo', not `/foo'.

23 years ago* automake.in: Formatting and mying changes.
Akim Demaille [Thu, 22 Feb 2001 15:58:55 +0000 (15:58 +0000)]
* automake.in: Formatting and mying changes.

23 years ago * automake.in (handle_dist): Introduce new variable to avoid extra
Tom Tromey [Thu, 22 Feb 2001 02:58:51 +0000 (02:58 +0000)]
* automake.in (handle_dist): Introduce new variable to avoid extra
keys in %dist_dirs.  Fixes distdir.test.

23 years ago * automake.in (handle_texinfo): Only remove suffixes we can
Tom Tromey [Thu, 22 Feb 2001 02:40:19 +0000 (02:40 +0000)]
* automake.in (handle_texinfo): Only remove suffixes we can
handle.

23 years ago * tests/distdir.test: Check to make sure directory isn't made in
Tom Tromey [Thu, 22 Feb 2001 02:35:30 +0000 (02:35 +0000)]
* tests/distdir.test: Check to make sure directory isn't made in
build directory.

23 years ago * automake.in (handle_dist): Do nothing in Cygnus mode.
Tom Tromey [Wed, 21 Feb 2001 21:07:15 +0000 (21:07 +0000)]
* automake.in (handle_dist): Do nothing in Cygnus mode.

23 years agoRebuild.
Pavel Roskin [Wed, 21 Feb 2001 15:41:00 +0000 (15:41 +0000)]
Rebuild.

23 years ago* header-vars.am: Remove tabs before variable definitions.
Pavel Roskin [Wed, 21 Feb 2001 15:36:29 +0000 (15:36 +0000)]
* header-vars.am: Remove tabs before variable definitions.

23 years ago* tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
Akim Demaille [Wed, 21 Feb 2001 09:29:28 +0000 (09:29 +0000)]
* tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
false diagnostics.

23 years ago* automake.in (&dist_cmp, &target_cmp): Be sure to return a
Akim Demaille [Wed, 21 Feb 2001 08:42:45 +0000 (08:42 +0000)]
* automake.in (&dist_cmp, &target_cmp): Be sure to return a
numeric value as required by Perl 5.6.

23 years agoRemove.
Akim Demaille [Wed, 21 Feb 2001 08:37:54 +0000 (08:37 +0000)]
Remove.

23 years ago* dist-vars.am: Remove, merge into...
Akim Demaille [Wed, 21 Feb 2001 08:35:51 +0000 (08:35 +0000)]
* dist-vars.am: Remove, merge into...
* distdir.am: this.
* automake.in (dirname, basename, backname): Move at the top of
the file so that prototypes are checked,
Use them without `&'.
(&handle_dist): Adjust.

23 years ago* automake.in (&check_ambiguous_conditional, &read_main_am_file):
Akim Demaille [Wed, 21 Feb 2001 08:35:02 +0000 (08:35 +0000)]
* automake.in (&check_ambiguous_conditional, &read_main_am_file):
Use a uniform naming scheme.
(&quote_cond_val, &unquote_cond_val): Delete, dead code.
(&read_am_file): Fix conditioned definition of backslash continued
items.

23 years agoChange the handling of conditionals: instead of using an ad-hoc
Akim Demaille [Wed, 21 Feb 2001 08:32:03 +0000 (08:32 +0000)]
Change the handling of conditionals: instead of using an ad-hoc
encoding to store a hash in a string, use hashes.
* automake.in (&conditional_dump): New.
(&check_ambiguous_conditional, &variable_defined)
(&variable_conditions_sub, &variable_value_as_list_worker)
(&define_variable, read_am_file, &read_main_am_file): Be sure to
handle `$conditional{$vars}' as a hash instead of a plain string.

23 years ago* automake.in (&conditional_true_when): Modernize, simplify.
Akim Demaille [Wed, 21 Feb 2001 08:31:40 +0000 (08:31 +0000)]
* automake.in (&conditional_true_when): Modernize, simplify.
Warning: `$comp' is now private (my), while it used to be
`inherited' from a `local' elsewhere in the code.  AFAICT it was
wrong, but some dirty side effect might show up.
(&conditionals_true_when): New.
(&variable_conditions_sub, &variable_conditions_reduce): Use it.

23 years ago* automake.in ($top_builddir): Remove, used in one place.
Akim Demaille [Wed, 21 Feb 2001 08:30:56 +0000 (08:30 +0000)]
* automake.in ($top_builddir): Remove, used in one place.
(&define_standard_variables): Adjust.
Move the definition of triplet variables into...
* header-vars.am: here.

23 years ago* automake.in (&initialize_global_constants): Don't define $USAGE.
Akim Demaille [Wed, 21 Feb 2001 08:30:39 +0000 (08:30 +0000)]
* automake.in (&initialize_global_constants): Don't define $USAGE.
(&usage): Handle the former content of $USAGE.
Don't pretend autoconf cares about Makefile.in.
Classify the options.
(&handle_tests): Formatting and mying changes.

23 years ago* automake.in (&handle_tests_dejagnu): Move the definition of a
Akim Demaille [Wed, 21 Feb 2001 08:28:03 +0000 (08:28 +0000)]
* automake.in (&handle_tests_dejagnu): Move the definition of a
default `site.exp' into...
* dejagnu.am (site.exp): here.
Use DOS compliant file names.

23 years ago* automake.in (&dist_cmp): New.
Akim Demaille [Wed, 21 Feb 2001 08:27:41 +0000 (08:27 +0000)]
* automake.in (&dist_cmp): New.
(&handle_dist): Use it.
Promote `my' over `local'.

23 years ago* dist.am: Remove, merge into...
Akim Demaille [Wed, 21 Feb 2001 08:26:34 +0000 (08:26 +0000)]
* dist.am: Remove, merge into...
* distdir.am: here.  Use the neat sed snippet for banners.
BTW, distcheck is phony.
* automake.in (&handle_dist_worker): Remove, merge into...
(&handle_dist): this.
(&file_contents): Strip leading new lines.
Be sure to end comments with new lines.

23 years ago* distdir.am (GZIP_ENV): Define.
Akim Demaille [Wed, 21 Feb 2001 08:22:25 +0000 (08:22 +0000)]
* distdir.am (GZIP_ENV): Define.
* automake.in (&handle_dist): Don't.
(&uniq): New.
(&handle_dist_worker, &am_install_var): Use it.

23 years ago* distdir.am (distdir): Handle the DIST-TARGETS.
Akim Demaille [Wed, 21 Feb 2001 08:21:43 +0000 (08:21 +0000)]
* distdir.am (distdir): Handle the DIST-TARGETS.
* automake.in (&handle_dist_worker): Don't.

23 years ago* automake.in (&file_contents): Transform the global options (such
Akim Demaille [Wed, 21 Feb 2001 08:21:01 +0000 (08:21 +0000)]
* automake.in (&file_contents): Transform the global options (such
as CYGNUS).
(&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.

23 years ago* distdir.am (distdir): Be sure to have permissive rights on its
Akim Demaille [Wed, 21 Feb 2001 08:20:40 +0000 (08:20 +0000)]
* distdir.am (distdir): Be sure to have permissive rights on its
contents.
(dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
targets.
And BTW, all these guys are phony.
* automake.in (&handle_dist_worker): As its name doesn't indicate,
output distributions.
(&handle_dist): As its name doesn't indicate, don't.
(&initialize_global_constants): Don't define variables which
content is now handled by distdir.am.
But register `dist-all' as a factored target.
(&handle_factored_dependencies): Don't output empty targets.

23 years ago * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
Tom Tromey [Wed, 21 Feb 2001 02:49:25 +0000 (02:49 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
invocation.

23 years agoRebuild.
Pavel Roskin [Mon, 19 Feb 2001 15:20:45 +0000 (15:20 +0000)]
Rebuild.

23 years ago * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
Tom Tromey [Mon, 19 Feb 2001 00:12:15 +0000 (00:12 +0000)]
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
(AM_PROG_STRIP): Commented out.

23 years ago2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey [Sun, 18 Feb 2001 01:29:54 +0000 (01:29 +0000)]
2001-02-17  Raja R Harinath  <harinath@cs.umn.edu>

* depcomp (gcc3): Protect against the compiler deleting
the dependency output file.

23 years ago2001-02-17 Tom Tromey <tromey@redhat.com>
Tom Tromey [Sun, 18 Feb 2001 00:35:19 +0000 (00:35 +0000)]
2001-02-17  Tom Tromey  <tromey@redhat.com>

* automake.in (handle_merge_targets): Use double quotes around
setting of INSTALL_STRIP_PROGRAM.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
to absolute path at runtime.
(AM_PROG_STRIP): Don't explicitly test $STRIP.

2001-01-28  Alexandre Duret-Lutz  <duret_g@epita.fr>

* m4/strip.m4: New file.
* m4/Makefile.am (m4data_DATA): Add strip.m4.
* m4/init.m4: Call AM_PROG_INSTALL_STRIP.
* m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
(AM_MISSING_INSTALL_SH, AM_MISSING_HAS_RUN): Use $am_aux_dir instead
of $ac_aux_dir, and require AM_AUX_DIR_EXPAND.
* m4/depend.m4 (AM_DEP_TRACK): Likewise.
* automake.in (handle_merge_targets): In the install-strip rule,
set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
* progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
don't use INSTALL_STRIP_FLAG any longer.
* header-vars.am (INSTALL_STRIP_FLAG): Remove.
(INSTALL_PROGRAM_ENV): New variable.

23 years ago2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
Tom Tromey [Sat, 17 Feb 2001 02:35:53 +0000 (02:35 +0000)]
2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>

* automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
argument.

23 years ago2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
Tom Tromey [Sat, 17 Feb 2001 02:34:19 +0000 (02:34 +0000)]
2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>

* automake.in (unquote_m4_arg): New function.
(scan_one_configure_file): Call unquote_m4_arg on
AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
works.

23 years ago * config.guess, config.sub: New versions from FSF.
Tom Tromey [Fri, 16 Feb 2001 06:48:01 +0000 (06:48 +0000)]
* config.guess, config.sub: New versions from FSF.

* Makefile.am (WGET): New macro.
(FETCHFILES): New macro.
(fetch): New target.

23 years ago * tests/subobj3.test: Exit with status 77 if gcc not found.
Tom Tromey [Fri, 16 Feb 2001 06:16:27 +0000 (06:16 +0000)]
* tests/subobj3.test: Exit with status 77 if gcc not found.
* tests/pr9.test: Exit with status 77 if gzip not found.
* tests/pr87.test: Exit with status 77 if gcc not found.
* tests/pr19.test: Exit with status 77 if gzip or gcc not found.
* tests/install2.test: Exit with status 77 if gzip not found.
* tests/exsource.test: Exit with status 77 if GNU make not found.
* tests/ansi3.test: Exit with status 77 if gcc not found.

* tests/target-cflags.test: Require GNU make.  Exit with status 77
if gcc or make not found.  Fixes PR automake/121.

23 years ago * configure.in: Require Perl 5.005.
Tom Tromey [Fri, 16 Feb 2001 05:56:09 +0000 (05:56 +0000)]
* configure.in: Require Perl 5.005.
* automake.in: Require 5.005.

23 years ago * automake.texi (Top): Conditionalize on `nottex', not `info'.
Tom Tromey [Fri, 16 Feb 2001 01:20:22 +0000 (01:20 +0000)]
* automake.texi (Top): Conditionalize on `nottex', not `info'.
Fixes PR automake/122.

23 years ago * automake.in (add_depend2): Only emit a given object rule once.
Tom Tromey [Thu, 15 Feb 2001 03:56:36 +0000 (03:56 +0000)]
* automake.in (add_depend2): Only emit a given object rule once.
Fixes specflags6.test.

23 years ago2001-02-14 Richard Boulton <richard@tartarus.org>
Tom Tromey [Thu, 15 Feb 2001 02:49:08 +0000 (02:49 +0000)]
2001-02-14  Richard Boulton  <richard@tartarus.org>

* tests/specflags6.test: New file.

23 years ago * automake.texi (A Shared Library): Mention -module.
Tom Tromey [Wed, 14 Feb 2001 20:54:25 +0000 (20:54 +0000)]
* automake.texi (A Shared Library): Mention -module.

23 years ago * automake.in (do_one_merge_target): Always register $name and
Tom Tromey [Wed, 14 Feb 2001 02:33:43 +0000 (02:33 +0000)]
* automake.in (do_one_merge_target): Always register $name and
$name-am as phony.

23 years ago * automake.in (do_one_merge_target): Register `all' as phony
Tom Tromey [Tue, 13 Feb 2001 18:00:34 +0000 (18:00 +0000)]
* automake.in (do_one_merge_target): Register `all' as phony
target.

23 years ago * configure.in: Updated to 1.4e for cvs.
Tom Tromey [Tue, 13 Feb 2001 07:03:55 +0000 (07:03 +0000)]
* configure.in: Updated to 1.4e for cvs.

23 years ago * configure.in: Updated to 1.4d and released.
Tom Tromey [Tue, 13 Feb 2001 06:52:58 +0000 (06:52 +0000)]
* configure.in: Updated to 1.4d and released.

23 years ago * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
Tom Tromey [Tue, 13 Feb 2001 06:43:43 +0000 (06:43 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
names through autoconf.

23 years ago2001-02-12 Tom Tromey <tromey@redhat.com>
Tom Tromey [Mon, 12 Feb 2001 16:49:56 +0000 (16:49 +0000)]
2001-02-12  Tom Tromey  <tromey@redhat.com>

Fix for subdirbuiltsources.test:
* automake.in (initialize_per_input): [all_target] Initialize to
empty string.
(handle_merge_targets): Use all-redirect target to handle built
sources.
(do_one_merge_target): Don't generate all-redirect rule.

2001-02-11  Peter Muir  <iyhi@yahoo.com>

* tests/subdirbuiltsources.test: New file.
* tests/Makefile.am (TESTS): Added new file.

23 years agoRebuild.
Pavel Roskin [Mon, 12 Feb 2001 15:39:23 +0000 (15:39 +0000)]
Rebuild.

23 years ago * tests/condlib.test: New file.
Tom Tromey [Sat, 10 Feb 2001 19:50:18 +0000 (19:50 +0000)]
* tests/condlib.test: New file.
* tests/Makefile.am (TESTS): Added new file.

23 years ago2001-02-10 Lars J. Aas <larsa@sim.no>
Tom Tromey [Sat, 10 Feb 2001 19:04:24 +0000 (19:04 +0000)]
2001-02-10  Lars J. Aas  <larsa@sim.no>

* automake.in ($MACRO_PATTERN): Include '@' in name regex.
(&canonicalize): New. Includes '@' in canonical range.
(&check_canonical_spelling, &handle_programs, &handle_libraries,
&handle_ltlibraries, &handle_texinfo): Use &canonicalize.

23 years ago2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey [Sat, 10 Feb 2001 19:02:28 +0000 (19:02 +0000)]
2001-02-10  Raja R Harinath  <harinath@cs.umn.edu>

* automake.in (handle_configure): Revert part of
'2001-02-04  Kevin Ryde <user42@zip.com.au>'.  Don't
set CONFIG_COMMANDS explicitly.

23 years ago2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey [Sat, 10 Feb 2001 01:26:54 +0000 (01:26 +0000)]
2001-02-09  Raja R Harinath  <harinath@cs.umn.edu>

* depcomp (gcc3): Propagate exit code.

23 years ago * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
Tom Tromey [Fri, 9 Feb 2001 21:52:30 +0000 (21:52 +0000)]
* header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)

23 years ago Clean up maintainer-check warnings:
Tom Tromey [Fri, 9 Feb 2001 07:06:53 +0000 (07:06 +0000)]
Clean up maintainer-check warnings:
* Makefile.am (maintainer-check): Ignore comment lines in CDPATH
check.
* automake.in (handle_dist_worker): Removed redundant `my $xform'.

23 years ago* automake.in (&file_contents): Remove a dead branch.
Akim Demaille [Fri, 9 Feb 2001 03:39:18 +0000 (03:39 +0000)]
* automake.in (&file_contents): Remove a dead branch.

23 years ago* automake.in (&transform): Use `my', not `local'.
Akim Demaille [Fri, 9 Feb 2001 03:38:16 +0000 (03:38 +0000)]
* automake.in (&transform): Use `my', not `local'.
(&transform_cond): New.
(&get_object_extension, &handle_texinfo, &handle_tags)
(&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
(&handle_tests_dejagnu): Use it.
* texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
* dejagnu.am, data.am, clean.am: Adjust to the new syntax.

23 years ago* automake.in: Various formatting changes, and modernization of
Akim Demaille [Fri, 9 Feb 2001 02:48:24 +0000 (02:48 +0000)]
* automake.in: Various formatting changes, and modernization of
Perl constructs.
(&backname): New.
(&handle_configure, define_standard_variables): Use it.

23 years ago * automake.in (file_contents): Only add $actions if any are
Tom Tromey [Fri, 9 Feb 2001 02:30:27 +0000 (02:30 +0000)]
* automake.in (file_contents): Only add $actions if any are
found.  Fixes new failure in pr87.test.

23 years ago* tests/pr87.test: Check foo/Makfile.in after it is created.
Pavel Roskin [Fri, 9 Feb 2001 01:18:38 +0000 (01:18 +0000)]
* tests/pr87.test: Check foo/Makfile.in after it is created.

23 years agoupdated comment
Tom Tromey [Thu, 8 Feb 2001 19:32:30 +0000 (19:32 +0000)]
updated comment

23 years ago * tests/pr87.test: Added check for blank line after `.c.o' rule.
Tom Tromey [Thu, 8 Feb 2001 19:31:12 +0000 (19:31 +0000)]
* tests/pr87.test: Added check for blank line after `.c.o' rule.
Report from Lars J. Aas.

23 years agomention Perl 5 in HACKING
Tom Tromey [Thu, 8 Feb 2001 19:13:23 +0000 (19:13 +0000)]
mention Perl 5 in HACKING

23 years ago * lisp.am (install-@DIR@LISP): Removed extra space.
Tom Tromey [Thu, 8 Feb 2001 06:36:14 +0000 (06:36 +0000)]
* lisp.am (install-@DIR@LISP): Removed extra space.
* header.am (install-@DIR@HEADERS): Removed extra space.
* data.am (install-@DIR@DATA): Removed extra space.

23 years ago * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
Tom Tromey [Thu, 8 Feb 2001 06:32:16 +0000 (06:32 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".

23 years ago * automake.in (handle_dependencies): Use _am_include, not
Tom Tromey [Thu, 8 Feb 2001 05:48:09 +0000 (05:48 +0000)]
* automake.in (handle_dependencies): Use _am_include, not
AMINCLUDE.
* tests/exsource.test: Use _am_include, not AMINCLUDE.
* m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.

23 years agoupdated HACKING
Tom Tromey [Thu, 8 Feb 2001 05:44:52 +0000 (05:44 +0000)]
updated HACKING

23 years ago * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
Tom Tromey [Thu, 8 Feb 2001 05:21:43 +0000 (05:21 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.

23 years ago * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
Tom Tromey [Wed, 7 Feb 2001 21:51:39 +0000 (21:51 +0000)]
* tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.

23 years agoRenamed ChangeLog
Tom Tromey [Wed, 7 Feb 2001 21:19:35 +0000 (21:19 +0000)]
Renamed ChangeLog

23 years ago * automake.in (handle_configure): Handle case where output file is
Tom Tromey [Wed, 7 Feb 2001 21:15:06 +0000 (21:15 +0000)]
* automake.in (handle_configure): Handle case where output file is
in subdir with no Makefile of its own.  Fixes remake3.test,
distcommon.test.

23 years ago * Makefile.am (XFAIL_TESTS): Removed remake3.test,
Tom Tromey [Wed, 7 Feb 2001 21:14:12 +0000 (21:14 +0000)]
* Makefile.am (XFAIL_TESTS): Removed remake3.test,
distcommon.test.

23 years ago * Makefile.am (XFAIL_TESTS): Added new files.
Tom Tromey [Wed, 7 Feb 2001 20:55:43 +0000 (20:55 +0000)]
* Makefile.am (XFAIL_TESTS): Added new files.

23 years ago * distcommon.test: New file.
Tom Tromey [Wed, 7 Feb 2001 20:55:07 +0000 (20:55 +0000)]
* distcommon.test: New file.
* Makefile.am (TESTS): Added new file.

23 years ago * distcommon.test: New file.
Tom Tromey [Wed, 7 Feb 2001 20:07:28 +0000 (20:07 +0000)]
* distcommon.test: New file.
* Makefile.am (TESTS): Added new file.

23 years agoTypos.
Akim Demaille [Tue, 6 Feb 2001 15:10:35 +0000 (15:10 +0000)]
Typos.

23 years ago* automake.in (handle_dependencies): Rename AM_INCLUDE to
Pavel Roskin [Tue, 6 Feb 2001 15:03:59 +0000 (15:03 +0000)]
* automake.in (handle_dependencies): Rename AM_INCLUDE to
AMINCLUDE.
* m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
* tests/exsource.test: Likewise.

23 years ago* autoheader.sh: only set config_h for the first call to
Akim Demaille [Tue, 6 Feb 2001 10:25:21 +0000 (10:25 +0000)]
* autoheader.sh: only set config_h for the first call to
AC_CONFIG_HEADERS

23 years ago* automake.in (handle_configure): fix syntax error
Akim Demaille [Tue, 6 Feb 2001 10:21:38 +0000 (10:21 +0000)]
* automake.in (handle_configure): fix syntax error

23 years ago* subdirs.am: This file is the exception: clean recursive targets
Akim Demaille [Tue, 6 Feb 2001 10:17:57 +0000 (10:17 +0000)]
* subdirs.am: This file is the exception: clean recursive targets
are called by the clean targets, not the clean-am targets.
Otherwise we have a circular dependency: clean -> clean-am ->
clean-recursive -> clean.
* automake.in (handle_clean): Bind `-local' targets to `-am'
targets, not top targets.
Don't declare -recursive dependencies of the clean targets:
`subdirs.am' did it.  Less hard coded knowledge, transfered
into...
* clean.am: here.

23 years agoFix `unless' uses.
Akim Demaille [Tue, 6 Feb 2001 09:22:15 +0000 (09:22 +0000)]
Fix `unless' uses.

23 years agoAdd maintainer-clean.
Akim Demaille [Tue, 6 Feb 2001 09:11:00 +0000 (09:11 +0000)]
Add maintainer-clean.

23 years agoMonstro unsplitable patch.
Akim Demaille [Tue, 6 Feb 2001 09:09:36 +0000 (09:09 +0000)]
Monstro unsplitable patch.
The aim is to remove hard coded knowledge about clean targets from
automake.in, leaving them in the *.am files.
In addition to the mechanic needed to factor some dependencies, it
appears some rules (most notably distclean and maintainer-clean)
need factored actions.  So first, be ready to catch factored
rules.
* automake.in (&file_contents): For the time being, use an extended
$RULE_PATTERN which is able to match any kind of rules, with or
without dependency, with or without actions.
Handle all the rules uniformly, storing in %actions the factored
actions.
(&flatten, &target_cmp): New.
(&handle_factored_dependencies): Output the %actions.
No longer special case `clean'.
Output the rules in alphabetical order, but keeping `.PHONY' last.
Now we must not use &push_phony_cleaners, which is doing all sort
of magic to push a bit of everything in all the clean targets.
The biggest problem being that, making a Cartesian product, it
requires many useless targets.  The `*.am' file know better.
But first, register the new factored rules.
* automake.in (&initialize_per_input): Include clean, mostlyclean,
maintainer-clean, distclean and their `*-am' counterpart in
%dependencies.
Initialize %actions.
(get_object_extension, handle_texinfo, handle_tags, handle_multilib)
handle_dependencies, handle_subdirs, handle_configure, handle_clean)
(handle_emacs_lisp, handle_python): Don't play with
&push_phony_cleaners nor &depend and `clean'.
* texinfos.am, texi-vers.am, tags-clean.am:
* subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
* libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
* clean-kr.am, clean-hdr.am: Do it.
Whenever a target is empty, just remove it, it will no longer be
called.
There is still some magic about clean to hard code.  But really,
that's the end of &do_one_clean_target.
* automake.in (&do_one_clean_target): Kaboom out.
(&handle_clean): Rewrite the magic code.
(&am_install_var): No longer use &push_phony_cleaners, nor depend
on `clean'.
(&push_phony_cleaners): Kaboom too.

23 years ago* automake.in (do_one_clean_target): Don't hard code knowledge
Akim Demaille [Tue, 6 Feb 2001 09:08:56 +0000 (09:08 +0000)]
* automake.in (do_one_clean_target): Don't hard code knowledge
about libtool, and maintainer-clean.
* clean.am, libtool.am: Handle these.

23 years ago* automake.in (handle_texinfo): No longer hard code the clean
Akim Demaille [Mon, 5 Feb 2001 09:11:10 +0000 (09:11 +0000)]
* automake.in (handle_texinfo): No longer hard code the clean
targets.
(texinfos.am): Include them.

23 years ago* Makefile.am (perl4-check): Remove, we now require Perl 5.
Akim Demaille [Mon, 5 Feb 2001 09:09:17 +0000 (09:09 +0000)]
* Makefile.am (perl4-check): Remove, we now require Perl 5.
(maintainer-check): Don't be silent when you find a problem, and
actually, even specify the locations.
Also check that @_ is assigned to arrays.

23 years ago* m4/regex.m4: Use AC_LIBSOURCES.
Akim Demaille [Mon, 5 Feb 2001 09:06:41 +0000 (09:06 +0000)]
* m4/regex.m4: Use AC_LIBSOURCES.
* automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
_AC_LIBOBJ_DECL.

23 years ago * m4/Makefile.am (m4data_DATA): Added make.m4.
Tom Tromey [Mon, 5 Feb 2001 06:59:03 +0000 (06:59 +0000)]
* m4/Makefile.am (m4data_DATA): Added make.m4.
* automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
dependency files.
* m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
Copy depcomp to subdir.
* m4/make.m4: New file.