lib/Automake


Log

Author Commit Date CI Message
Alexandre Duret-Lutz eaddaf5c 2003-07-24T08:05:03 regen
Derek R. Price ff8634e6 2003-07-16T19:10:07 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS. (handle_configure): Handle adding AC_CONFIG_LINKS arguments to distclean targets (CONFIG_CLEAN_FILES makefile var). * NEWS: Note new handling of AC_CONFIG_LINKS. * automake.texi (Other things Automake recognizes): Ditto. * tests/Makefile.am (TESTS): Add new tests. * tests/conflnk.test: New test that links are cleaned on distclean. * tests/conflnk2.test: New test that source files for links are distributed. * Makefile.in: Regenerated. * aclocal.m4: Ditto. * configure: Ditto. * stamp-vti: Ditto. * version.texi: Ditto. * lib/Makefile.in: Ditto. * lib/Automake/Makefile.in: Ditto. * lib/Automake/tests/Makefile.in: Ditto. * lib/am/Makefile.in: Ditto. * m4/Makefile.in: Ditto. * tests/Makefile.in: Ditto.
Raja R Harinath 2b957614 2003-07-10T23:39:09 Avoid using refs as hash keys. * lib/Automake/Variable.pm ($_traversal): New. (reset): Reset $_traversal. (_new): New attribute 'scanned'. (%_vars_scanned): Remove. (traverse_variable_recursively) (traverse_variable_recursively_worker): Use $_traversal instead of %_vars_scanned to detect recursively defined variables.
Alexandre Duret-Lutz 05ab9332 2003-07-10T20:51:27 * lib/Automake/Variable.pm (define): Make clear the diagnostic about variable names starting with `_' is about *Make* variables.
Alexandre Duret-Lutz 4152bd4a 2003-07-09T22:09:28 * aclocal.in: Use Automake::FileUtils. (parse_arguments, scan_configure, scan_m4_files): Never call "die" to print an error message. Use print and exit. * automake.in: Use Automake::FileUtils. * lib/Automake/General.pm ($debug, $help, $tmp, $verbose, $version, &debug, &getopt, &mktmpdir, &verbose): Remove. (END): Do not massage Perl's exit code. Do not clean any temporary directory. (find_file, mtime, update_file, xsystem, contents): Move to ... * lib/Automake/FileUtils.pm: ... this new file. Adjust to report errors using Channels. (handle_exec_errors, xqx): New functions, from Autoconf. * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
Alexandre Duret-Lutz 1a37abc5 2003-07-09T22:07:10 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker): Return the empty list on recursively defined variable. This supersedes my change of 2003-07-02.
Akim Demaille 164a3583 2003-07-06T19:30:46 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive, install-exec-recursive, install-data-recursive and uninstall-recursive addition to... * lib/am/texinfos.am: here. * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY declaration of RECURSIVE_TARGETS.
Akim Demaille d23e6821 2003-07-06T19:27:29 * automake.in (&define_files_variable): New. (&handle_texinfo_helper): Move the handling of user variables from here, to... (&handle_texinfo): here. This is to balance the size of these functions, and to match the convention of other _helper functions. (&handle_texinfo_helper): Use &define_files_variable. Move some code to use less variables. Rename $info_cursor as $texi. (&handle_texinfo): Do not call handle_texinfo_helper if there are no TEXINFOS. * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps and html. Remove *-recursive targets from .PHONY, they are part of $(RECURSIVE_TARGETS) anyway. (install-info, mostlyclean-aminfo): Are .PHONY.
Akim Demaille f9cef4a3 2003-07-06T07:42:36 * automake.in (&define_files_variable): New. (&handle_texinfo_helper): Move the handling of user variables from here, to... (&handle_texinfo): here. This is to balance the size of these functions, and to match the convention of other _helper functions. (&handle_texinfo_helper): Use &define_files_variable. Move some code to use less variables. Rename $info_cursor as $texi. (&handle_texinfo): Do not call handle_texinfo_helper if there are no TEXINFOS. * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps and html. Remove *-recursive targets from .PHONY, they are part of $(RECURSIVE_TARGETS) anyway. (install-info, mostlyclean-aminfo): Are .PHONY.
Alexandre Duret-Lutz 21af290f 2003-07-02T21:57:51 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker): Do not return undef when a variable is recursively defined, this causes warnings all over the place. Return the empty string instead.
Alexandre Duret-Lutz 41740be4 2003-06-30T06:35:55 * automake.in ($SUBST_REF_PATTERN): Do not define. (%gen_varname): Move to Variable.pm, as %_gen_varname. (initialize_per_input): Do not clean %gen_varname. (handle_options, check_libobjs_sources, handle_source_transform, handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper, handle_man_pages, handle_dist, handle_subdirs, handle_gettext, am_install_var): Adjust to use value_as_list_recursive, loc_and_value_as_list_recursive, and has_conditional_contents. (require_file_with_macro): Accept an Automake::Variable as argument. (traverse_variable_recursively, traverse_variable_recursively_worker, gen_varname, transform_variable_recursively): Move ... * lib/Automake/Variable.pm (traverse_variable_recursively, _traverse_variable_recursively_worker, _gen_varname, transform_variable_recursively): ... here. * automake.in (variable_conditionally_defined, variable_value_as_list_recursive_worker, variable_value_as_list_recursive variable_loc_and_value_as_list_recursive): Move ... * lib/Automake/Variable.pm (has_conditional_contents, _value_as_list_recursive_worker, value_as_list_recursive, loc_and_value_as_list_recursive): ... here. (reset): Reset %_gen_varname.
Akim Demaille 782464d3 2003-06-25T14:01:24 * automake.texi (Top): Use @copying and @insertcopying. Make Alexandre an author. * automake.in ($gen_copyright): Add the "(C)" to Copyright. * lib/depcomp: Likewise.
Alexandre Duret-Lutz 5b94845c 2003-06-23T21:39:54 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions. (variable_defined, examine_variable): Remove. (%_ac_macro_for_var): Add an entry for ALLOCA. (require_variables): Use vardef instead of variable_defined. Do not use _cvar. * automake.in (generate_makefile): Do not push $(SOURCE) into @sources. Use define_pretty_variable to define SOURCES. (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable to require LIBOBJS, LTLIBOBJS and ALLOCA. (handle_programs, handle_ltlibraries): Do not define an empty _DEPENDENCIES or _LDFLAGS variable when none is defined. (define_configure_variable): Do not check whether the variable already exists (it's Automake::Variable::define's job). (require_build_directory): Likewise, do not check the existence of am__dirstamp. (generate_makefile, handle_options, handle_languages) (check_libobjs_sources, handle_single_transform_list) (traverse_variable_recursively_worker, handle_source_transform) (handle_lib_objects, handle_LIBOBJS, handle_compile) (handle_libtool, handle_programs, handle_libraries) (handle_ltlibraries, check_typos, handle_texinfo_helper) (handle_man_pages, handle_tags, handle_dist, handle_subdirs) (scan_aclocal_m4, handle_gettext, handle_footer, handle_install) (handle_all, do_check_merge_target, handle_clean, lang_c_finish) (handle_tests, lang_yacc_target_hook, define_pretty_variable) (define_compiler_variable, define_linker_variable) (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to call var, vardef, or set_seen, instead of variable_defined. Use set_seen only for variables which are actually checked by check_typos. * tests/target.test: Delete. * tests/alloca.test, tests/alloca2.test: New files. * tests/libobj3.test: Check error message. * tests/distcom4.test: Make sure configure is in DIST_COMMON. This replace confdist.test. * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test. (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
Alexandre Duret-Lutz 97aee5d7 2003-06-20T20:38:58 * automake.in (handle_dist): Delete DIST_COMMON before redefining it. Bug report from Akim Demaille. (rewrite_inputs_into_dependencies): Make sure we always return something, even when $add_srcdir is 0. * tests/distcom4.test, tests/distcom5.test: New files. * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
Alexandre Duret-Lutz 7be4b03a 2003-06-03T21:09:22 * lib/Automake/Configure_ac.pm (search_configure_ac, find_configure_ac): Rename as ... (find_configure_ac, require_configure_ac): ... these. * aclocal.in (scan_configure): Adjust call to require_configure_ac. * automake.in (scan_autoconf_files): Likewise. Suggested by Tim Van Holder.
Alexandre Duret-Lutz 9f02b686 2003-06-02T23:35:00 * alocal.in: Use Automake::Configure_ac. ($configure_ac): Delete. (scan_configure): Adjust use of find_configure_ac; * automake.in: Use Automake::Configure_ac. ($configure_ac): Delete. (scan_autoconf_files): Adjust use of find_configure_ac; * lib/Automake/Configure_ac.pm: New file. * lib/Automake/General.pm (find_configure_ac): Delete. Now replaced by Automake::Configure_ac::search_configure_ac. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm. * lib/Automake/Variable.pm: Use Automake::Configure_ac. (require_variables): Adjust use of $configure_ac.
Akim Demaille f68696e2 2003-06-02T07:08:40 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am, * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am, * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am, * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am, * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am, * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am, * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am, * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am, * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am, * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am, * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4, * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4, * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4, * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4, * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4, * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4, * m4/Makefile.am: White space changes and Copyright updates.
Alexandre Duret-Lutz 4f299408 2003-05-29T19:05:55 * lib/Automake/Variable.pm (check_defined_unconditionally): Add the $parent_cond argument. (output): Use $self->name in diagnostic not $self. (variable_value_as_list): Rename as ... (value_as_list): ... this. Declare as a method. Take a $parent_cond argument and pass it to check_defined_unconditionally. Do not call variable_assert, now that this is a method. (variable_assert): Delete (unused). * automake.in (traverse_variable_recursively_worker): Adjust to use check_defined_unconditionally and value_as_list as a methods.
Alexandre Duret-Lutz 66fdf15e 2003-05-29T17:34:52 * lib/Automake/Variable.pm (output): Declare as a method, since it is only used this way. (define): Fix documentation of $cond. Suggested by Raja R. Harinath.
Alexandre Duret-Lutz fde42f14 2003-05-25T20:05:50 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm and VarDef.pm. * automake.in: Use Automake::Variable and Automake::VarDef. (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN. (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var. (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var. (silent_variable_override): Delete. Now Automake::Variable::_silent_variable_override. (var_value, var_location, var_comment, var_type, var_owner, var_pretty, content_seen): Delete. This functionality is now offered by Automake::Variable and Automake::VarDef. (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY): Delete. Now defined in Automake::VarDef. (var_order): Delete. Now Automake::Variable::_var_order. (appendvar): Delete. Now Automake::Variable::_appendvar. (var_SUFFIX_trigger): Register using Automake::Variable::hook. (initialize_per_input): Call Automake::Variable::reset. (err_var, msg_cond_var, msg_var, reject_var): Delete. Now defined in Automake::Variable. (generate_makefile, process_option_list, handle_languages) (traverse_variable_recursively_worker) (transform_variable_recursively, handle_compile) (handle_libraries, handle_ltlibraries) (check_typos, handle_dist, handle_subdirs, scan_autoconf_files): Adjust to use Automake::Variable functions. (check_ambiguous_condition): Delete. Now Automake::Variable::_check_ambiguous_condition. (condition_ambiguous_p): Delete. Now Automake::Variable::condition_ambiguous_p. (variable_not_always_defined_in_cond): Delete. Now Automake::Variable::not_always_defined_in_cond. (macro_define): Delete. Now Automake::Variable::define. (macro_delete): Delete. Now Automake::Variable::variable_delete. (macro_dump): Delete. Now Automake::Variable::variable_dump. (macros_dump): Delete. Now Automake::Variable::variables_dump. (variable_defined): Delete. Now Automake::Variable::variable_defined, with the target check temporarily disabled. (variable_assert): Delete. Now Automake::Variable::variable_assert. (examine_variable): Delete. Now Automake::Variable::examine_variable. (variable_conditions): Delete. Now Automake::Variable::conditions. (scan_variable_expansions): Delete. Now Automake::Variable::scan_variable_expansions. (check_variable_expansions): Delete. Now Automake::Variable::check_variable_expansions. (check_variable_defined_unconditionally): Delete. Now Automake::Variable::check_defined_unconditionally. (variable_value): Delete. Now Automake::Variable::variable_value. (variable_value_as_list): Delete. Now Automake::Variable::variable_value_as_list. (variable_value_as_list_recursive_worker): Adjust to use Automake::Variable functions. (variable_output): Delete. Now Automake::Variable::output. (define_pretty_variable, define_configure_variable, read_am_file) (define_standard_variables, read_main_am_file): Adjust to use Automake::Variable functions. (handle_variables): Delete. Now Automake::Variable::output_variables. (file_contents_internal, am_primary_prefixes, am_install_var) (require_file_with_macro, require_conf_file_with_macro) (push_dist_common): : Adjust to use Automake::Variable functions. (require_variables): Delete. Now Automake::Variable::require_variables. (require_variables_for_macro): Delete. Now Automake::Variable::require_variables_for_variable. * tests/Makefile.am (XFAIL_TESTS): Add target.test.
Alexandre Duret-Lutz d5dbe84d 2003-05-23T21:53:34 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position is undefined.
Alexandre Duret-Lutz a40a5ffb 2003-05-23T21:26:06 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when $self contains only one Condition.
Alexandre Duret-Lutz 926cb59f 2003-05-21T20:30:07 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm. * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl. * automake.in (handle_texinfo_helper, pretty_print_rule) (variable_output): Adjust to use makefile_wrap instead of pretty_print_internal. (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap and augmented to accept the $eol and $max_len arguments.
Alexandre Duret-Lutz 49f024bf 2003-05-18T08:38:21 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream versions.
Alexandre Duret-Lutz f79ed3e7 2003-05-17T11:31:57 * lib/am/install.am (install, install-exec, install-data, uninstall): Declare conditionally using a if/else/endif block instead of using ?SUBDIRS?-style conditions. The latter fail when %maybe_BUILT_SOURCES% is replaced by several lines. This fixes a bug introduced on 2003-04-06. * tests/bsource.test: New file. * tests/Makefile.am (TESTS): Add bsource.test. Reported by Bruno Haible.
Alexandre Duret-Lutz 7a857e24 2003-05-06T22:29:16 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit status. * tests/makej.test: New file (test Autom4te's cache locking, new in CVS Autoconf). * tests/Makefile.am (TESTS): Add makej.test.
Alexandre Duret-Lutz 12aa5ba6 2003-05-06T12:07:22 * lib/Automake/General.pm (contents): New function. * aclocal.in (greatest_mtime, force_output): New globals. (scan_configure, add_file): Update $greatest_mtime. (parse_arguments): Parse --force. (write_aclocal): Do not overwrite $output_file unless needed. * automake.texi (aclocal options): Document --force. * tests/aclocal7.test: New file. * tests/Makefile.am (TESTS): Add aclocal7.test.
Alexandre Duret-Lutz 0cfc348e 2003-04-25T20:46:21 * automake.in (handle_configure): Don't add @configure_deps to DIST_COMMON, we do this from lib/am/configure.am now. Define the am__configure_deps variable instead of substituing %CONFIGURE_DEPS%. * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure, $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%. (DIST_COMMON): Add $(am__configure_deps).
Alexandre Duret-Lutz 535b7ba4 2003-04-25T18:39:21 * tests/aclocal6.test: New file. * lib/am/configure.am (am--refresh): New rule. (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status, $(top_srcdir)/configure): Call the top-level am--refresh from subdirectories. ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the top-level am--refresh when not in the top-level directory. Fix jump directories for VPATH builds. Suggested by Raja R. Harinath.
Alexandre Duret-Lutz ab57cf28 2003-04-24T18:48:07 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS and glob for m4_files (We've got all local m4 files while tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete. Distribute aclocal.m4 only at the top-level. (my_glob): Remove. This fixes PR automake/11. (handle_dist): Strip leading `./' from directories. * aclocal.in (add_file): Output 'm4_include([file.m4])' instead of copying local files. (write_aclocal, parse_arguments): Bump copyright date. * configure.in: De not build m4/amversion.m4 from here ... * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here. (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead of amversion.m4. * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test. (TESTS): Remove aclocal2.test. Do not test aclocal.test twice. * tests/aclocal2.test: Delete (pointless). * tests/aclocal5.test: Make sure configure's dependencies are distributed. * tests/acinclude.test: Adjust to search for m4_include. * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep configure instead of aclocal.m4.
Alexandre Duret-Lutz 9f26c3bb 2003-04-24T18:33:42 For automake PR/46: * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt because of one of configure's dependencies, run automake without argument to update the whole tree at once. Depend upon %CONFIGURE_DEPS%. (%MAKEFILE%): If Makefile is rebuilt because config.status has been updated, run config.status without arguments. * automake.in (scan_autoconf_traces): Prepend $(top_srcdir) before all files in @configure_deps. * tests/subdir5.test: Modernize configure.in, make sure maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%. * tests/subdir8.test: New file. * tests/Makefile.am (TESTS): Add subdir8.test. (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
Alexandre Duret-Lutz 5eec56e1 2003-04-14T19:59:30 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk> Alexandre Duret-Lutz <adl@gnu.org> * automake.in (output_texinfo_build_rules, handle_texinfo_helper, initialize_per_input): Add infrastructure for generating HTML documentation from texinfo source. * lib/am/texinfos.am: Add rules for building HTML documentation from texinfo source. * lib/am/texibuild.am: Likewise. * automake.texi (Texinfo): Document rules for building HTML documentation from texinfo source. * tests/txinfo21.test: New file. * tests/Makefile.am (TESTS): Add txinfo21.test. * tests/defs.in: Handle required=makeinfo-html.
Alexandre Duret-Lutz c60acc33 2003-04-14T19:13:15 * automake.in (%silent_variable_override): New variable. (macro_define): Warn about variable definitions overriding Automake variables. (rule_define): Warn about target definitions overriding Automake variables. Fix $condmsg definition. * automake.texi (Invoking Automake): Document the `override' category. * lib/Automake/ChannelDefs.pm (usage): Likewise. * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define, this is already done in m4/init.m4. * tests/dejagnu2.test: Run $MAKE, don't only grep. Use -Wno-override, and make sure we get a warning without. * tests/exeext2.test, tests/substtarg.test: Use -Wno-override, and make sure we get a warning without. * tests/exeext3.test, tests/java2.test, tests/nolink.test, tests/subpkg.test, tests/vartest.test: Use -Wno-override. * tests/txinfo13.test: Use installcheck-local instead of overriding installcheck. * tests/txinfo2.test: Run $MAKE on the real Makefile (this test used to succeed thanks to a failure...) * tests/location.test: Adjust expected messages. * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
Raja R Harinath dd33ea9a 2003-04-12T16:41:59 * lib/Automake/DisjConditions.pm (true): Don't cache answer. (invert): Update comment. (_simplify): Remove. (simplify): Implement using invert(). * lib/Automake/tests/DisjConditions.pl (test_simplify): Update to reflect changes.
Alexandre Duret-Lutz 7db82ebd 2003-04-11T22:11:43 * lib/Automake/Version.pm: New file. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm. * lib/Automake/tests/Version.pl: New file. * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl. * tests/Makefile.am (TESTS): Remove version5.test. * tests/version5.test: Delete. Move the tests to Version.pl. * automake.in (version_split, version_compare, version_check): Move ... * lib/Automake/Version.pm (split, compare, check): ... here.
Alexandre Duret-Lutz 5b0f6ee7 2003-04-11T21:12:23 * lib/Automake/tests/Condition.pl (test_reduce_and) (test_reduce_or): Cosmetics. * lib/Automake/tests/DisjConditions.pl (test_sub_conditions): Fix a comment. * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...> in comment. * tests/yacc8.test, configure.in: Update copyright year.
Raja R Harinath 9319bbc5 2003-03-30T01:56:28 Speedup Automake::DisjConditions::invert(). * lib/Automake/Condition.pm (multiply): New. * lib/Automake/DisjConditions.pm (_multiply): Use it. (sub_conditions): Likewise. * lib/Automake/Condition.pm (reduce): Rename to ... (reduce_and): ... this. (reduce_or): New. * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or(). * lib/Automake/tests/Condition.pl (test_reduce): Rename to ... (test_reduce_and): ... this. (test_reduce_or): New. * lib/Automake/tests/DisjConditions.pl (test_invert): Update to reflect effect of reduce_or(). (test_simplify): Don't skip invert() on larger inputs.
Alexandre Duret-Lutz 05b30fc2 2003-03-14T21:57:49 regen
Alexandre Duret-Lutz 4cdd266b 2003-02-24T22:13:47 ignore Makefile
Alexandre Duret-Lutz 0e07bc7f 2003-02-10T23:35:50 regen
Alexandre Duret-Lutz 7df3c151 2003-02-02T10:09:25 * lib/Automake/DisjConditions.pm (_permutations_worker) (permutations): Remove, so that people aren't tempted to use it. * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
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 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 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.
Akim Demaille 25db9e9b 2003-01-09T12:43:42 Regen.
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 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.
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 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.
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.
Alexandre Duret-Lutz bcb024d7 2002-10-08T17:37:56 * lib/Automake/Conditional.pm (has): Simplify.
Alexandre Duret-Lutz 46dc44f4 2002-10-07T09:23:33 * 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 c864bddd 2002-09-30T13:05:03 regen
Alexandre Duret-Lutz 66198a01 2002-09-29T14:51:25 * 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 5d52af28 2002-09-28T12:41:06 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 bc638d97 2002-09-25T20:30:49 * configure.in: Bump version to 1.7a.
Alexandre Duret-Lutz c2d90d2e 2002-09-25T20:17:13 * NEWS, configure.ac: Version 1.7.
Alexandre Duret-Lutz 3c407110 2002-09-25T18:46:47 * configure.in: Check for 'tex'. * tests/defs.in: Handle required=tex using configure's result. Reported by Patrick Welche.
Alexandre Duret-Lutz a0984319 2002-09-20T11:29:12 * configure.in: Bump version to 1.6g.
Alexandre Duret-Lutz 903ee525 2002-09-20T11:20:04 * configure.in, NEWS: Bump version to 1.6f.
Alexandre Duret-Lutz b2a016ed 2002-09-18T21:17:27 * configure.in: Bump version to 1.6e.
Alexandre Duret-Lutz a0a144cd 2002-09-18T21:05:27 * 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 855bd4c1 2002-09-17T18:41:01 * 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 f0791481 2002-09-16T10:12:22 * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
Paul Eggert 338e5e4c 2002-09-16T04:50:51 Don't use 'our', as it isn't portable to Perl 5.00503.
Tom Tromey 2efed387 2002-09-15T20:34:15 * 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 fcdc5da2 2002-09-10T20:45:58 * lib/Automake/Channels.pm (_default_options): Add `backtrace'. (msg): Die with backtrace if requested. * automake.in: Enable `backtrace' on the `automake' channel.
Alexandre Duret-Lutz b89b34e5 2002-09-08T13:40:05 2002-09-08 Andreas Buening <andreas.buening@nexgo.de> Fix for automake/334: * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W). * m4/init.m4: New make variable CYGPATH_W.
Alexandre Duret-Lutz 623714ef 2002-09-08T13:07:56 * configure.in: Check for EGREP and FGREP. Create tests/defs. * tests/defs: Rename as ... * tests/defs.in: ... this. Add copyright notice. Use configure's values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset. * tests/Makefile.am (EXTRA_DIST): Remove defs. (BUILT_SOURCES): New. * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test, tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test, tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test, tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test, tests/all.test, tests/alpha.test, tests/amassign.test, tests/ammissing.test, tests/ansi.test, tests/ansi2.test, tests/ansi3.test, tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, tests/ansi7.test, tests/ansi8.test, tests/ar.test, tests/asm.test, tests/autoheader.test, tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test, tests/backsl.test, tests/backsl2.test, tests/badline.test, tests/badopt.test, tests/badprog.test, tests/block.test, tests/canon.test, tests/canon2.test, tests/canon3.test, tests/canon4.test, tests/canon5.test, tests/ccnoco.test, tests/check.test, tests/checkall.test, tests/clean.test, tests/colneq.test, tests/colneq2.test, tests/colon.test, tests/colon2.test, tests/colon3.test, tests/colon4.test, tests/colon5.test, tests/colon6.test, tests/colon7.test, tests/comment.test, tests/comment2.test, tests/comment3.test, tests/comment4.test, tests/comment5.test, tests/comment6.test, tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test, tests/cond11.test, tests/cond12.test, tests/cond13.test, tests/cond14.test, tests/cond15.test, tests/cond16.test, tests/cond17.test, tests/cond18.test, tests/cond19.test, tests/cond2.test, tests/cond20.test, tests/cond21.test, tests/cond22.test, tests/cond23.test, tests/cond24.test, tests/cond3.test, tests/cond4.test, tests/cond5.test, tests/cond6.test, tests/cond7.test, tests/cond8.test, tests/cond9.test, tests/condd.test, tests/condincl.test, tests/condincl2.test, tests/condlib.test, tests/condman.test, tests/condman2.test, tests/conf2.test, tests/confdeps.test, tests/confdist.test, tests/confh.test, tests/confh4.test, tests/config.test, tests/confincl.test, tests/confsub.test, tests/confvar.test, tests/confvar2.test, tests/copy.test, tests/ctarget1.test, tests/cxx.test, tests/cxx2.test, tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test, tests/dash.test, tests/defun.test, tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test, tests/depacl.test, tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test, tests/depdist.test, tests/depend.test, tests/depend2.test, tests/depend3.test, tests/depend4.test, tests/destdir.test, tests/dirforbid.test, tests/dirlist.test, tests/discover.test, tests/distcommon.test, tests/distcommon2.test, tests/distcommon3.test, tests/distdir.test, tests/distname.test, tests/dollar.test, tests/double.test, tests/dup2.test, tests/dup3.test, tests/else.test, tests/empty.test, tests/empty2.test, tests/empty3.test, tests/empty4.test, tests/error.test, tests/exdir.test, tests/exdir2.test, tests/exeext.test, tests/exeext2.test, tests/exsource.test, tests/ext.test, tests/ext2.test, tests/extra.test, tests/extra2.test, tests/extra3.test, tests/extra4.test, tests/extra5.test, tests/extra6.test, tests/extra7.test, tests/flibs.test, tests/fnoc.test, tests/fo.test, tests/fonly.test, tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test, tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test, tests/gcj5.test, tests/getopt.test, tests/gettext.test, tests/gettext2.test, tests/gnits.test, tests/gnits2.test, tests/gnits3.test, tests/gnuwarn.test, tests/header.test, tests/implicit.test, tests/include.test, tests/include2.test, tests/info.test, tests/insh.test, tests/insh2.test, tests/install.test, tests/install2.test, tests/installdir.test, tests/installsh.test, tests/instdata.test, tests/instdata2.test, tests/instexec.test, tests/insthook.test, tests/instman.test, tests/instman2.test, tests/interp.test, tests/interp2.test, tests/java.test, tests/java2.test, tests/javaprim.test, tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test, tests/lex5.test, tests/libobj10.test, tests/libobj11.test, tests/libobj2.test, tests/libobj3.test, tests/libobj4.test, tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, tests/library.test, tests/library2.test, tests/libtool.test, tests/libtool2.test, tests/libtool3.test, tests/libtool4.test, tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test, tests/link_f_c_cxx.test, tests/link_f_cxx.test, tests/link_f_only.test, tests/lisp.test, tests/lisp2.test, tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test, tests/maintclean.test, tests/make.test, tests/makevars.test, tests/man.test, tests/man2.test, tests/mclean.test, tests/mdate.test, tests/mdate2.test, tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test, tests/nobase.test, tests/nodefine.test, tests/nodefine2.test, tests/nodep.test, tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, tests/noinst.test, tests/noinstdir.test, tests/nolink.test, tests/nostdinc.test, tests/number.test, tests/obsolete.test, tests/order.test, tests/outdir.test, tests/output.test, tests/output2.test, tests/output3.test, tests/output4.test, tests/output5.test, tests/package.test, tests/parse.test, tests/percent.test, tests/pluseq.test, tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test, tests/ppf77.test, tests/pr2.test, tests/pr204.test, tests/pr211.test, tests/pr220.test, tests/pr224.test, tests/pr229.test, tests/pr243.test, tests/pr266.test, tests/pr279-2.test, tests/pr279.test, tests/pr287.test, tests/pr300-lib.test, tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test, tests/pr72.test, tests/pr87.test, tests/pr9.test, tests/prefix.test, tests/primary.test, tests/primary2.test, tests/proginst.test, tests/python.test, tests/python2.test, tests/ranlib.test, tests/recurs.test, tests/recurs2.test, tests/remake.test, tests/remake2.test, tests/remake3.test, tests/req.test, tests/required.test, tests/required2.test, tests/rulepat.test, tests/scripts.test, tests/seenc.test, tests/sinclude.test, tests/sourcesub.test, tests/sourcesub2.test, tests/space.test, tests/specflags.test, tests/specflags2.test, tests/specflags3.test, tests/specflags6.test, tests/specflags7.test, tests/specflags8.test, tests/specflags9.test, tests/spell.test, tests/spell2.test, tests/spell3.test, tests/spelling.test, tests/stamph.test, tests/stamph2.test, tests/stdlib.test, tests/strip.test, tests/subdir.test, tests/subdir2.test, tests/subdir3.test, tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, tests/subdir7.test, tests/subdirbuiltsources.test, tests/subdircond.test, tests/subdircond2.test, tests/subdircond3.test, tests/subobj.test, tests/subobj2.test, tests/subobj3.test, tests/subobj4.test, tests/subobj5.test, tests/subobj6.test, tests/subobj7.test, tests/subobj8.test, tests/subobj9.test, tests/subobjname.test, tests/subpkg.test, tests/subst.test, tests/substref.test, tests/substtarg.test, tests/suffix.test, tests/suffix10.test, tests/suffix2.test, tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, tests/suffix9.test, tests/symlink.test, tests/symlink2.test, tests/symlink3.test, tests/syntax.test, tests/tags.test, tests/tagsub.test, tests/target-cflags.test, tests/target.test, tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test, tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test, tests/transform.test, tests/unused.test, tests/vars.test, tests/vars2.test, tests/vars3.test, tests/vartar.test, tests/version.test, tests/version2.test, tests/version3.test, tests/version4.test, tests/version5.test, tests/version6.test, tests/vpath.test, tests/vtexi.test, tests/vtexi2.test, tests/warnopts.test, tests/werror.test, tests/whoami.test, tests/xsource.test, tests/yacc.test, tests/yacc2.test, tests/yacc3.test, tests/yacc4.test, tests/yacc5.test, tests/yacc6.test, tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice. Source ./defs instead of $srcdir/defs.
Alexandre Duret-Lutz e975ff3d 2002-09-05T15:08:12 regen
Alexandre Duret-Lutz 4261037e 2002-08-23T12:24:48 * lib/Automake/Channels.pm (buffering, backlog): New variables. (buffer_messages, flush_messages): New functions. (@EXPORT): Add buffer_messages and flush_messages. * automake.in (generate_makefile): Call buffer_messages and flush_messages to buffer warnings until AUTOMAKE_OPTIONS has been read.
Alexandre Duret-Lutz 90001a8e 2002-07-28T19:32:38 * configure.in: Bump version to 1.6c.
Alexandre Duret-Lutz c7d71ee4 2002-07-28T18:47:46 * configure.in: Bump version to 1.6b. * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New upstream versions. * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text, since this file is processed by config.status.
Alexandre Duret-Lutz 7481f436 2002-07-20T15:11:50 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS): Always strip the directory part before applying $(transform), even for nobase_ targets. * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS): Likewise. * tests/nobase.test: Use --program-prefix while testing nobase support.
Alexandre Duret-Lutz 91c2a87f 2002-07-16T21:46:59 * lib/Automake/Channels.pm (dup_channel_setup, drop_channel_setup): New functions. (@EXPORT): Add them. * automake.in (generate_makefile): Call dup_channel_setup and drop_channel_setup. (process_option_list): Recognize --warnings and -W options. * automake.texi (Options): Document them. * tests/pluseq5.test: Check that -Wno-obsolete will disable the warning. * tests/warnopts.test: New file. * tests/Makefile.am (TESTS): Add warnopts.test.
Alexandre Duret-Lutz 5a86371e 2002-07-10T20:30:24 * automake.in (parse_arguments): Call Getopt twice: once to catch --help or --verbose, and once to process the other arguments. (usage, verbose): Always exit 0, ignoring $exit_code (which anyway should always be 0 because of the change to parse_arguments). * tests/Makefile.am (TESTS): Add getopt.test. * tests/getopt.test: New file.
Alexandre Duret-Lutz c037f202 2002-07-06T10:21:36 * lib/Automake/Channels.pm: New file. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm. * automake.in: Use Automake::Channels and register some channels for errors and warnings. ($exit_status): Remove, replaced by Channels::$exit_code. (%required_variables): Remove, Channels will filter-out duplicates itself. (initialize_per_input): Call reset_local_duplicates. (prog_error): Adjust to all `msg'. (setup_warnings): New functions. (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY, call setup_warnings. (usage): Update usage text accordingly. (macro_dump, macros_dump): Return the dump as a string instead of printing it. (am_install_var) <$warned_about_extra>: Remove, Channels will filter-out duplicates itself. (set_strictness): Turn on/off channels for each stricness. (err, fatal, err_var, err_target, err_am, err_ac, msg_var, msg_target, msg_am, msg_ac, reject_var, reject_target, verb): New functions, to replace ... (print_error, am_error, file_error, macro_error, target_error, conf_error, file_warning): ... these functions. Remove them. Update all the code to use the new functions. The rough correspondance is am_error -> err_am file_error -> err macro_error -> err_var target_error -> err_target conf_error -> err_ac die -> fatal macro_error if defined -> reject_var target_error if defined -> reject_target verbose -> verb * automake.texi (Invoking Automake): Document -W and --warnings. Remove the documentation for --Werror and --Wno-error. * tests/defs: Use -Werror, no --Werror. * tests/exeext2.test: Test that the error message is enabled with -Wobsolete. * tests/output5.test: Rewrite to test that Automake complains when there is no Makefile specified. (The original test was succeeding for the wrong reason.) * tests/seenc.test: Don't use --Wno-error, there is no reason now that -Werror doesn't stop after the first error. * tests/subobj.test: Use --add-missing, and check that `compile' is installed and that Automake says so. * tests/subobj2.test: Don't create `compile'.
Alexandre Duret-Lutz 631c0b77 2002-06-26T19:13:56 * automake.in (required_targets): Add ps and ps-am. (initialize_per_input): Reset them. (handle_texinfo_helper): Fill @pss_list, and define the PSS make variable. * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive. (ps, ps-am): New targets. * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention `make ps' and `make pdf'. (Texinfo): Document `make ps', `make pdf', and `make dvi'. (Extending): The `ps' and `pdf' targets support a `-local' version.
Alexandre Duret-Lutz f7189ec9 2002-06-26T08:15:25 * configure.in: Check that ln works, fall back to `cp -p'. * Makefile.am (install-exec-hook): Use $(LN) instead of ln. Reported by Andreas Buening.
Alexandre Duret-Lutz cd47e617 2002-06-13T08:09:36 2002-05-03 Paolo Bonzini <bonzini@gnu.org> * automake.in (required_targets): Add the pdf and pdf-am targets. (initialize_per_input): Likewise. (scan_texinfo_file): Add pdf to @clean_suffixes. (handle_texinfo_helper): Output the .pdf dependencies, and define the PDFS variable. * lib/am/texinfos.am (TEXI2PDF): New variable. (pdf, pdf-am): New targets. (.PHONY): Add pdf, pdf-am, and pdf-recursive. * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
Alexandre Duret-Lutz 7bb1f82b 2002-06-08T16:56:11 For PR automake/317: * Makefile.am (maintainer-check): Disallow `for f in $(FILES)', suggest `list='$(FILES)'; for f in $$list' instead. * lib/am/distdir.am (distdir): Adjust `for' usage. * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise. * tests/dollar.test: New file. * tests/Makefile.am (TESTS): Add dollar.test. Reported by Eric Siegerman and Philip Fong.
Alexandre Duret-Lutz c9c536af 2002-04-13T21:26:36 Enable traces; wipe out the old configure.in parser. * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of 'autoconf'. Honnor the $filename argument. (scan_autoconf_files): Don't call scan_one_autoconf_file. Always call scan_autoconf_traces. (scan_one_autoconf_file): Remove, with it associated regexes. (obsolete, obsolete_rx): Remove. (register_language, handle_languages): Remove the 'define_flag' support. Remove it from the struct and language definitions too. (unquote_m4_arg): Remove. * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They are now generated automatically. * aclocal.in (obsolete_macros): Don't mention obsolete_macros in automake.in. * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
Alexandre Duret-Lutz cd3344e6 2002-04-10T20:45:16 * configure.in (APIVERSION): Fix definition.
Tom Tromey d28dd5c2 2002-03-06T06:47:51 * configure.in: Upped version to 1.6a.
Tom Tromey c75d6ce9 2002-03-06T04:45:32 * configure.in: Released 1.6.
Alexandre Duret-Lutz 52ee825f 2002-02-14T14:26:02 * Makefile.am (FETCHFILES): Add Automake/XFile.pm. (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead of asking the maintainer to do it manually. * lib/config.guess, lib/config.sub, lib/texinfo.tex, Automake/XFile.pm: New upstream versions.
Tom Tromey aa5daee4 2002-01-28T01:47:03 * configure.in: Bumped to 1.5e.
Tom Tromey d533090c 2002-01-28T00:38:32 * configure.in: Released 1.5d.
Tom Tromey b85334eb 2002-01-16T19:05:47 * Makefile.am (install-exec-hook): Use APIVERSION. * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from APIVERSION. * automake.in (perllibdir): Use APIVERSION. (libdir): Likewise. * aclocal.in (perllibdir): Use APIVERSION. (APIVERSION): New global. (parse_arguments): Use APIVERSION. * configure.in (APIVERSION): New subst. (pkgvdatadir): Use APIVERSION.
Tom Tromey 447ca35b 2002-01-15T23:54:14 * missing: Updated. * lib/missing: Match against `automake*' to pick up versioned automake. * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version variable. * lib/am/Makefile.am (amdir): Use pkgvdatadir. * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use pkgvdatadir. (scriptdir): Use pkgvdatadir. (installcheck-local): Likewise. * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir. * automake.in (perllibdir): Added VERSION. (libdir): Likewise. * aclocal.in (parse_arguments): Search versioned directory. Don't push unversioned directory unless it exists. (perllibdir): Added VERSION. (default_acdir): New global. * m4/Makefile.am (m4datadir): Added $(VERSION). * Makefile.am (install-exec-hook): New target. * configure.in (ACLOCAL): Search build directory. (pkgvdatadir): New subst.
Tom Tromey 9e3f96e6 2002-01-13T20:33:40 For PR automake/287: * lib/am/distdir.am (distdir): Use `$$list' trick when looping over subdirs. * tests/Makefile.am (TESTS): Added pr287.test. * tests/pr287.test: New file.
Alexandre Duret-Lutz 57a6006e 2002-01-07T20:25:24 * configure.in (AUTOMAKE): Create m4/amversion.m4. * m4/amversion.in: New file. * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ... (dist_m4data_DATA): ... this. (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_CURRENT_AUTOMAKE_VERSION. * automake.in (seen_automake_version): New variable. (scan_autoconf_traces, scan_one_autoconf_file, scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain when the version used in aclocal.m4 differs from Automake's. * tests/defs (ACLOCAL): Look in ../m4 too. * tests/installsh.test (ACLOCAL): Likewise. * tests/installdir.test (installdirs-local): Run $ACLOCAL.
Alexandre Duret-Lutz 3e9f6b46 2002-01-02T15:52:31 * tests/comment4.test: New file. * tests/Makefile.am (TESTS): Add command4.test. Fix for comment4.test: * automake.in (read_am_file): Output leading comments only when encountering white lines.