Log

Author Commit Date CI Message
Alexandre Duret-Lutz e9dae118 2003-01-31T23:35:02 * automake.texi (Program and Library Variables): Clarify that _LIBADD is for libraries and _LDADD for programs.
Alexandre Duret-Lutz 77ff36c3 2003-01-31T22:57:22 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
Alexandre Duret-Lutz 780deea6 2003-01-28T23:24:25 Fix for PR automake/352: * automake.in (transform_variable_recursively): If the destination and the source variables are the same, delete the source variable before defining the destination variable. (handle_programs): Strip any $(EXEEXT) suffix from $one_file, or this will confuse handle_source_transform. (append_exeext): Rewrite using transform_variable_recursively. * tests/cond29.test, tests/cond30.test: New files. * tests/exeext.test: Run ./configure and make, this uncovered the above handle_programs issue. * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
Alexandre Duret-Lutz ce6e1d20 2003-01-28T20:59:59 * automake.in (%subobjvar): Replace by ... (%gen_varname): ... this. (subobjname): Replace by ... (gen_varname): ... this. (initialize_per_input): Clean gen_varname instead of subobjname. (transform_variable_recursively): New function, extracted from define_objects_from_sources. (define_objects_from_sources): Use transform_variable_recursively. Remove the unused $parent argument. (handle_source_transform): Adjust call to define_objects_from_sources.
Alexandre Duret-Lutz 06f58fb9 2003-01-23T23:35:40 * automake.in (@substfroms, @substtos): Move near traverse_variable_recursively. (traverse_variable_recursively, traverse_variable_recursively_worker): New functions, extracted from define_objects_from_sources. (define_objects_from_sources): Rewrite using traverse_variable_recursively. (handle_source_transform): Use variables_conditionally_defined instead of calling variable_conditions_recursive directly. Adjust the call to define_objects_from_sources; there is no need to reset @substtos, @substfroms, and %vars_scanned now. (variable_conditions_recursive): Rewrite using traverse_variable_recursively. (variable_conditions_recursive_sub): Remove. (variable_conditionally_defined): Fix condition comparison (the consequence was that DIST_SUBDIRS was always output). * lib/Automake/Condition.pm (merge): Allow merging several conditions at once.
Alexandre Duret-Lutz 0089aa4c 2003-01-22T21:48:26 * automake.texi (Python): Explain that directory variables start with either ${prefix} or ${exec_prefix}, and point to the `Installation Directory Variables' section of the Autoconf manual.
Alexandre Duret-Lutz b1fe8738 2003-01-21T18:02:34 * lib/am/distdir.am (top_distdir, distdir): Define these variables only in top level Makefile. Redefine $(top_distdir) as $(distdir). (distdir): Fix passing of $(top_distdir) to sub-makes. * automake.in (handle_dist): Do not define the DISTDIR and TOP_DISTDIR transformations. We don't need them anymore. * automake.texi (Dist): Reorder the dist-hook section, and move the DIST_SUBDIRS paragraph earlier. Document distdir and top_distdir. * tests/subpkg.test: Update to check for $(distdir) and $(top_distdir).
Alexandre Duret-Lutz 29af0999 2003-01-19T23:01:03 Rename more files to accomodate 8+3 file systems, and adjust the vocabulary at the same time: AM_CONDITIONAL defines "conditionals", and we call "condition" a conjunction of "conditionals". * lib/am/Conditional.pm: Rename to lib/am/Condition.pm. * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl. * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm. * lib/am/tests/ConditionalSet.pl: Rename to lib/am/tests/DisjConditions.pl * lib/am/Conditional.pm (condition_negate): Rename to ... * lib/am/Condition.pm (conditional_negate): ... this. * automake.in: Adjust references to Condition and DisjConditions. (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ... (check_ambiguous_condition, condition_ambiguous_p): ... these.
Alexandre Duret-Lutz 7b01f9e9 2003-01-19T15:36:41 * tests/README: New file.
Alexandre Duret-Lutz cde2810a 2003-01-19T15:19:26 * automake.texi (Conditional Programs): Show a sample Makefile.am. Remind $(EXEEXT) must be appended to configure substitutions. Show how Automake conditionals can be used instead. * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also appended to conditionally defined programs.
Jim Meyering 03f79b42 2003-01-17T14:51:07 .
Jim Meyering b0157dde 2003-01-17T14:50:42 Accept --help and --version, and lots of syntactic clean-up. Use consistent indentation, two spaces per level. (scriptversion): New variable. Change initializations like `variable=""' to `variable='. (usage): New variable. Use `test', not `['. Use `test -z "$var"', not `[ x"$var" = x ]'. Use `test -n "$var"', not `[ x"$var" != x ]'. Alphabetize case entries. Accept --help and --version options. Remove unnecessary `else :' clauses. Add a `Local variables' eval block to help emacs users update the time-stamp variable added above. Mostly from Karl Berry.
Alexandre Duret-Lutz 04746fa5 2003-01-16T11:47:13 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add python2.3.
Alexandre Duret-Lutz 29ccf3d9 2003-01-16T11:40:42 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir' or `pyexecdir', for the sake of 64-bit distributions that usually use lib64/ instead of lib/. Fall back to the default directory if it doesn't work. Suggested by Gwenole Beauchesne.
Alexandre Duret-Lutz 33aa85b6 2003-01-14T07:26:21 For PR automake/382: * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'. Explain BUILT_SOURCES is usually needed in this case. Reported by William S Fulton.
Alexandre Duret-Lutz 6f6f78e2 2003-01-14T07:22:22 Rename some files for the sake of 8+3 file systems. * tests/aclocali.test: Rename to tests/aclocal.test. * tests/aclocali1.test: Rename to tests/aclocal2.test. * tests/aclocalii.test: Rename to tests/aclocal3.test. * tests/acoutput.test: Rename to tests/acoutpt.test. * tests/acoutput2.test: Rename to tests/acoutpt2.test. * tests/acouttbs.test: Rename to tests/acoutbs.test. * tests/acouttbs2.test: Rename to tests/acoutbs2.test. * tests/autoheader.test: Rename to tests/autohdr.test. * tests/autoheader2.test: Rename to tests/autohdr2.test. * tests/condincl.test: Rename to tests/condinc.test. * tests/condincl2.test: Rename to tests/condinc2.test. * tests/distcommon.test: Rename to tests/distcom.test. * tests/distcommon2.test: Rename to tests/distcom2.test. * tests/distcommon3.test: Rename to tests/distcom3.test. * tests/installsh.test: Rename to tests/instsh.test. * tests/installsh2.test: Rename to tests/instsh2.test. * tests/instdata.test: Rename to tests/instdat.test. * tests/instdata2.test: Rename to tests/instdat2.test. * tests/libobj12b.test: Rename to tests/libobj13.test. * tests/link_f_c.test: Rename to tests/link_fc.test. * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test. * tests/link_f_cxx.test: Rename to tests/link_fcxx.test. * tests/nodefine.test: Rename to tests/nodef.test. * tests/nodefine2.test: Rename to tests/nodef2.test. * tests/required.test: Rename to tests/reqd.test. * tests/required2.test: Rename to tests/reqd2.test. * tests/sourcesub.test: Rename to tests/srcsub.test. * tests/sourcesub2.test: Rename to tests/srcsub2.test. * tests/specflags.test: Rename to tests/specflg.test. * tests/specflags2.test: Rename to tests/specflg2.test. * tests/specflags3.test: Rename to tests/specflg3.test. * tests/specflags6.test: Rename to tests/specflg6.test. * tests/specflags7.test: Rename to tests/specflg7.test. * tests/specflags8.test: Rename to tests/specflg8.test. * tests/specflags9.test: Rename to tests/specflg9.test. * tests/subdircond.test: Rename to tests/subcond.test. * tests/subdircond2.test: Rename to tests/subcond2.test. * tests/subdircond3.test: Rename to tests/subcond3.test. * tests/texinfo.test: Rename to tests/txinfo.test. * tests/texinfo2.test: Rename to tests/txinfo2.test. * tests/texinfo3.test: Rename to tests/txinfo3.test. * tests/texinfo4.test: Rename to tests/txinfo4.test. * tests/texinfo5.test: Rename to tests/txinfo5.test. * tests/texinfo6.test: Rename to tests/txinfo6.test. * tests/texinfo7.test: Rename to tests/txinfo7.test. * tests/texinfo8.test: Rename to tests/txinfo8.test. * tests/texinfo9.test: Rename to tests/txinfo9.test. * tests/texinfo10.test: Rename to tests/txinfo10.test. * tests/texinfo13.test: Rename to tests/txinfo13.test. * tests/texinfo16.test: Rename to tests/txinfo16.test. * tests/texinfo17.test: Rename to tests/txinfo17.test. * tests/texinfo18.test: Rename to tests/txinfo18.test. * tests/Makefile.am (TESTS): Adjust. * ChangeLog.1996: Rename to ChangeLog.96. * ChangeLog.1998: Rename to ChangeLog.98. * ChangeLog.2000: Rename to ChangeLog.00. * ChangeLog.2001: Rename to ChangeLog.01. * Makefile.am (EXTRA_DIST): Adjust. Reported by Richard Dawe.
Alexandre Duret-Lutz 6975cde2 2003-01-13T19:17:54 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames. Use '_build' and '_inst' instead of '=build' and '=inst'. * tests/man2.test: Reflect change automake: check for files in '_build' and '_inst' directories instead of '=build' and '=inst'.
Alexandre Duret-Lutz a17b4312 2003-01-13T14:22:25 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames. Use '_build' and '_inst' instead of '=build' and '=inst'. * tests/man2.test: Reflect change automake: check for files in '_build' and '_inst' directories instead of '=build' and '=inst'.
Alexandre Duret-Lutz bb174399 2003-01-13T14:04:41 Use `_dirstamp' when the file-system doesn't support `.dirstamp'. * m4/lead-dot.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.: * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define DEPDIR using am__leading_dot. * automake.in (require_build_directory): Define am__dirstamp, a new variable for the dirstamp basename, based on am__leading_dot. * tests/subobj6.test: Move all `test -f' into Makefiles, so we can use $(am__dirstamp). Reported by Richard Dawe.
Alexandre Duret-Lutz e3b2b029 2003-01-13T11:06:40 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test: Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when testing for programs. Reported by Richard Dawe.
Alexandre Duret-Lutz e44668c6 2003-01-10T19:30:18 * Makefile.am (maintainer-check): Suggest using $sleep instead of sleep 2. * tests/defs.in (sleep): New variable. * tests/asm.test, tests/confsub.test, tests/lisp3.test, tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test: Use $sleep instead of sleep 2, to work around timestamp inconsistencies in Windows. Reported by Richard Dawe.
Alexandre Duret-Lutz fba8d897 2003-01-10T18:17:02 revert previous spurious change
Alexandre Duret-Lutz 0e3cecdd 2003-01-10T18:15:22 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh after $MAKE -e. * tests/ansi3.test, tests/ansi5.test, tests/cond22.test, tests/man2.test, tests/subobj3.test, tests/suffix8.test, tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e. $SHELL is overridden by tests/defs, so it won't hurt even if $MAKE -e uses the $SHELL envvar. * tests/ansi.test, tests/insh2.test, tests/texinfo.test, tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh. Reported by Richard Dawe.
Alexandre Duret-Lutz 1b88809d 2003-01-10T17:25:38 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.
Akim Demaille 88eb110f 2003-01-09T12:45:34 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
Akim Demaille 25db9e9b 2003-01-09T12:43:42 Regen.
Alexandre Duret-Lutz c7a3a124 2003-01-08T18:17:05 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious variables. Suggested by Ryan T. Sammartino.
Alexandre Duret-Lutz a5ba9275 2003-01-05T22:51:10 * automake.in (macro_define): Add missing `{$cond}' (typo from 2002-09-18). ($gen_copyright): Append year 2003. (version): Increase year.
Alexandre Duret-Lutz 715ffed4 2003-01-05T22:41:33 * 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.
Alexandre Duret-Lutz ae9e315b 2002-12-31T21:31:51 * 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.
Alexandre Duret-Lutz 37f29965 2002-12-31T21:24:46 * automake.in (err): Rename as ... (error): ... this. Adjust all callers. Suggested by H.Merijn Brand.
Pavel Roskin d2d26446 2002-12-18T23:31:34 Lots of typo fixes in the comments.
Alexandre Duret-Lutz ef3bf50f 2002-12-13T21:59:10 * tests/version7.test: Require GNU make. Reported by Patrick Welche.
Alexandre Duret-Lutz 364483ba 2002-12-12T13:41:00 * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION.
Alexandre Duret-Lutz 1f1b25e9 2002-12-11T20:51:03 * 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.
Alexandre Duret-Lutz 62134ac5 2002-12-05T15:26:58 * 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.
Alexandre Duret-Lutz 4db71e50 2002-12-05T11:05:39 * 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.
Alexandre Duret-Lutz 90ab8591 2002-12-05T09:02:30 * 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.
Alexandre Duret-Lutz 6453844e 2002-12-04T20:24:18 s/Kevin Ride/Kevin Ryde/
Alexandre Duret-Lutz f31ed463 2002-12-04T20:22:20 * 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.
Alexandre Duret-Lutz 2ee7757c 2002-12-04T20:02:30 * tests/ansi10.test (liblib_a_LIBADD): Set ac_cv_prog_cc_stdc not am_cv_prog_cc_stdc.
Alexandre Duret-Lutz 26c68912 2002-12-04T19:31:42 * automake.texi (Options): Some English nits from Eric Siegerman. (Sources): Rewrite the introduction and move the example to ... (Built sources example): ... this separate node.
Alexandre Duret-Lutz 5b235be8 2002-12-04T19:21:16 * automake.in (variable_pretty_output): Strip trailing backslashes in $val after $val is defined... Reported by Kevin Ryde.
Alexandre Duret-Lutz 97494915 2002-12-04T18:07:43 * 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.
Alexandre Duret-Lutz 48023ff5 2002-12-04T17:45:26 * tests/man2.test: Exercize `make uninstall', to test the previous change.
Alexandre Duret-Lutz 74d579f4 2002-12-04T17:37:12 * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of the man pages being uninstalled, if needed.
Alexandre Duret-Lutz f5e15d52 2002-12-03T20:41:48 * 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.
Alexandre Duret-Lutz eb569773 2002-12-03T19:05:04 Revert previous patch (the one for PR automake/379), it conflicts with PR/280.
Alexandre Duret-Lutz 62e41948 2002-12-03T18:00:21 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.
Alexandre Duret-Lutz c4c55d85 2002-12-02T18:04:47 * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Append $(EXEEXT) again.
Alexandre Duret-Lutz 74113fa5 2002-12-02T18:01:29 * automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an example.
Alexandre Duret-Lutz cc6883cf 2002-12-02T08:08:48 * 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.
Alexandre Duret-Lutz e0e824f9 2002-12-01T18:19:25 typo
Alexandre Duret-Lutz 864199e3 2002-12-01T18:16:34 * 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.
Alexandre Duret-Lutz d0269472 2002-12-01T17:04:38 * automake.in (do_check_merge_target): Add missing space.
Alexandre Duret-Lutz 77effa60 2002-12-01T12:58:32 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream versions.
Alexandre Duret-Lutz 1221770a 2002-12-01T10:54:40 * 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.
Alexandre Duret-Lutz 456c77e7 2002-11-30T20:41:12 * 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.
Alexandre Duret-Lutz 2c8ac917 2002-11-30T20:12:19 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.
Alexandre Duret-Lutz 9ef8a37f 2002-11-30T16:51:15 * 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.
Alexandre Duret-Lutz 9e34120c 2002-11-30T15:34:49 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.
Alexandre Duret-Lutz f373ac53 2002-11-30T13:11:05 * 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.
Alexandre Duret-Lutz a117c24e 2002-11-29T21:53:06 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.
Alexandre Duret-Lutz bd4be419 2002-11-29T17:52:09 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.
Alexandre Duret-Lutz 62aa352d 2002-11-28T21:01:51 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.
Jim Meyering fa9f85fc 2002-11-25T20:03:05 *** empty log message ***
Jim Meyering da5ee0f6 2002-11-25T20:00:36 Use `$0:' at the beginning of each diagnostic, not `install:'.
Alexandre Duret-Lutz dae5c6e1 2002-11-21T14:27:34 * automake.in (make_condition_string): New function. (cond_stack_if, cond_stack_else, cond_stack_endif): Use it. Suggested by Raja R Harinath.
Alexandre Duret-Lutz 6f59504e 2002-11-21T13:27:20 * tests/texinfo13.test: Require texi2dvi-o. * tests/defs.in: Handle required=texi2dvi-o.
Alexandre Duret-Lutz 63f2a9f4 2002-11-21T11:54:11 * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
Alexandre Duret-Lutz b93c7625 2002-11-20T23:28:07 * 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
Alexandre Duret-Lutz 61d9ba6b 2002-11-20T22:33:15 * lib/Automake/Conditional.pm (strip): New function. * lib/Automake/ConditionalSet.pm (sub_conditions): Use it. Suggested by Raja R Harinath.
Alexandre Duret-Lutz 6a952503 2002-11-20T22:03:57 * 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.
Alexandre Duret-Lutz bba5011f 2002-11-20T20:12:50 * 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.
Alexandre Duret-Lutz 7508ed24 2002-11-20T11:10:05 * 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.
Alexandre Duret-Lutz 149abece 2002-11-19T20:02:40 * 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.
Alexandre Duret-Lutz 180cd66e 2002-11-18T18:43:37 * 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.
Alexandre Duret-Lutz 7295fc87 2002-11-15T10:12:12 * lib/Automake/ConditionalSet.pm (_permutations_worker): Ignore TRUE conditions. (permutations): Treat empty permutations as TRUE. (invert): Simplify. Suggested by Raja R Harinath.
Alexandre Duret-Lutz 7e7c3b83 2002-11-14T22:37:30 * 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.
Tom Tromey 3de705e1 2002-11-14T20:22:03 2002-11-14 Eric Blake <ebb9@email.byu.edu> * lib/am/depend2.am: Add missing fi in c.obj rules.
Alexandre Duret-Lutz 6213e7d7 2002-11-14T16:33:15 * automake.in (handle_installdirs): Reindent to workaround a parsing bug in Perl 5.6.0. Reported by Patrick Welche.
Alexandre Duret-Lutz 3dfbe38f 2002-11-14T16:12:00 * 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.
Alexandre Duret-Lutz c7f1ff74 2002-11-13T21:58:26 * 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.
Alexandre Duret-Lutz a8e29c03 2002-11-13T21:04:46 * automake.texi (Conditional Sources): Fix the `+=' example. Reported by Mike Castle.
Alexandre Duret-Lutz 70173bfc 2002-11-13T20:11:32 * 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.
Jim Meyering 9f68ee5c 2002-11-10T14:26:15 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.
Jim Meyering 5fa44648 2002-11-10T14:25:23 regen
Jim Meyering 875b1a66 2002-11-10T14:25:16 (TESTS): Add installsh2.test.
Jim Meyering 2afb4254 2002-11-10T14:24:01 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.
Jim Meyering 25487e61 2002-11-09T12:17:25 .
Jim Meyering 34f9dabb 2002-11-09T12:17:17 Fix some typos and a grammar nit.
Alexandre Duret-Lutz 08322d68 2002-11-07T23:03:15 * automake.in (switch_warning): Subject Perl warnings to -Werror.
Alexandre Duret-Lutz f70e8c88 2002-11-07T10:49:48 * automake.texi (Extending): Complete unterminated sentence. Reported by Mike Castle.
Akim Demaille d1f7fca3 2002-11-06T10:47:30 * automake.in (&conditional_ambiguous_p): Don't forget to ->string the Conditionals.
Alexandre Duret-Lutz 4eb50c57 2002-10-31T14:45:37 * automake.texi (Dist): Fix the distcleancheck_listfiles example. Reported by Karl Berry.
Akim Demaille ce9484c9 2002-10-31T11:55:27 * 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 49018c00 2002-10-31T11:42:23 * 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 397f253a 2002-10-29T18:35:23 regen
Alexandre Duret-Lutz c564e43d 2002-10-25T18:08:20 2002-10-25 Charles Wilson <cwilson@ece.gatech.edu> * tests/defs.in: Add explicit stanza for python -V.
Pavel Roskin 57972c67 2002-10-20T06:59:38 Don't rely on which, use an Autoconf-like test instead. Reported by Frédéric L. W. Meunier" <0@pervalidus.net>