lib/Automake/tests


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 0768132f 2003-10-27T07:52:00 * automake.in (handle_configure): Rename am__configure_deps as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and $configure_ac. Define am__configure_deps as am__aclocal_m4_deps + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define ACLOCAL_M4_DEPS while processing configure.am. (make_paragraphs): Do not define %CONFIGURE_AC%, now unused. (scan_aclocal_m4): Do not distribute aclocal.m4, this is done from lib/am/configure.am. * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON, $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using $(am__configure_deps) or $(am__aclocal_m4_deps). * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
Alexandre Duret-Lutz 2f048a8c 2003-10-21T13:05:55 * lib/am/install.am (install-strip): Override install_sh_PROGRAM too. Report from Elmar Hoffmann.
Alexandre Duret-Lutz 18d5b482 2003-09-24T21:20:06 * configure.in: Rename as ... * configure.ac: ... this. * README: s/configure.in/configure.ac/.
Alexandre Duret-Lutz 74fe06a8 2003-09-23T08:14:35 Support for multiple inputs in AC_CONFIG_FILES. Requested long ago by Harlan Stenn. * automake.in (handle_dist): Remove unused argument $makefile. (handle_subdirs): Expect SUBDIRS elements in $relative_dir, not $am_relative_dir. (rewrite_inputs_into_dependencies): Allow $add_srcdir to be a filename that must always be prefixed by $(srcdir) or $(top_srcdir). (handle_configure, generate_makefile): Revamp to make the Makefile.am, Makefile.in, Makefile more independent. (locate_am): New function. (scan_configure_dep, parse_arguments): Use locate_am. (MAIN): Adjust call to generate_makefile. * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%. * tests/output6.test, tests/output7.test: New files. * tests/Makefile.am (TESTS): Add them. * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how multiple inputs are scanned.
Paul Eggert 636c8076 2003-09-06T05:36:57 Spelling and minor grammar fixes.
Alexandre Duret-Lutz 4de3f2b8 2003-08-24T02:16:31 * automake.in (file_contents_internal): Do not add newlines before empty actions.
Alexandre Duret-Lutz 0bdf8b9d 2003-08-24T02:00:58 * aclocal.in (write_aclocal): Take an output file and list of used macros in arguments and make up the file contents here. (trace_used_macros): New function. (add_file): Do not update $output. ($output): Delete. (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only for these traced macros. This should shorten aclocal.m4 by stripping out unused macros. * automake.texi (Invoking aclocal): Document ${AUTOM4TE}. * tests/aclibobj.test: Make sure configure.in exists by the time aclocal runs. * tests/aclocal8.test: New file. * tests/Makefile.am (TESTS): Add aclocal8.test. Suggested by Bruno Haible and Akim Demaille.
Akim Demaille 38fc65e9 2003-08-20T17:28:05 * lib/Automake/FileUtils.pm: More perldoc. (&up_to_date_p): New.
Raja R Harinath 12e201a4 2003-08-09T20:11:45 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly. * lib/Automake/tests/DisjConditions.pl (test_ambig): Test Automake::Disjunctions::ambiguous_p.
Alexandre Duret-Lutz cfea6a81 2003-07-24T21:26:56 Fix missing rebuilds during `make dist' with BSD make. * automake.in (generate_makefile): Do not push Makefile.in, and Makefile.am into DIST_COMMON here. * lib/am/configure.am (DIST_COMMON): Do it here, and use %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON actually match the targets. Prefix `configure' with `$(srcdir)/' to match the target. * tests/remake4.test: New file. * tests/Makefile.am (TESTS): Add remake4.test. Report from Akim Demaille.
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.
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 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 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 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 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 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 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.
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 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 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.