Alexandre Duret-Lutz [Thu, 31 Oct 2002 14:45:37 +0000 (14:45 +0000)]
* automake.texi (Dist): Fix the distcleancheck_listfiles example.
Reported by Karl Berry.
Akim Demaille [Thu, 31 Oct 2002 11:55:27 +0000 (11:55 +0000)]
* tests/location.test (Makefile.am): Strengthen.
* lib/Automake/Channels.pm (_print_message): Be sure to flush
$partial when the message is output.
Thanks to Alexandre Duret-Lutz.
Akim Demaille [Thu, 31 Oct 2002 11:42:23 +0000 (11:42 +0000)]
* automake.in (&read_am_file): Use $last_where to register the
_first_ line of a variable definition as location instead of the
last one.
(&conditional_ambiguous_p): Don't forget to ->string the
Conditionals.
(&rule_define): Likewise.
* tests/location.test: Adjust to exercise this.
Pavel Roskin [Tue, 29 Oct 2002 18:35:23 +0000 (18:35 +0000)]
regen
Alexandre Duret-Lutz [Fri, 25 Oct 2002 18:08:20 +0000 (18:08 +0000)]
2002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
* tests/defs.in: Add explicit stanza for python -V.
Pavel Roskin [Sun, 20 Oct 2002 06:59:38 +0000 (06:59 +0000)]
Don't rely on which, use an Autoconf-like test instead.
Reported by Frédéric L. W. Meunier" <0@pervalidus.net>
Akim Demaille [Thu, 17 Oct 2002 10:44:42 +0000 (10:44 +0000)]
Typo.
Alexandre Duret-Lutz [Wed, 16 Oct 2002 18:53:44 +0000 (18:53 +0000)]
* tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead
of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09,
and reveals a bug in my patch of 2002-10-15.
* automake.in (handle_single_transform_list): Strip directory name
from $full_ansi if subdir-objects is not set.
Alexandre Duret-Lutz [Wed, 16 Oct 2002 18:03:42 +0000 (18:03 +0000)]
* lib/texinfo.tex: New version from Texinfo 4.2b.
Alexandre Duret-Lutz [Tue, 15 Oct 2002 08:38:55 +0000 (08:38 +0000)]
* automake.in (handle_single_transform_list) <full_ansi>: New variable.
Use this to record correct dependencies about deansifiable files which
are using per-program flags or are in a subdirectory.
* tests/ansi9.test: New file.
* tests/Makefile.am (TESTS): Add ansi9.test.
Reported by Paul D. Smith
Alexandre Duret-Lutz [Sat, 12 Oct 2002 21:19:29 +0000 (21:19 +0000)]
* aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
quoted, accept any character but `]'. This makes it possible
to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
(scan_m4_files): Quote $key in the regex. Don't define $expr, it's
not used.
(add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
and $ac_require_rx.
* tests/aclocal2.test: New file.
* tests/Makefile.am (TESTS): Add aclocal2.test.
Reported by Tamara L. Dahlgren and Tom Epperly.
Alexandre Duret-Lutz [Fri, 11 Oct 2002 19:05:31 +0000 (19:05 +0000)]
For Debian Bug#153697:
* lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
$tool.log.
Suggested by Andrew Suffield.
Alexandre Duret-Lutz [Thu, 10 Oct 2002 18:22:07 +0000 (18:22 +0000)]
For PR automake/369:
* lib/am/python.am: Lookup python files in build directory or
source directory.
From Mathias Doreille.
* tests/python3.test: New file.
* tests/Makefile.am (TESTS): Add python3.test.
* tests/defs: Handle `required=python'.
Alexandre Duret-Lutz [Thu, 10 Oct 2002 17:37:38 +0000 (17:37 +0000)]
For PR automake/358:
* lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
configure.ac.
Suggested by Thien-Thi Nguyen.
* lib/am/configure.am ($(srcdir)/configure): Depends on
%CONFIGURE_DEPS%
* automake.in (@configure_deps): New array.
(scan_autoconf_traces): Scan for m4_include and m4_sinclude,
and fill @configure_deps.
(handle_configure): Substitute %CONFIGURE_DEPS%.
Distribute @configure_deps.
* tests/version7.texi: New file.
* tests/vtexi.test: Adjust.
* tests/Makefile.am (TESTS): Add version7.test.
* automake.texi (Dist): Mention that m4_include'd files
are distributed.
Alexandre Duret-Lutz [Wed, 9 Oct 2002 21:24:50 +0000 (21:24 +0000)]
* m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty:
the content of this macro was merged in AC_PROG_CC.
* m4/protos.m4 (AM_C_PROTOTYPES): Adjust to AC_C_PROTOTYPES.
* tests/depacl.test: Remove, it exercize aclocal in a way that was
exercized by all the other tests since the test suite really uses
aclocal.
* tests/Makefile.am (TESTS): Remove depacl.test.
Paul Eggert [Wed, 9 Oct 2002 00:05:27 +0000 (00:05 +0000)]
* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
input", not "makeinfo input -o output", as the latter fails if
POSIXLY_CORRECT=1.
* lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
* m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
Paul Eggert [Wed, 9 Oct 2002 00:04:58 +0000 (00:04 +0000)]
(_AM_DEPENDENCIES): Don't put "-o foo" at the end of the $depcc
command line, as this runs afoul of the POSIX rules for command line
arguments.
Paul Eggert [Wed, 9 Oct 2002 00:04:06 +0000 (00:04 +0000)]
(.dvi.ps): Don't put "-o foo" at the end of the dvips command line,
as this runs afoul of POSIXLY_CORRECT=1.
Paul Eggert [Wed, 9 Oct 2002 00:02:40 +0000 (00:02 +0000)]
(%DEST_PREFIX%%DEST_SUFFIX%, %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf):
Use "makeinfo -o output input", not "makeinfo input -o
output", as the latter fails if POSIXLY_CORRECT=1.
Alexandre Duret-Lutz [Tue, 8 Oct 2002 22:23:49 +0000 (22:23 +0000)]
* automake.in (file_contents_internal): Fix the relationship
regex flags, don't use `m'.
Alexandre Duret-Lutz [Tue, 8 Oct 2002 21:40:30 +0000 (21:40 +0000)]
For Debian Bug#162583:
* automake.in (file_contents_internal): Simplify regex to
separate relationship from actions in rules.
Reported by Sam Hocevar.
Alexandre Duret-Lutz [Tue, 8 Oct 2002 17:37:56 +0000 (17:37 +0000)]
* lib/Automake/Conditional.pm (has): Simplify.
Alexandre Duret-Lutz [Mon, 7 Oct 2002 09:23:33 +0000 (09:23 +0000)]
* lib/Automake/Conditional.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Conditional.pm.
* automake.in: Use Automake::Conditional.
(TRUE, FALSE): New constants.
(%var_value, %var_location, %var_comment, %var_type, %var_owner,
%targets, %target_source, %target_name, %target_owner): Tie to
Tie::RefHash::Nestable.
(generate_makefile, process_option_list, handle_options,
handle_languages, handle_source_transform, handle_compile,
handle_libtool, handle_texinfo_helper, handle_dist, handle_subdirs,
scan_aclocal_m4, handle_emacs_lisp, handle_python,
scan_autoconf_files, variable_assert, define_variable,
define_pretty_variable, define_configure_variable, am_install_var,
push_dist_common): Use TRUE.
(define_objects_from_sources): Fix return value on
"recursively-defined" errors.
(conditional_string, conditional_true_when, conditional_is_redundant,
conditional_implies_any, make_conditions): Remove these functions,
obsoleted by Conditional.pm.
(cond_stack_if, cond_stack_else, cond_stack_endif): Return
an Automake::Conditional instance.
(by_condition, conditional_ambiguous_p,
variable_not_always_defined_in_cond, macro_define,
variable_conditions_recursive, variable_conditions_recursive_sub,
variable_conditions_reduce, invert_conditions,
variable_conditions_permutations,
check_variable_defined_unconditionally, variable_value_as_list,
variable_output, variable_pretty_output, rule_define,
read_am_file, file_contents_internal, require_variables): Adjust
to use Automake::Conditional objects.
(handle_footer): Get $(SUFFIXES) in 'all' conditions.
* tests/cond12.test: Adjust to use Automake::Conditional objects.
Alexandre Duret-Lutz [Tue, 1 Oct 2002 19:59:34 +0000 (19:59 +0000)]
* automake.in (handle_source_transform): If foo_SOURCES is defined
conditionally, create and use am__foo_SOURCES_DIST for distribution.
* tests/condd.test: Extend to check distributed files.
* tests/substref.test: Make sure we don't use such a variable when
it's not needed.
Reported by Marcus Brinkmann.
Alexandre Duret-Lutz [Mon, 30 Sep 2002 20:12:27 +0000 (20:12 +0000)]
* tests/defs.in: Run $MAKE --version -v.
* tests/dollar.test: Abort on ./defs failure.
* tests/lex5.test: Require GNUmake, not make.
Alexandre Duret-Lutz [Mon, 30 Sep 2002 18:34:46 +0000 (18:34 +0000)]
2002-09-30 Kevin Ryde <user42@zip.com.au>
* m4/as.m4 (AM_PROG_AS): Let CCAS and CCASFLAGS default to the actual
values of $CC and $CFLAGS (as opposed to $(CC) and $(CFLAGS)), so
configure tests can use them. Use AC_ARG_VAR instead of AC_SUBST.
Alexandre Duret-Lutz [Mon, 30 Sep 2002 18:08:07 +0000 (18:08 +0000)]
* automake.in (require_variables): The fix introduced in 2002-09-19
is imcomplete. Rewrite the conditional variable definition check
using &variable_not_always_defined_in_cond.
* tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
* tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
cond28.test.
Reported by Juergen Keil.
Alexandre Duret-Lutz [Mon, 30 Sep 2002 13:38:08 +0000 (13:38 +0000)]
* automake.in (INTERNAL): Redefine as an empty location,
so that internal locations get displayed as `automake:'.
Alexandre Duret-Lutz [Mon, 30 Sep 2002 13:05:03 +0000 (13:05 +0000)]
regen
Alexandre Duret-Lutz [Mon, 30 Sep 2002 13:02:08 +0000 (13:02 +0000)]
* lib/am/distdir.am (distdir): Create $dc_destdir right before
its use.
Reported by Akim Demaille.
Alexandre Duret-Lutz [Mon, 30 Sep 2002 12:32:21 +0000 (12:32 +0000)]
Fix for PR automake/366:
* automake.in (handle_dist): Strip $(srcdir) and replace
$(top_srcdir) when computing DIST_COMMON directories.
* tests/include2.test: Use an obsolute $(srcdir), and check
for spurious directories in $(distdir)/sub.
* lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
Reported by Kevin Ryde.
Alexandre Duret-Lutz [Sun, 29 Sep 2002 14:51:25 +0000 (14:51 +0000)]
* lib/Automake/Channels.pm (%_default_options): Add 'partial'.
(_format_message): Rename as ...
(_format_sub_message): ... this.
(_format_message): New function, extracted from ...
(_print_message): ... here. Honor the 'partial' option.
($partial): New variable.
* automake.in (handle_ltlibraries, check_ambiguous_conditional,
rule_define): Mark partial messages.
Alexandre Duret-Lutz [Sun, 29 Sep 2002 13:08:18 +0000 (13:08 +0000)]
* automake.in (handle_ltlibraries): Record library locations in
%liblocations, and print the previous declaration on error.
* tests/libtool6.test: Check that the locations of the two
definitions are shown.
Alexandre Duret-Lutz [Sun, 29 Sep 2002 12:49:07 +0000 (12:49 +0000)]
For PR automake/360: Propagate more locations.
* automake.in (handle_programs): Adjust usage of am_install_var's
return value. Pass on locations as context to file_contents.
(handle_libraries, handle_ltlibraries): Likewise. Use locations
in the 'not a standard library name' diagnostic.
(handle_emacs_lisp, handle_python): Adjust usage of am_install_var's
return value. Pass on locations to require_variables and
require_conf_file.
(check_ambiguous_conditional): Strip trailing dot in message.
(value_to_list): Add the $WHERE and $LOC_WANTED arguments.
(variable_value_as_list_recursive_worker): Add the $LOC_WANTED
argument. Adjust calls to value_to_list.
(variable_value_as_list_recursive): Call
variable_value_as_list_recursive_worker with $LOC_WANTED = 0.
(variable_loc_and_value_as_list_recursive): New function,
variable_value_as_list_recursive_worker with $LOC_WANTED = 1.
(am_install_var): Use variable_loc_and_value_as_list_recursive,
and return a list of [$location, $value] pairs.
(rule_define): Use better locations in EXEEXT diagnostic.
(handle_source_transform, define_objects_from_sources): Add and use
a $WHERE argument. Adjust callers.
* tests/stdlib.test: Grep the location in error message.
* tests/location.test: New file.
* tests/Makefile.am (TESTS): Add location.test.
Alexandre Duret-Lutz [Sun, 29 Sep 2002 10:35:03 +0000 (10:35 +0000)]
* tests/exeext3.test: New file.
* tests/Makefile.am (TESTS): Add exeext3.test.
* automake.in (%target_name): New hash.
(initialize_per_input): Reset %target_name.
(rule_define): Fill %target_name, and use it to detect targets
which have been registered with key X but really are X$(EXEEXT).
Alexandre Duret-Lutz [Sat, 28 Sep 2002 12:41:06 +0000 (12:41 +0000)]
For PR automake/360:
* lib/Automake/Location.pm: New file.
* lib/Automake/Channels.pm (_print_message): Display contexts
when given an Automake::Location.
(msg): Clone the location.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm.
* tests/comment5.test: Make sure we display `included from' stacks.
* automake.in: Use Automake::Location.
(INTERNAL): New constant.
(file_contents, file_contents_internal, define_variable,
define_pretty_variable, read_am_file): Take $WHERE as argument.
Adjust all callers.
(scan_autoconf_traces) <$where>: Define as a Location, and use
it instead of $here.
(macro_define, rule_define): Make sure $WHERE is a location.
Clone it before updating $var_location or $targets.
Alexandre Duret-Lutz [Fri, 27 Sep 2002 19:59:24 +0000 (19:59 +0000)]
* lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
Suggested by Bruno Haible.
Alexandre Duret-Lutz [Fri, 27 Sep 2002 14:18:15 +0000 (14:18 +0000)]
* Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
Autoconf. Automake now has the master copy of install-sh and
mkinstalldirs.
Alexandre Duret-Lutz [Wed, 25 Sep 2002 20:57:06 +0000 (20:57 +0000)]
fix computation of APIVERSION
Alexandre Duret-Lutz [Wed, 25 Sep 2002 20:30:49 +0000 (20:30 +0000)]
* configure.in: Bump version to 1.7a.
Alexandre Duret-Lutz [Wed, 25 Sep 2002 20:17:13 +0000 (20:17 +0000)]
* NEWS, configure.ac: Version 1.7.
Alexandre Duret-Lutz [Wed, 25 Sep 2002 19:20:40 +0000 (19:20 +0000)]
run aclocal with -I aclocal-$APIVERSION
Alexandre Duret-Lutz [Wed, 25 Sep 2002 19:00:47 +0000 (19:00 +0000)]
* automake.texi (Optional, Options, Distributing, ANSI,
API versioning): Spelling fixes and Texi tweaks.
Alexandre Duret-Lutz [Wed, 25 Sep 2002 18:46:47 +0000 (18:46 +0000)]
* configure.in: Check for 'tex'.
* tests/defs.in: Handle required=tex using configure's result.
Reported by Patrick Welche.
Alexandre Duret-Lutz [Wed, 25 Sep 2002 18:17:10 +0000 (18:17 +0000)]
* Makefile.am (mdate-sh): Remove.
* mdate-sh: Delete.
Suggested by Akim Demaille.
Alexandre Duret-Lutz [Wed, 25 Sep 2002 13:27:35 +0000 (13:27 +0000)]
regen
Alexandre Duret-Lutz [Wed, 25 Sep 2002 13:25:55 +0000 (13:25 +0000)]
* NEWS: Mention distuninstallcheck.
* automake.texi (Dist): Document new macro and target.
* lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
(distuninstallcheck): New target.
(distcheck): Use distuninstallcheck.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 22:50:35 +0000 (22:50 +0000)]
* tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
<sys/types.h>.
* tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
Likewise.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 22:30:38 +0000 (22:30 +0000)]
* automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 20:12:47 +0000 (20:12 +0000)]
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
command.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 20:07:43 +0000 (20:07 +0000)]
* automake.in (handle_single_transform_list): Revert the change
from 2002-09-22. We need to erase .libs/ in the object directory
in addition to the library directory.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 19:37:24 +0000 (19:37 +0000)]
* tests/target-cflags.test: Build in `build/', not `obj/' because
`obj/' is special to BSD make.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 10:51:07 +0000 (10:51 +0000)]
* automake.in (read_am_file): Prefix included files with
$(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes
subdircond2.test, and subdircond3.test on OSF1.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 08:05:58 +0000 (08:05 +0000)]
* tests/defs.in (SHELL): Set it.
Alexandre Duret-Lutz [Tue, 24 Sep 2002 08:05:35 +0000 (08:05 +0000)]
regen
Alexandre Duret-Lutz [Mon, 23 Sep 2002 22:33:50 +0000 (22:33 +0000)]
* lib/am/distdir.am (distcleancheck): Mention `in build directory'
in error message.
Alexandre Duret-Lutz [Mon, 23 Sep 2002 22:08:31 +0000 (22:08 +0000)]
For PR automake/350:
* automake.in (handle_ltlibraries): Allow a library to be installed
many times in the same directory.
* tests/libtool5.test, tests/libtool6.test: New files.
* tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
Alexandre Duret-Lutz [Sun, 22 Sep 2002 19:02:45 +0000 (19:02 +0000)]
* automake.in (handle_ltlibraries): Fill $libtool_clean_directories
here, with directories where .la files are built...
(handle_single_transform_list): ... not here with directories
where .lo files are built.
* tests/libtool3.test: Build a library in a subdirectory to
check for this.
Reported by Peter Gavin.
Alexandre Duret-Lutz [Sun, 22 Sep 2002 18:57:18 +0000 (18:57 +0000)]
* tests/cond5.test: Give more time to automake.
Reported by Art Haas.
Alexandre Duret-Lutz [Sun, 22 Sep 2002 15:06:44 +0000 (15:06 +0000)]
* configure.in: Really check for Autoconf 2.54.
Alexandre Duret-Lutz [Sun, 22 Sep 2002 14:56:27 +0000 (14:56 +0000)]
* automake.texi (Yacc and Lex): ylwrap is used only when there is
more than one yacc or lex source file in a directory.
Alexandre Duret-Lutz [Sun, 22 Sep 2002 14:35:19 +0000 (14:35 +0000)]
* automake.in (macro_define): Update a variable's location each
time its owner is updated.
* tests/gnuwarn.test: Append to CFLAGS to check for this.
Reported by Harlan Stenn.
Pavel Roskin [Fri, 20 Sep 2002 17:17:01 +0000 (17:17 +0000)]
New section: `Working with CVS'.
Pavel Roskin [Fri, 20 Sep 2002 17:03:15 +0000 (17:03 +0000)]
File for bootstrapping Automake from CVS.
Alexandre Duret-Lutz [Fri, 20 Sep 2002 11:29:12 +0000 (11:29 +0000)]
* configure.in: Bump version to 1.6g.
Alexandre Duret-Lutz [Fri, 20 Sep 2002 11:20:04 +0000 (11:20 +0000)]
* configure.in, NEWS: Bump version to 1.6f.
Alexandre Duret-Lutz [Fri, 20 Sep 2002 10:19:42 +0000 (10:19 +0000)]
* Makefile.am (INSTALL): New rules.
Alexandre Duret-Lutz [Fri, 20 Sep 2002 10:10:22 +0000 (10:10 +0000)]
For PR automake/363:
* m4/cond.m4: Fix AC_MSG_ERROR quoting.
Pavel Roskin [Thu, 19 Sep 2002 19:06:38 +0000 (19:06 +0000)]
s/whan/when/
Pavel Roskin [Thu, 19 Sep 2002 19:04:16 +0000 (19:04 +0000)]
* tests/warnopts.test: Fix random failures by removing Autoconf
cache directory whan configure.in changes. Use the code and the
comment from tests/asm.test.
Alexandre Duret-Lutz [Thu, 19 Sep 2002 09:24:58 +0000 (09:24 +0000)]
* automake.texi (Program and Library Variables) <maude_LIBADD>:
Don't mention _LDADD for Libtool libraries.
Reported by Schleicher Ralph.
Alexandre Duret-Lutz [Thu, 19 Sep 2002 09:16:05 +0000 (09:16 +0000)]
For PR automake/361:
* tests/suffix8.test: More explicit dependencies.
Reported by Paul Eggert.
Alexandre Duret-Lutz [Thu, 19 Sep 2002 08:59:49 +0000 (08:59 +0000)]
* automake.in (rule_define): Don't diagnose duplicate user rules.
* tests/phony.test, tests/percent2.test: New files.
* tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz [Thu, 19 Sep 2002 07:59:37 +0000 (07:59 +0000)]
* automake.in (require_variables): Search variable definitions
in any condition implied by $cond.
* tests/cond25.test: New file.
* tests/Makefile.am (TESTS): Add cond25.test.
Reported by Pavel Roskin.
Alexandre Duret-Lutz [Thu, 19 Sep 2002 07:31:49 +0000 (07:31 +0000)]
* tests/subobj9.test: Skip this test on configure errors.
Alexandre Duret-Lutz [Wed, 18 Sep 2002 21:17:27 +0000 (21:17 +0000)]
* configure.in: Bump version to 1.6e.
Alexandre Duret-Lutz [Wed, 18 Sep 2002 21:05:27 +0000 (21:05 +0000)]
* configure.in, NEWS: Bump version to 1.6d.
* tests/libobj12.test, tests/libobj12b.test: Include ./defs,
not $srcdir/defs.
* tests/suffix8.test: Typo.
Alexandre Duret-Lutz [Wed, 18 Sep 2002 19:37:35 +0000 (19:37 +0000)]
* automake.in (check_ambiguous_conditional, rule_define): Issue
syntactic warnings, not errors.
(macro_define): Don't adjust the owner of a variable which is being
appended in a condition different from its definition.
(variable_output, variable_pretty_output): Make sure the
requested condition exists.
Alexandre Duret-Lutz [Wed, 18 Sep 2002 18:43:24 +0000 (18:43 +0000)]
For PR automake/353: fill %var_location, %var_comment,
%var_type, %var_owner for each condition.
* automake.in (msg_cond_var): New function.
(msg_var): Use it.
(generate_makefile, process_option_list, handle_languages,
handle_lib_objects_cond, handle_compile, handle_libtool,
handle_ltlibraries, handle_texinfo_helper, handle_tests,
handle_emacs_lisp, handle_python, macro_define, macro_delete,
macro_dump, variable_assert, variable_output,
variable_pretty_output, read_am_file, read_main_am_file,
file_contents_internal, am_primary_prefixes,
require_variables_for_macro): Adjust accesses to %var_location,
%var_comment, %var_type, %var_owner.
(append_comments, require_file_with_macro,
require_conf_file_with_macro, require_variables): Add the
$cond argument.
* tests/comment7.test: New file.
* tests/Makefile.am (TESTS): Add comment7.test.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 21:33:35 +0000 (21:33 +0000)]
For PR automake/353:
* automake.in (check_ambiguous_conditional): Display locations for
the two definitions of the ambiguous variable. Show the macro_dump
output in --verbose only. Accept $where as a third argument,
(macro_define): Pass $where.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 21:11:49 +0000 (21:11 +0000)]
* automake.in (handle_programs): Ooops. Really add LDADD
objects into _DEPENDENCIES.
* tests/libobj12.test: Check for it.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 20:53:09 +0000 (20:53 +0000)]
2002-09-17 Assar Westerlund <assar@kth.se>
Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_programs, handle_libraries,
handle_ltlibraries): Maintain $seen_libobjs on a
per-program/per-library basis, instead of globally to each
of these functions.
* tests/libobj12.test, tests/libobj12b.test: New files.
* tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 19:32:54 +0000 (19:32 +0000)]
* tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
AC_PROG_MAKE_SET.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 18:41:01 +0000 (18:41 +0000)]
* lib/config.guess, lib/config.sub, lib/INSTALL,
lib/Automate/Struct.pm: New upstream version.
* Makefile.am (mdate-sh): New rule.
(FETCHFILES): Add Automate/Struct.pm.
(fetch): Get Automate/Struct.pm.
(AUTOMAKESOURCES, CLEANFILES): New macros.
(EXTRA_DIST, TAGS_FILES): Use them.
* install-sh, mkinstalldirs, missing: Delete.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 18:07:23 +0000 (18:07 +0000)]
* automake.in: Rename the 'unused' channel to 'syntax'.
(variable_defined): Issue a warning instead of an error
for variable-is-a-target conditions.
* automake.texi (Invoking Automake): Rename the 'unused'
channel to 'syntax'.
* tests/warnopts.test: Likewise.
Alexandre Duret-Lutz [Tue, 17 Sep 2002 17:40:14 +0000 (17:40 +0000)]
* tests/suffix8.test: Add explicit dependencies.
* tests/texinfo13.test, tests/texinfo16.test: Require tex.
Pavel Roskin [Mon, 16 Sep 2002 20:39:59 +0000 (20:39 +0000)]
Add "defs".
Alexandre Duret-Lutz [Mon, 16 Sep 2002 10:12:22 +0000 (10:12 +0000)]
* configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
Alexandre Duret-Lutz [Mon, 16 Sep 2002 09:08:54 +0000 (09:08 +0000)]
* automake.in (variable_defined): Thinko in $cond handling.
Paul Eggert [Mon, 16 Sep 2002 05:10:23 +0000 (05:10 +0000)]
* lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
to Perl 5.00503.
* Makefile.am (maintainer-check): Don't use egrep.
Paul Eggert [Mon, 16 Sep 2002 05:05:47 +0000 (05:05 +0000)]
(maintainer-check): Don't use egrep.
Paul Eggert [Mon, 16 Sep 2002 04:50:51 +0000 (04:50 +0000)]
Don't use 'our', as it isn't portable to Perl 5.00503.
Tom Tromey [Sun, 15 Sep 2002 20:45:48 +0000 (20:45 +0000)]
* tests/subdircond3.test: Pass flags to make in environment.
* tests/subdircond2.test: Pass flags to make in environment.
* Makefile.am (maintainer-check): Add a new check for @...@
substitutions. Updated correct number of diffs between source and
build trees.
Tom Tromey [Sun, 15 Sep 2002 20:34:15 +0000 (20:34 +0000)]
* configure.in (aclocal, automake): Don't create.
* automake.in ($prefix): Don't define.
* aclocal.in ($prefix): Don't define.
* Makefile.am (do_subst): New macro.
(automake): New target.
(aclocal): Likewise.
Alexandre Duret-Lutz [Sun, 15 Sep 2002 17:44:26 +0000 (17:44 +0000)]
* aclocal.in, automake.in: Requote each "@var@" as '@var@'.
Alexandre Duret-Lutz [Sat, 14 Sep 2002 15:58:41 +0000 (15:58 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
specflags8.test.
Alexandre Duret-Lutz [Fri, 13 Sep 2002 16:37:01 +0000 (16:37 +0000)]
* automake.texi (Building ctags and etags): Rename and adjust as ...
(Building true and false): ... this.
* tests/targetclash.test: New file.
* tests/specflags7.test, tests/specflags8.test: Adjust to build
true and false.
* tests/Makefile.am (TESTS): Add targetclash.test.
(XFAIL_TESTS): Remove specflags7.test and specflags8.test.
Alexandre Duret-Lutz [Fri, 13 Sep 2002 16:34:40 +0000 (16:34 +0000)]
Diagnose target clashes, for PR automake/344:
* automake.in (%targets): Record conditionals for definitions.
(%target_conditional): Remove (obsoleted by %targets).
(%target_source, %target_owner): New hashes.
(TARGET_AUTOMAKE, TARGET_USER): New constants.
(initialize_per_input): Adjust to reset new variables.
(err_cond_target, msg_cond_target): New functions.
(msg_target): Adjust usage of %targets.
(conditional_ambiguous_p): Take a list of conditional to check
as a third parameter, so this can be used for other things that
variables.
(handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
(variable_defined): Restrict the target-with-same-name check
to user targets.
(rule_define): Add the $SOURCE argument, and take $OWNER instead
of $IS_AM. Diagnose target clashes (including ambugious
conditionals). Return a list of conditions where the rule should
be defined instead of a boolean. Fill %target_source and
%target_owner.
(target_define): Use `exists', not `defined'.
(read_am_file): Adjust the call to rule_define.
(file_contents_internal): Add more FIXMEs. Simplify my moving
and documenting the "define rules in undefined conditions" to
rule_define.
* tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
specflags8.test.
Akim Demaille [Fri, 13 Sep 2002 07:03:29 +0000 (07:03 +0000)]
* aclocal.in: Prototype all the functions.
Add `(C)' to Copyrights.
(&add_file): Strip the comments before checking for `AC_REQUIRE'.
Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
Akim Demaille [Wed, 11 Sep 2002 08:00:10 +0000 (08:00 +0000)]
* lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
it was already supported when --pdf support was added.