]> sourceware.org Git - automake.git/log
automake.git
21 years agoBuild elisp files all at once instead of one by one.
Alexandre Duret-Lutz [Fri, 10 Jan 2003 17:25:33 +0000 (17:25 +0000)]
Build elisp files all at once instead of one by one.
* automake.in (handle_emacs_lisp): Define am__ELFILES.  Add
elc-stamp to all's dependencies.
* lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
(.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
(clean-lisp): Clean elc-stamp.
* lib/elisp-comp: Reindent.  Erase the temporatry directory
from a trap.  Propagate Emacs's exit status.
* tests/lisp3.test: New file.
* tests/Makefile.am (TESTS): Add lisp3.test.
Reported by Ryan T. Sammartino.

21 years ago* automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
Akim Demaille [Thu, 9 Jan 2003 12:45:33 +0000 (12:45 +0000)]
* automake.texi: Prefer $(FOO) to @FOO@ in the documentation.

21 years agoRegen.
Akim Demaille [Thu, 9 Jan 2003 12:43:34 +0000 (12:43 +0000)]
Regen.

21 years ago* m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
Alexandre Duret-Lutz [Wed, 8 Jan 2003 18:17:03 +0000 (18:17 +0000)]
* m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
variables.  Suggested by Ryan T. Sammartino.

21 years ago* automake.in (macro_define): Add missing `{$cond}' (typo from
Alexandre Duret-Lutz [Sun, 5 Jan 2003 22:51:09 +0000 (22:51 +0000)]
* automake.in (macro_define): Add missing `{$cond}' (typo from
2002-09-18).
($gen_copyright): Append year 2003.
(version): Increase year.

21 years ago* tests/defs.in: Substitute aclocaldir instead of running
Alexandre Duret-Lutz [Sun, 5 Jan 2003 22:41:32 +0000 (22:41 +0000)]
* tests/defs.in: Substitute aclocaldir instead of running
the installed aclocal.  Otherwise Libtool and Gettext
tests get skipped when aclocal doesn't preexist.
Reported by Imacat.
* tests/listval.test, tests/suffix2.test: Remove pointless -I
argument to aclocal.

21 years ago* lib/Automake/ChannelDefs.pm: New file.
Alexandre Duret-Lutz [Tue, 31 Dec 2002 21:31:51 +0000 (21:31 +0000)]
* lib/Automake/ChannelDefs.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add ChannelDefs.pm.
* automake.in: Move all "register_channel" calls to ChannelDefs.pm.
(prog_error, error, fatal, verb, switch_warning, parse_WARNINGS,
parse_warnings): Move to ChannelDefs.pm.
(usage): Move the warning list to Automake::ChannelDefs::usage
and call it.
(set_strictness): Move channel setings to
Automake::ChannelDefs::set_strictness and call it.

21 years ago* automake.in (err): Rename as ...
Alexandre Duret-Lutz [Tue, 31 Dec 2002 21:24:46 +0000 (21:24 +0000)]
* automake.in (err): Rename as ...
(error): ... this.  Adjust all callers.
Suggested by H.Merijn Brand.

21 years agoLots of typo fixes in the comments.
Pavel Roskin [Wed, 18 Dec 2002 23:31:34 +0000 (23:31 +0000)]
Lots of typo fixes in the comments.

21 years ago* tests/version7.test: Require GNU make.
Alexandre Duret-Lutz [Fri, 13 Dec 2002 21:59:10 +0000 (21:59 +0000)]
* tests/version7.test: Require GNU make.
Reported by Patrick Welche.

21 years ago* m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
Alexandre Duret-Lutz [Thu, 12 Dec 2002 13:40:57 +0000 (13:40 +0000)]
* m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
and AC_PACKAGE_VERSION.

21 years ago* automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
Alexandre Duret-Lutz [Wed, 11 Dec 2002 20:51:02 +0000 (20:51 +0000)]
* automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
no longer have to be rewritten in order to support deansification.
(Tests): Link to the DejaGnu manual.
(Optional): Comment out FIXME.
(Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA)
instead of @LIBOBJ@ and @ALLOCA@.
(Sources): Typo.

21 years ago* lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
Alexandre Duret-Lutz [Thu, 5 Dec 2002 15:26:57 +0000 (15:26 +0000)]
* lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
directories from info filenames.
* tests/texinfo13.test: Make sure main.info gets installed
as $(infodir)/main.info.

21 years ago* automake.in (handle_dist): Do not define %GETTEXT% if the user
Alexandre Duret-Lutz [Thu, 5 Dec 2002 11:05:38 +0000 (11:05 +0000)]
* automake.in (handle_dist): Do not define %GETTEXT% if the user
is using $seen_gettext_external, this distcheck won't run
`./configure' with a meaningless `--with-included-gettext'.
* tests/gettext.test: Make sure distcheck uses --with-included-gettext.
* tests/gettext2.test: Make sure distcheck does not use
--with-included-gettext.

21 years ago* m4/ccstdc.m4: Define am_cv_prog_cc_stdc for backward
Alexandre Duret-Lutz [Thu, 5 Dec 2002 09:02:29 +0000 (09:02 +0000)]
* m4/ccstdc.m4: Define am_cv_prog_cc_stdc for backward
compatibility and diagnose the use of AM_PROG_CC_STDC.
* automake.texi (Public macros) <AM_PROG_CC_STDC>: Remove
documentation, this macro is no longer supported.
Reported by Kevin Ryde.

21 years agos/Kevin Ride/Kevin Ryde/
Alexandre Duret-Lutz [Wed, 4 Dec 2002 20:24:18 +0000 (20:24 +0000)]
s/Kevin Ride/Kevin Ryde/

21 years ago* automake.in (handle_languages): Test $objdir, not $srcdir, to
Alexandre Duret-Lutz [Wed, 4 Dec 2002 20:22:20 +0000 (20:22 +0000)]
* automake.in (handle_languages): Test $objdir, not $srcdir, to
decides whether a _.c file is in a subdirectory and has to be
cleaned separately.
Reported by Kevin Ride.

21 years ago* tests/ansi10.test (liblib_a_LIBADD): Set ac_cv_prog_cc_stdc
Alexandre Duret-Lutz [Wed, 4 Dec 2002 20:02:30 +0000 (20:02 +0000)]
* tests/ansi10.test (liblib_a_LIBADD): Set ac_cv_prog_cc_stdc
not am_cv_prog_cc_stdc.

21 years ago* automake.texi (Options): Some English nits from Eric Siegerman.
Alexandre Duret-Lutz [Wed, 4 Dec 2002 19:31:42 +0000 (19:31 +0000)]
* automake.texi (Options): Some English nits from Eric Siegerman.
(Sources): Rewrite the introduction and move the example to ...
(Built sources example): ... this separate node.

21 years ago* automake.in (variable_pretty_output): Strip trailing
Alexandre Duret-Lutz [Wed, 4 Dec 2002 19:21:16 +0000 (19:21 +0000)]
* automake.in (variable_pretty_output): Strip trailing
backslashes in $val after $val is defined...
Reported by Kevin Ryde.

21 years ago* tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
Alexandre Duret-Lutz [Wed, 4 Dec 2002 18:07:42 +0000 (18:07 +0000)]
* tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
not in the environment.  Otherwise the test will fail when
run with ksh and VERBOSE=x.
Reported by Paul Jarc.

21 years ago* tests/man2.test: Exercize `make uninstall', to test
Alexandre Duret-Lutz [Wed, 4 Dec 2002 17:45:25 +0000 (17:45 +0000)]
* tests/man2.test: Exercize `make uninstall', to test
the previous change.

21 years ago* lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
Alexandre Duret-Lutz [Wed, 4 Dec 2002 17:37:11 +0000 (17:37 +0000)]
* lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
the man pages being uninstalled, if needed.

21 years ago* automake.in (macro_define): Do not strip escaped new lines
Alexandre Duret-Lutz [Tue, 3 Dec 2002 20:41:48 +0000 (20:41 +0000)]
* automake.in (macro_define): Do not strip escaped new lines
in Automake's +='ed variables.  We don't know whether it will
be pretty printed or not at this point.
(variable_pretty_output): Do this here.
* tests/pluseq10.test: New file.
* tests/Makefile.am (TESTS): Add pluseq10.test.
Reported by Ralf Corsepius.

21 years ago* automake.in (macro_define): Do not strip escaped new lines
Alexandre Duret-Lutz [Tue, 3 Dec 2002 20:39:40 +0000 (20:39 +0000)]
* automake.in (macro_define): Do not strip escaped new lines
in Automake's +='ed variables.  We don't know whether it will
be pretty printed or not at this point.
(variable_pretty_output): Do this here.
* tests/pluseq10.test: New file.
* tests/Makefile.am (TESTS): Add pluseq10.test.
Reported by Ralf Corsepius.

21 years agoRevert previous patch (the one for PR automake/379), it conflicts with PR/280.
Alexandre Duret-Lutz [Tue, 3 Dec 2002 19:05:01 +0000 (19:05 +0000)]
Revert previous patch (the one for PR automake/379), it conflicts with PR/280.

21 years agoFor PR automake/379:
Alexandre Duret-Lutz [Tue, 3 Dec 2002 18:00:17 +0000 (18:00 +0000)]
For PR automake/379:
* automake.in (read_am_file): Do not complain about backslashes
before blank lines when the backslash is in a comment.
* tests/Makefile.am (TESTS): Add comment8.test.
* tests/comment8.test: New file.

21 years ago* tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
Alexandre Duret-Lutz [Mon, 2 Dec 2002 18:04:46 +0000 (18:04 +0000)]
* tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
Append $(EXEEXT) again.

21 years ago* automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
Alexandre Duret-Lutz [Mon, 2 Dec 2002 18:01:28 +0000 (18:01 +0000)]
* automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
example.

21 years ago* automake.texi (Options): Programs listed in
Alexandre Duret-Lutz [Mon, 2 Dec 2002 08:08:48 +0000 (08:08 +0000)]
* automake.texi (Options): Programs listed in
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
* tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
Append $(EXEEXT).
Reported by Charles Wilson.

21 years agotypo
Alexandre Duret-Lutz [Sun, 1 Dec 2002 18:19:25 +0000 (18:19 +0000)]
typo

21 years ago* automake.in (lang_c_finish): Do not fill de_ansi_files
Alexandre Duret-Lutz [Sun, 1 Dec 2002 18:16:33 +0000 (18:16 +0000)]
* automake.in (lang_c_finish): Do not fill de_ansi_files
with subdirectory informations for %libsources files.
This revers part of a change from 2002-01-13.
* tests/ansi10.test: New file.
* tests/Makefile.am (TESTS): Add ansi10.test.

21 years ago* automake.in (do_check_merge_target): Add missing space.
Alexandre Duret-Lutz [Sun, 1 Dec 2002 17:04:38 +0000 (17:04 +0000)]
* automake.in (do_check_merge_target): Add missing space.

21 years ago* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
Alexandre Duret-Lutz [Sun, 1 Dec 2002 12:58:32 +0000 (12:58 +0000)]
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.

21 years ago* configure.in: Do not use missing while checking for Autoconf's
Alexandre Duret-Lutz [Sun, 1 Dec 2002 10:54:40 +0000 (10:54 +0000)]
* configure.in: Do not use missing while checking for Autoconf's
version, otherwise we won't notice that Autoconf isn't installed.
Augment the error message with a few questions to help users.

21 years ago* tests/gnits2.test, tests/gnits3.test: Move the greps inside the
Alexandre Duret-Lutz [Sat, 30 Nov 2002 20:41:11 +0000 (20:41 +0000)]
* tests/gnits2.test, tests/gnits3.test: Move the greps inside the
Makefile, so we can honor $(EXEEXT).  Otherwise these tests
fail under Cygwin.
Reported by Charles Wilson.

21 years agoFor PR automake/375 (Debian Bug #168671):
Alexandre Duret-Lutz [Sat, 30 Nov 2002 20:12:19 +0000 (20:12 +0000)]
For PR automake/375 (Debian Bug #168671):
* automake.in (scan_texinfo_file): Erase all known index files, no
matter whether they are used at the top-level or not, because we
can never know if they are used in included files.  The remaining
macros we recognize at the top-level of a Texi document are
@defindex, @defcodeindex, @synindex, and @syncodeindex.
* tests/texinfo18.test: New file.
* tests/Makefile.am (TESTS): Add texinfo18.test.
Reported by Simon Richter.

21 years agoFor PR automake/375 (Debian Bug #168671):
Alexandre Duret-Lutz [Sat, 30 Nov 2002 19:45:07 +0000 (19:45 +0000)]
For PR automake/375 (Debian Bug #168671):
* automake.in (scan_texinfo_file): Erase all known index files, no
matter whether they are used at the top-level or not, because we
can never know if they are used in included files.  The remaining
macros we recognize at the top-level of a Texi document are
@defindex, @defcodeindex, @synindex, and @syncodeindex.
* tests/texinfo18.test: New file.
* tests/Makefile.am (TESTS): Add texinfo18.test.
Reported by Simon Richter.

21 years ago* automake.in (scan_texinfo_file): Honor only the first @setfilename.
Alexandre Duret-Lutz [Sat, 30 Nov 2002 16:51:14 +0000 (16:51 +0000)]
* automake.in (scan_texinfo_file): Honor only the first @setfilename.
* tests/texinfo17.test: New file.
* tests/Makefile.am (TESTS): Add texinfo17.test.
Reported by Karl Berry.

21 years agoFor PR automake/357:
Alexandre Duret-Lutz [Sat, 30 Nov 2002 15:34:49 +0000 (15:34 +0000)]
For PR automake/357:
* automake.in (require_file_internal): Don't complain a file is "not
found" when it is a target.  Make sure "not found" files are otherwise
reported as error (they were reported as 'note').
* tests/distcommon3.test: Augment to test the above.
* tests/libobj12b.test: Touch ltmain.sh.
* tests/required2.test: Make sure Automake fails because ltmain.sh
has been removed.
Reported by Ronald Landheer.

21 years ago* tests/texinfo3.test: Make sure we don't output single suffix
Alexandre Duret-Lutz [Sat, 30 Nov 2002 13:11:03 +0000 (13:11 +0000)]
* tests/texinfo3.test: Make sure we don't output single suffix
inference rules when building `.info'-less Info files (this
confuses Solaris make).  Run distcheck to make sure the rules
work.
* automake.in (output_texinfo_build_rules): Define GENERIC_INFO
and SOURCE_INFO.
* lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%,
%DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.

21 years agoFor PR automake/359:
Alexandre Duret-Lutz [Fri, 29 Nov 2002 21:53:04 +0000 (21:53 +0000)]
For PR automake/359:
* automake.in (do_check_merge_target): Make `check' dependent on
$(BUILT_SOURCES) if the variable is defined.  Run `check-am' or
`check-recursive' in a submake in this case.
* tests/check2.test, tests/check3.test: New files.
* tests/check.test: Make sure `check' depends on `check-am'.
* tests/Makefile.am (TESTS): Add check2.test and check3.test.

21 years agoFor PR automake/371 and PR automake/372:
Alexandre Duret-Lutz [Fri, 29 Nov 2002 17:52:08 +0000 (17:52 +0000)]
For PR automake/371 and PR automake/372:
* automake.in (rule_define): Honor inference rules with multiple
targets, and warn when they are used.
* tests/suffix11.test: New file.
* tests/Makefile.am (TESTS): Add suffix11.test.
Reported by Duncan Gibson.

21 years agoFor PR automake/370:
Alexandre Duret-Lutz [Thu, 28 Nov 2002 21:01:51 +0000 (21:01 +0000)]
For PR automake/370:
* automake.in (handle_languages): Don't prepend $U to $myext
since handle_single_transform_list now appends it to $obj.
Process the rule twice to handle deansified files in subdirectories.
Mark _.c files in subdirectories for cleaning.
(handle_single_transform_list): Append $U to $obj_sans_ext if
needed: before this dependencies were output foo.Po instead
of foo$U.Po.  Don't output explicit dependencies for renamed
objects or sources in sub-directories: we already output
a full compile rule for them.
(lang_c_finish): Don't always use the full filename in the
.c -> _.c rule.  This reverts part of my change of 2002-11-21.
* tests/ansi6.test, tests/ansi7.test: Make sure deansified
files are created in the right directory, and cleaned.
Reported by Kevin Ryde.

21 years ago*** empty log message ***
Jim Meyering [Mon, 25 Nov 2002 20:03:05 +0000 (20:03 +0000)]
*** empty log message ***

21 years agoUse `$0:' at the beginning of each diagnostic, not `install:'.
Jim Meyering [Mon, 25 Nov 2002 20:00:36 +0000 (20:00 +0000)]
Use `$0:' at the beginning of each diagnostic, not `install:'.

21 years ago* automake.in (make_condition_string): New function.
Alexandre Duret-Lutz [Thu, 21 Nov 2002 14:27:34 +0000 (14:27 +0000)]
* automake.in (make_condition_string): New function.
(cond_stack_if, cond_stack_else, cond_stack_endif): Use it.
Suggested by Raja R Harinath.

21 years ago* tests/texinfo13.test: Require texi2dvi-o.
Alexandre Duret-Lutz [Thu, 21 Nov 2002 13:27:19 +0000 (13:27 +0000)]
* tests/texinfo13.test: Require texi2dvi-o.
* tests/defs.in: Handle required=texi2dvi-o.

21 years ago* automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
Alexandre Duret-Lutz [Thu, 21 Nov 2002 11:54:11 +0000 (11:54 +0000)]
* automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.

21 years ago* automake.in (handle_single_transform_list): Don't strip the
Alexandre Duret-Lutz [Wed, 20 Nov 2002 23:28:03 +0000 (23:28 +0000)]
* automake.in (handle_single_transform_list): Don't strip the
directory from $full_ansi.  This reverts my patch of 2002-10-16.
(lang_c_finish): Use the full filename, including the directory,
in the .c -> _.c rule.  These two files must reside in the same
directory.
* tests/ansi6.test: Also try to compile without ansi2knr.
Reported by Andreas Schwab

21 years ago* lib/Automake/Conditional.pm (strip): New function.
Alexandre Duret-Lutz [Wed, 20 Nov 2002 22:33:15 +0000 (22:33 +0000)]
* lib/Automake/Conditional.pm (strip): New function.
* lib/Automake/ConditionalSet.pm (sub_conditions): Use it.
Suggested by Raja R Harinath.

21 years ago* automake.in (conditional_ambiguous_p, macro_define, rule_define,
Alexandre Duret-Lutz [Wed, 20 Nov 2002 22:03:55 +0000 (22:03 +0000)]
* automake.in (conditional_ambiguous_p, macro_define, rule_define,
require_variables): Use ->human instead of ->string.
* lib/Automake/Conditional.pm (string): Don't sort conditions, they
are already sorted.
(_to_human, human): New functions.
* lib/Automake/ConditionalSet.pm (human): New function.
* tests/cond27.test, tests/library3.test, tests/pluseq5.test,
tests/pluseq9.test: Adjust.

21 years ago* lib/Automake/Conditional.pm [SYNOPSIS]: Fix not's description.
Alexandre Duret-Lutz [Wed, 20 Nov 2002 20:12:48 +0000 (20:12 +0000)]
* lib/Automake/Conditional.pm [SYNOPSIS]: Fix not's description.
* lib/Automake/ConditionalSet.pm (sub_conditions): New function.
(multiply): Also accept an Automake::Conditional as argument.
* automake.in (variable_not_always_defined_in_cond): Simplify,
using only Automake::ConditionalSet methods.
Suggested by Raja R Harinath.

21 years ago* lib/Automake/ConditionalSet.pm (conds): Use value() to simplify.
Alexandre Duret-Lutz [Wed, 20 Nov 2002 11:10:02 +0000 (11:10 +0000)]
* lib/Automake/ConditionalSet.pm (conds): Use value() to simplify.
(invert): Rewrite as a product-of-sums to sum-of-products converter.
(_multiply, multiply): New functions.
* lib/Automake/Conditional.pm (not): New function.
* lib/Automake/tests/ConditionalSet.pl (test_invert): Update.
* automake.in (condition_negate): Move ...
* lib/Automake/Conditional.pm (negate_condition): ... here.
Suggested by Raja R Harinath.

21 years ago* lib/Automake/ConditionalSet.pm (_simplify, simplify): New methods.
Alexandre Duret-Lutz [Tue, 19 Nov 2002 20:02:38 +0000 (20:02 +0000)]
* lib/Automake/ConditionalSet.pm (_simplify, simplify): New methods.
(true): Cache return value, so _simplify can use it.
* lib/Automake/tests/ConditionalSet.pl (test_simplify): New function.
* automake.in (variable_not_always_defined_in_cond): Return
a simplified ConditionalSet.
(macro_define, require_variables): Adjust.
* tests/Makefile.am (TEST): Add library3.test.
* tests/library3.test: New file.
* tests/pluseq9.test: Adjust.
Thanks to Raja R Harinath.

21 years ago* lib/Automake/tests/Makefile.am, lib/Automake/tests/Conditional.pl,
Alexandre Duret-Lutz [Mon, 18 Nov 2002 18:41:10 +0000 (18:41 +0000)]
* lib/Automake/tests/Makefile.am, lib/Automake/tests/Conditional.pl,
lib/Automake/tests/ConditionalSet.pl: New files.
* lib/Automake/Makefile.am (SUBDIRS): New variable.
* configure.in: Output lib/Automake/tests/Makefile.
* lib/Automake/ConditionalSet.pm (by_conditions): Delete.
(conds): Don't use by_conditions, sort alphabetically, and
return sorted conds.
(string): Call ->string on each Conditional.
* tests/Makefile.am (TESTS): Remove cond12.test.
* tests/cond12.test: Remove, moved to
lib/Automake/tests/ConditionalSet.pl.
* tests/cond3.test: Adjust conditional ordering.

22 years ago* lib/Automake/ConditionalSet.pm (_permutations_worker): Ignore TRUE
Alexandre Duret-Lutz [Fri, 15 Nov 2002 10:12:11 +0000 (10:12 +0000)]
* lib/Automake/ConditionalSet.pm (_permutations_worker): Ignore TRUE
conditions.
(permutations): Treat empty permutations as TRUE.
(invert): Simplify.
Suggested by Raja R Harinath.

22 years ago* automake.in (variable_defined): Thinko.
Alexandre Duret-Lutz [Thu, 14 Nov 2002 22:37:29 +0000 (22:37 +0000)]
* automake.in (variable_defined): Thinko.
* lib/Automake/ConditionalSet.pm (true): Simplify.
(permutations): Fix documentation.
(new): Don't simplify conditional sets that contain TRUE.
Reported by Raja R Harinath.

22 years ago2002-11-14 Eric Blake <ebb9@email.byu.edu>
Tom Tromey [Thu, 14 Nov 2002 20:22:03 +0000 (20:22 +0000)]
2002-11-14  Eric Blake  <ebb9@email.byu.edu>

* lib/am/depend2.am: Add missing fi in c.obj rules.

22 years ago* automake.in (handle_installdirs): Reindent to workaround a
Alexandre Duret-Lutz [Thu, 14 Nov 2002 16:33:14 +0000 (16:33 +0000)]
* automake.in (handle_installdirs): Reindent to workaround a
parsing bug in Perl 5.6.0.
Reported by Patrick Welche.

22 years ago* lib/Automake/Conditional.pm: Add reference to ConditionalSet.pm.
Alexandre Duret-Lutz [Thu, 14 Nov 2002 16:11:54 +0000 (16:11 +0000)]
* lib/Automake/Conditional.pm: Add reference to ConditionalSet.pm.
* lib/Automake/ConditionalSet.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add ConditionalSet.pm.
* automake.in: Use ConditionalSet.
(by_condition, invert_conditions, variable_conditions_permutations):
Remove, now defined as Automake::ConditionalSet::by_condition,
Automake::ConditionalSet::invert, and
Automake::ConditionalSet::permutations.
(variable_sorted_conditions): Remove.
(msg_var, msg_target handle_source_transform, handle_lib_objects,
conditional_ambiguous_p, variable_not_always_defined_in_cond,
macro_define, macro_dump, variable_defined,
variable_conditions_recursive, variable_conditions,
target_conditions, variable_conditionally_defined,
variable_conditions_recursive_sub,
check_variable_defined_unconditionally, variable_value_as_list,
variable_value_as_list_recursive_worker, variable_output,
variable_pretty_output, rule_define, append_exeext,
am_install_var, require_variables_for_macro): Adjust to
use ConditionalSet.

22 years ago* automake.in (variable_conditions): Split into ...
Alexandre Duret-Lutz [Wed, 13 Nov 2002 21:58:26 +0000 (21:58 +0000)]
* automake.in (variable_conditions): Split into ...
(variable_conditions, variable_sorted_conditions): ... these
functions, where variable_sorted_conditions has the semantic of
the old variable_condition.
(target_conditions): New function.
(msg_var, handle_lib_objects_cond, check_ambiguous_conditional,
variable_not_always_defined_in_cond, macro_define,
variable_defined, check_variable_defined_unconditionally,
variable_conditions_recursive_sub,
variable_conditions_permutations, variable_value_as_list,
variable_value_as_list_recursive_worker, append_exeext,
am_install_var, require_variables_for_macro): Use variable_conditions.
(msg_target, rule_define): Use target_conditions.
(define_objects_from_sources, macro_define, macro_dump,
variable_pretty_output): Use variable_sorted_conditions.

22 years ago* automake.texi (Conditional Sources): Fix the `+=' example.
Alexandre Duret-Lutz [Wed, 13 Nov 2002 21:04:46 +0000 (21:04 +0000)]
* automake.texi (Conditional Sources): Fix the `+=' example.
Reported by Mike Castle.

22 years ago* automake.in: Don't declare TRUE and FALSE, import them from
Alexandre Duret-Lutz [Wed, 13 Nov 2002 20:11:31 +0000 (20:11 +0000)]
* automake.in: Don't declare TRUE and FALSE, import them from
Automake::Conditional.
* lib/Automake/Conditional.pm (TRUE, FALSE): New constants.
(new): Simplify using FALSE.
(reduce): New function, moved from ...
* automake.in (variable_conditions_reduce): ... here.
(variable_conditions_recursive_sub, invert_conditions):
Adjust calls to Automake::Conditional::reduce.
* tests/cond12.test: Adjust to use Automake::Conditional.

22 years ago Make install-sh work even when names contain spaces or
Jim Meyering [Sun, 10 Nov 2002 14:26:15 +0000 (14:26 +0000)]
Make install-sh work even when names contain spaces or
certain (but not all) shell metachars.

* lib/install-sh: Remove lots of unnecessary quoting.
Add double quotes where necessary.
Write diagnostics to stderr, not stdout.
Normalize spacing in diagnostics: use one space (not two,
and not a TAB) after the leading `install:'.
Remove trailing white space.
Remove unnecessary curly braces.
If removing the destination fails, also try to move it aside.
Use `trap' more portably.

22 years agoregen
Jim Meyering [Sun, 10 Nov 2002 14:25:23 +0000 (14:25 +0000)]
regen

22 years ago(TESTS): Add installsh2.test.
Jim Meyering [Sun, 10 Nov 2002 14:25:16 +0000 (14:25 +0000)]
(TESTS): Add installsh2.test.

22 years ago Make install-sh work even when names contain spaces or
Jim Meyering [Sun, 10 Nov 2002 14:24:00 +0000 (14:24 +0000)]
Make install-sh work even when names contain spaces or
certain (but not all) shell metachars.

* lib/install-sh: Remove lots of unnecessary quoting.
Add double quotes where necessary.
Write diagnostics to stderr, not stdout.
Normalize spacing in diagnostics: use one space (not two,
and not a TAB) after the leading `install:'.
Remove trailing white space.
Remove unnecessary curly braces.
If removing the destination fails, also try to move it aside.
Use `trap' more portably.
* tests/installsh2.test: New file, to test for the above fix.
* tests/Makefile.am (TESTS): Add installsh2.test.

22 years ago.
Jim Meyering [Sat, 9 Nov 2002 12:17:25 +0000 (12:17 +0000)]
.

22 years agoFix some typos and a grammar nit.
Jim Meyering [Sat, 9 Nov 2002 12:17:17 +0000 (12:17 +0000)]
Fix some typos and a grammar nit.

22 years ago* automake.in (switch_warning): Subject Perl warnings to -Werror.
Alexandre Duret-Lutz [Thu, 7 Nov 2002 23:03:15 +0000 (23:03 +0000)]
* automake.in (switch_warning): Subject Perl warnings to -Werror.

22 years ago* automake.texi (Extending): Complete unterminated sentence.
Alexandre Duret-Lutz [Thu, 7 Nov 2002 10:49:47 +0000 (10:49 +0000)]
* automake.texi (Extending): Complete unterminated sentence.
Reported by Mike Castle.

22 years ago* automake.in (&conditional_ambiguous_p): Don't forget to ->string
Akim Demaille [Wed, 6 Nov 2002 10:47:30 +0000 (10:47 +0000)]
* automake.in (&conditional_ambiguous_p): Don't forget to ->string
the Conditionals.

22 years ago* automake.texi (Dist): Fix the distcleancheck_listfiles example.
Alexandre Duret-Lutz [Thu, 31 Oct 2002 14:45:36 +0000 (14:45 +0000)]
* automake.texi (Dist): Fix the distcleancheck_listfiles example.
Reported by Karl Berry.

22 years ago* tests/location.test (Makefile.am): Strengthen.
Akim Demaille [Thu, 31 Oct 2002 11:55:25 +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.

22 years ago* automake.in (&read_am_file): Use $last_where to register the
Akim Demaille [Thu, 31 Oct 2002 11:42:22 +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.

22 years agoregen
Pavel Roskin [Tue, 29 Oct 2002 18:35:22 +0000 (18:35 +0000)]
regen

22 years ago2002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
Alexandre Duret-Lutz [Fri, 25 Oct 2002 18:08:19 +0000 (18:08 +0000)]
2002-10-25  Charles Wilson  <cwilson@ece.gatech.edu>

* tests/defs.in: Add explicit stanza for python -V.

22 years agoDon't rely on which, use an Autoconf-like test instead.
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>

22 years agoTypo.
Akim Demaille [Thu, 17 Oct 2002 10:44:42 +0000 (10:44 +0000)]
Typo.

22 years ago* tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead
Alexandre Duret-Lutz [Wed, 16 Oct 2002 18:53:43 +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.

22 years ago* lib/texinfo.tex: New version from Texinfo 4.2b.
Alexandre Duret-Lutz [Wed, 16 Oct 2002 18:03:41 +0000 (18:03 +0000)]
* lib/texinfo.tex: New version from Texinfo 4.2b.

22 years ago* automake.in (handle_single_transform_list) <full_ansi>: New variable.
Alexandre Duret-Lutz [Tue, 15 Oct 2002 08:38:54 +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

22 years ago* aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
Alexandre Duret-Lutz [Sat, 12 Oct 2002 21:19:28 +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.

22 years agoFor Debian Bug#153697:
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.

22 years agoFor PR automake/369:
Alexandre Duret-Lutz [Thu, 10 Oct 2002 18:22:05 +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'.

22 years agoFor PR automake/358:
Alexandre Duret-Lutz [Thu, 10 Oct 2002 17:37:37 +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.

22 years ago* m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty:
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.

22 years ago* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
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.

22 years ago(_AM_DEPENDENCIES): Don't put "-o foo" at the end of the $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.

22 years ago(.dvi.ps): Don't put "-o foo" at the end of the dvips command line,
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.

22 years ago(%DEST_PREFIX%%DEST_SUFFIX%, %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf):
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.

22 years ago* automake.in (file_contents_internal): Fix the relationship
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'.

22 years agoFor Debian Bug#162583:
Alexandre Duret-Lutz [Tue, 8 Oct 2002 21:40:29 +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.

22 years ago* lib/Automake/Conditional.pm (has): Simplify.
Alexandre Duret-Lutz [Tue, 8 Oct 2002 17:37:55 +0000 (17:37 +0000)]
* lib/Automake/Conditional.pm (has): Simplify.

22 years ago* lib/Automake/Conditional.pm: New file.
Alexandre Duret-Lutz [Mon, 7 Oct 2002 09:23:31 +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.

22 years ago* automake.in (handle_source_transform): If foo_SOURCES is defined
Alexandre Duret-Lutz [Tue, 1 Oct 2002 19:59:32 +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.

22 years ago* tests/defs.in: Run $MAKE --version -v.
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.

22 years ago2002-09-30 Kevin Ryde <user42@zip.com.au>
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.

22 years ago* automake.in (require_variables): The fix introduced in 2002-09-19
Alexandre Duret-Lutz [Mon, 30 Sep 2002 18:08:06 +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.

This page took 0.292285 seconds and 5 git commands to generate.