tests


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 7b53cc3f 2004-07-17T11:40:23 * configure.ac, NEWS: Bump version to 1.8d.
Alexandre Duret-Lutz 5f7451cd 2004-07-17T10:56:24 * tests/installdir.test: installdirs-local should appear three times, since the change from 2004-07-11 will make it PHONY.
Alexandre Duret-Lutz d2cce769 2004-07-17T09:48:11 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html, ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html on success. In case the target is a directory, this ensures its time stamp is updated and the no files are left over inside. * tests/txinfo21.test: Augment to test missing timestamp update reported by Akim Demaille.
Alexandre Duret-Lutz f74dc248 2004-07-14T14:49:09 * automake.in (target_hook): Accept %transform as last argument. (define_objects_from_sources): Pass %transform to target_hook. (handle_source_transform): Define DIST_SOURCE to tell whether a the source of a file is distributed or not. (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute the generated header if the .y source is not distributed. * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated headers are not distributed.
Alexandre Duret-Lutz 68acb54a 2004-07-11T22:07:25 For PR automake/428: Support for conditionally defined -hook and -local rules. * automake.in (user_phony_rule): New function. (handle_dist, handle_install, handle_all, do_check_merge_target, handle_factored_dependencies): Use user_phony_rule before adding a user -hook or -local rule as a dependency to ensure it is always defined an phony. * tests/cond37.test, tests/condhook.test: New files. * tests/Makefile.am (TESTS): Add them. Report from Simon Josefsson and Nik A. Melchior.
Paul Eggert d98e4ecc 2004-07-05T07:07:55 Don't assume that install-sh without -c moves (it now copies). Add tests for new -t and -T options.
Alexandre Duret-Lutz 1177b44e 2004-06-10T21:12:10 For Debian Bug #251820: * aclocal.in (scan_file): Keep track of the location where each file is included, and display it when reporting a missing file. Pass this location to scan_file as a second argument. (scan_m4_files): Adjust calls to scan_file. * tests/acloca14.test: Add a test for this diagnostic.
Alexandre Duret-Lutz d0ab163d 2004-06-03T21:19:30 * tests/defs.in (required=icc): Use `-V -help' instead of `-V -dryrun'. icc 8.0 fails on the latter. * tests/depcomp5.test: Require depmode=icc for icc 7.x, and depmod=gcc otherwise. Report from Ralf Wildenhues.
Alexandre Duret-Lutz 21e87c93 2004-06-03T20:19:27 * lib/am/clean.am (distclean-generic): Do no `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty. Report from Nicolas Joly.
Alexandre Duret-Lutz 5b8ccc44 2004-05-23T19:30:14 * configure.ac, NEWS: Bump version to 1.8c.
Alexandre Duret-Lutz 95853b65 2004-05-23T19:02:40 * configure.ac, NEWS: Bump version to 1.8b.
Alexandre Duret-Lutz e41aadc0 2004-05-23T11:04:24 * tests/defs.in (PATH): Export it.
Alexandre Duret-Lutz 16af3fd3 2004-05-22T21:55:47 * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been changed. * tests/libtool3.test: Do not grep for --tag=CC, since CVS Libtool (unlike Libtool 1.5) does not has any CC tag.
Alexandre Duret-Lutz bd787712 2004-05-22T14:48:00 * tests/tar2.test: Skip the test if no pax archiver were found.
Alexandre Duret-Lutz a91f0ec9 2004-05-22T14:23:54 * automake.in (handle_libraries): Make the diagnostic about non standard libraries a warning in foreign packages. This is already the case in handle_ltlibraries. (handle_libraries, handle_ltlibraries): Suggest a standard library name in the diagnostic, to help newcomers. * tests/stdlib.test, tests/stdlib2.test: Check for these suggestions.
Alexandre Duret-Lutz bf7ab094 2004-05-22T07:19:37 Check directory names for unportable names. Shaking the code to check this also led to the removal of the no-"/"-in-SUBDIRS restriction, and a fix to _do_recursive_traversal. * automake.in (check_directory): New function extracted from handle_subdirs, and augmented to check for reserved W32/DOS name. (check_directories_in_var): New function. (handle_subdirs): Call check_directories_in_var. Doing so also suppress the restriction that SUBDIRS should not contain slashes. (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory to ensure the argument exists and is safe. * doc/automake.texi (Top level): Do not say that src/subdir cannot be put in SUBDIRS. (Dist): Mention that distdir and top_distdir can be absolute. * lib/Automake/Variable.pm (_do_recursive_traversal) Support undefined $fun_collect, and fix two bugs introduced with skip_ac_subst on 2004-03-07. * lib/am/distdir.am (distdir): Use absolute distdir and top_distdir when recursing, because we can no longer prepend only `..' in case of SUBDIRS with `/'. * tests/auxdir4.test, tests/subdir9.test: New files. * tests/Makefile.am (TESTS): Add auxdir4.test. * tests/cond2.test, tests/subdir7.test: Augment to check location in diagnostics.
Alexandre Duret-Lutz 7c75aeb2 2004-05-21T17:43:56 * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for cygwin compatibility. * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
Alexandre Duret-Lutz db4e6aad 2004-05-21T17:31:49 * tests/conflnk3.test: Isolate checking for working `test -e' into a subshell, to skip this test on broken /bin/sh of solaris.
Alexandre Duret-Lutz 5094cfc0 2004-05-17T20:19:35 * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic. * tests/condd.test: Define a macro with the same name as a conditional. * tests/pr220.test: Modernize, and make sure the diagnostics contains the macro name. Report from Volker Boerchers.
Alexandre Duret-Lutz 0170ed2e 2004-05-15T21:01:04 * automake.in (handle_dist): Always define DIST_SUBDIRS, even when the no-dist or cygnus options are used. * tests/clean2.test: New file. * tests/Makefile.am (TESTS): Add clean2.test. Report from Daniel Jacobowitz.
Alexandre Duret-Lutz 90698c4d 2004-05-15T18:19:57 * aclocal.in (add_macro): Do not error out on undefined required macros. We are not sure they are really used, and Autoconf already diagnoses them. (scan_configure_dep): Diagnose missing AM_ macros as warnings rather than errors. * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a warning instead of an error. * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused macro, and ensure aclocal works anyway. * tests/acloca17.test: New file. * tests/error.test: Delete, superseded by tests/acloca17.test. * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test. Report from Jim Meyering.
Alexandre Duret-Lutz a1ede7d0 2004-05-14T22:44:42 * automake.in (parse_arguments, MAIN): Give more precise diagnostics when not input file is found. * tests/output5.test: Adjust. Suggested by Jens Petersen.
Alexandre Duret-Lutz 84874b00 2004-05-14T20:13:53 * lib/am/libs.am (AR, ARFLAGS): Move these definition ... * automake.in (handle_libraries): ... here, so that they are output even for EXTRA_LIBRARIES. * tests/ar2.test: New file. * tests/Makefile.am (TESTS): Add it. Report from Kevin Ryde.
Alexandre Duret-Lutz 7ba1b57c 2004-05-13T22:02:42 * automake.in (generate_makefile): Do not output Makefile.in on errors. * tests/werror2.test: New file. * tests/Makefile.am (TESTS): Add werror2.test. * tests/substtarg.test, tests/cond36.test, tests/backsl4.test: Adjust to run automake with -Wno-error when the output is expected in spite of the error. Report from Harlan Stenn.
Alexandre Duret-Lutz 1bc9e9b7 2004-05-13T20:38:19 * automake.in (handle_source_transform): Also check for a $(srcdir)/old_source rule when computing the default source name. Propagate this $(srcdir) prefix in Automake variables. * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to $(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make.
Alexandre Duret-Lutz 4978246f 2004-05-13T20:14:08 regen
Alexandre Duret-Lutz 0d2f5929 2004-05-13T18:46:59 * tests/lex3.test, tests/yacc6.test: Require GNU Make. Fixing these for BSD Make requires invasive changes (lexers and parsers must be built into $srcdir, and--most annoyingly--all references to parse.h must be changed to $(srcdir)/parse.h). Report from Mark D. Baushke.
Alexandre Duret-Lutz 693c9340 2004-05-10T20:38:37 * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make. Report from Mark D. Baushke.
Alexandre Duret-Lutz fb6b99dc 2004-04-24T19:42:21 * automake.in (check_typos): Clarify the diagnostic. * tests/warnopts.test: Adjust.
Alexandre Duret-Lutz 4e060078 2004-04-24T14:18:52 * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into VAR_PRETTY variables to work around make implementation with limited line length, such as OSF1/Tru64 make. * tests/longline.test: New file. * tests/Makefile.am (TESTS): Add it. * tests/pluseq3.test, tests/pluseq8.test: Adjust. Report from Simon Josefsson.
Alexandre Duret-Lutz 014ec4f2 2004-04-23T21:57:44 For PR automake/414: Introduce option filename-length-max=99. * doc/automake.texi (Options): Document it. * configure.ac (AM_INIT_AUTOMAKE): Use it. * lib/Automake/Options.pm (_process_option_list): Recognize it. * automake.in (handle_dist): Set FILENAME_FILTER. * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long filenames. * tests/fn99.test: New file. * tests/Makefile.am (TESTS): Add fn99.test.
Alexandre Duret-Lutz ae040111 2004-04-19T23:20:08 For PR automake/414: Introduce options tar-v7, tar-ustar, and tar-pax to select tar format. * doc/automake.texi (Options): Document them. * lib/Automake/Options.pm (_process_option_list): Process these new options. * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist, distcheck): Adjust to use am__tar and am__untar. * m4/tar.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add tar.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options and call _AM_PROG_TAR. * tests/tar.test, tests/tar2.test, tests/tar3.test: New files. * tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz 6408f2b0 2004-04-17T18:46:06 Fix PR automake/49: * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE. * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test, tests/mdate3.test, tests/multlib.test, tests/reqd2.test, tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test, tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR before AM_INIT_AUTOMAKE. * tests/auxdir3.test: New file (exercise this diagnostic). * tests/Makefile.am (TESTS): Add auxdir3.test.
Alexandre Duret-Lutz 0606a179 2004-04-15T07:51:47 * aclocal.in (%map_traced_defs): New variable. (scan_m4_files): Normalize filenames. (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also ask for the filename and the first argument. Populate %map_traced_defs. (write_aclocal): Use $map_traced_defs to filter out unused definitions. * tests/acloca15.test: New file. * tests/Makefile.am (TESTS): Add acloca15.test.
Alexandre Duret-Lutz 35d2d067 2004-04-12T22:16:22 * automake.in ($automake_needs_to_reprocess_all_files): Remove. ($automake_will_process_aux_dir): New variable. (scan_autoconf_traces): Reorder @input_files so that the Makefile that distributes aux files is processed last. This way we do not have to process all files twice using $automake_will_process_aux_dir. (require_file_internal): Suggest a full run of automake when appropriate. (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files. * tests/distcom7.test: New file. * tests/reqd2.test: Do not check for the "running more than two" message. * tests/Makefile.am (TESTS): Add distcom7.test.
Alexandre Duret-Lutz 2fb66730 2004-04-10T17:18:01 * aclocal.in, automake.in, configure.ac, Makefile.am, tests/aclocal.in, tests/automake.in, tests/defs.in: Use PATH_SEPARATOR from autoconf instead of ':'.
Alexandre Duret-Lutz 1b0f49a7 2004-04-09T22:21:57 * automake.in (handle_lib_objects): Pass the condition of the variable definition to handle_LIBOBJS and handle_ALLOCA, not the aggregated conditions. * tests/Makefile.am (TESTS): Add libobj14.test. * tests/libobj14.test: New file. Report from Bill Davidson.
Alexandre Duret-Lutz 9590e75c 2004-04-02T07:14:27 Better support for Fortran 9x. * automake.in: Add "fc" and "ppfc" languages for Fortran 9x. * doc/automake.texi (Fortran 9x Support): New section. * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC. * tests/compile_f90_c_cxx.test: New file. * tests/ext.test: Add AC_PROG_FC. * tests/f90only.test: New file. * tests/link_f90_only.test: New file. * tests/Makefile.am (TESTS): Add new tests.
Alexandre Duret-Lutz 1726496d 2004-03-19T20:34:28 Overriding JAVAROOT is legitimate, do not warn about it. * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT. * tests/java2.test: Run automake without -Wno-override. Report from Simon Josefsson.
Alexandre Duret-Lutz 9a0d838f 2004-03-07T12:36:54 Fix for PR automake/285: * automake.in (handle_ltlibraries): Keep track of installation directories for each condition, then define a $(am_TARGET_rpath) variable to hold the -rpath flags of Libtool libraries conditionally installed in different directories. * lib/Automake/DisjConditions.pm (merge): New function. * tests/libtool6.test: Adjust. * tests/libtool8.test: New file. * tests/Makefile.am (TEST): Add libtool8.test.
Alexandre Duret-Lutz 2ac4685e 2004-02-29T19:10:21 * automake.in (lang_yacc_target_hook): Use Automake::Rule::define so that rules for the same headers are not output twice. * lib/Automake/Variable.pm (value_as_list_recursive): Do not call `return' inside `map'. * tests/cond30.test: Make sure `a.c' and `b.c' both appear in the Makefile.in. * tests/cond35.test, tests/cond36.test: New files. * tests/Makefile.am (TESTS): Add cond35.test and cond36.test. Report from Roman Fietze.
Alexandre Duret-Lutz 72834a8a 2004-02-01T18:14:05 * tests/lisp.test: Delete (pointless). * tests/Makefile.am (TESTS): Remove lisp.test.
Alexandre Duret-Lutz ce2c881e 2004-02-01T18:06:51 * lib/Automake/Variable.pm (transform_variable_recursively): Define rewritten variables in all conditions not *covered* by user definitions, not simply in conditions without a previous definition. * tests/cond34.test: New file. * tests/Makefile.am (TESTS): Add cond34.test. Report from Elena A. Vengerova
Alexandre Duret-Lutz d5bf5b1c 2004-02-01T12:54:02 Support for conditional _LISP. * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not from $(am__ELCFILES). * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES). * tests/lisp6.test: New file. * tests/Makefile.am (TESTS): Add it.
Alexandre Duret-Lutz da975469 2004-01-31T14:34:42 * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments. * tests/regex.test: New file. * tests/Makefile.am (TESTS): Add regex.test.
Alexandre Duret-Lutz b5a48a38 2004-01-28T20:50:43 * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses. * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote installation paths in install, uninstall, and installcheck rules, as well as in am__installdirs variables. This is for the sake of paths containing spaces. * lib/am/install.am (installdirs-am, installdirs): Do not try to create "" directories. * test/instspc.test: New file. * test/Makefile.am (TESTS): Add instspc.test. Report from James Amundson.
Alexandre Duret-Lutz 54118ee3 2004-01-22T22:11:04 * tests/lex5.test: Sleep before calling AUTOMAKE the second time, this fixes a spurious failure reported by Andreas Schwab. Also make sure ylwrap is not installed unless needed, and exercise --no-force.
Alexandre Duret-Lutz d011b962 2004-01-13T20:40:47 * tests/conflnk3.test: Skip if `test -e' does not work. Report from Lars Hecking.
Alexandre Duret-Lutz a4e14767 2004-01-12T22:56:49 * lib/py-compile: Check input files after option processing. Ensure --basedir has an argument. * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile if nothing was installed. * tests/python10.test: New file. * tests/Makefile.am (TESTS): Add python10.test. Suggested by Sander Niemeijer.
Alexandre Duret-Lutz bc8fa270 2004-01-12T21:58:26 * tests/txinfo29.test: Remove autom4te.cache. Report from Greg Schafer.
Alexandre Duret-Lutz d7b43f2a 2004-01-10T00:24:29 * automake.in (shadow_unconditionally): New function... (handle_source_transform): ... extracted from here. (am_install_var): Use shadow_unconditionally to define %DISTVAR%. * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am, lib/am/script.am: Add %DISTVAR% to DIST_COMMON. * tests/cond33.test: Make sure all conditional files are distributed. Report from Ralf Corsepius.
Alexandre Duret-Lutz 7dd9fee1 2004-01-08T23:32:11 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p). * lib/install-sh: Accept `install-sh -d' with 0..n arguments, as well as `install-sh sources... dest' with multiple sources. * tests/cond33.test: New file. * tests/instsh2.test: Add more checks for install-sh. * tests/transform.test: Test for installdirs. * tests/Makefile.am (TESTS): Add cond33.test Report from Ralf Corsepius.
Alexandre Duret-Lutz f323a7a7 2004-01-08T20:22:24 * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which do not look like DEST:SRC. * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
Alexandre Duret-Lutz 4a185139 2004-01-07T21:58:14 Fix for PR automake/289: * automake.in (Automake::Struct::libtool_tag): New attribute. Define it for the language that have a Libtool tag. (%libtool_tags): New variable. (handle_languages, define_compiler_variable) (define_linker_variable): Pass --tag=XXX to libtool if supported. (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS. * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is output.
Alexandre Duret-Lutz af2cb9d0 2004-01-05T21:49:14 * lib/am/inst-vars.am: New file, define am__vpath_adj_setup, am__vpath_adj, and am__strip_dir. * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am. * lib/am/data.am, lib/am/lisp.am, lib/am/python.am, lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj), $(am__vpath_adj_setup), and $(am__strip_dir) in install and uninstall rules. This fixes installation of nobase_ files in VPATH setups with Sun and OSF1/Tru64 Make. * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use $(am__strip_dir) to simplify install and uninstall rules. * tests/nobase.test: Augment to check installation from VPATH builds.
Alexandre Duret-Lutz fcbb51ad 2004-01-03T12:42:41 * lib/Automake/Variable.pm (define): Rework the way we check Automake variable definition. Ensure consistent :=/+=/= definitions only for variables that have been and are defined by Automake, and make it an internal error. Ignore Automake attempts to touch a user variable, even with += assignments. * tests/txinfo29.test: New file. * tests/Makefile.am (TESTS): Add txinfo29.test. Reported by Bruce Korb.
Tom Tromey 8fabb3b2 2004-01-02T21:38:07 * automake.in (handle_source_transform): Don't generate dist variables when no-dist is set. (generate_makefile): Likewise. * tests/nodist3.test: Ensure that DIST_SOURCES is not created, and that dist target does not exist. Reported by Tom Fitzsimmons.
Alexandre Duret-Lutz 42250ebe 2004-01-02T19:25:21 * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test, * tests/ltconv.test: Run automake with --add-missing, because the CVS version of libtoolize no longer install config.sub and config.guess by default.
Alexandre Duret-Lutz b92504fc 2004-01-02T15:55:17 Fix for PR automake/319: * aclocal.in (scan_m4_files): Scan configure.ac. (trace_used_macros, write_aclocal): Remove configure.ac from the list of files to include. * tests/Makefile.am (TESTS): Add acloca15.test. * tests/acloca15.test: New file.
Alexandre Duret-Lutz 15bf27da 2004-01-02T14:53:48 * aclocal.in (%file_includes): New variable. (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once. (scan_file): Scan for included files, and process these files recursively. Fill %file_includes and %file_contents. Return the list of included files, not the contents. (scan_m4_files): Adjust calls to scan_files. (strip_redundant_includes): New function. (trace_used_macros): Call it. (write_aclocal): Likewise. Also check the mtime of included files. * tests/Makfile.am (TESTS): Add acloca14.test. * tests/acloca14.test: New file. Report from Phil Edwards.
Alexandre Duret-Lutz 25c57a7e 2004-01-01T21:57:24 * automake.in (handle_languages): Do not define DEP_FILES. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included files with $(DEPDIR) in their name instead of DEP_FILES. * tests/depend.test, tests/depend4.test, tests/exsource.test: Adjust. Suggested by Tom Tromey.
Alexandre Duret-Lutz d82b453e 2004-01-01T18:54:20 Do not output .lo rules for programs and static libraries objects, and do not output .o/.obj rules for libtool libraries. This is about explicit rules only, not inference rules. * automake.in (handle_single_transform_list): Rename as ... (handle_single_transform): ... this. Take a single file to transform (it was only called this way) and accept a new %transform argument. Fill %lang_specific_files with list references instead of strings, and append %transform to each of these lists. (define_objects_from_sources, handle_source_transform): Take a %transform argument, and forward it to &handle_single_transform. (handle_languages): Adjust to the new format of %lang_specific_files, and honor its %transform part. (handle_programs, handle_libraries, handle_ltlibraries): Override %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform. (make_paragraphs): Define %NONLIBTOOL% by default. Make sure %transform settings override global settings. * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%. * tests/libtool3.test: Augment to check Makefile.ins for unneeded rules. Suggested by Thomas Fitzsimmons.
Alexandre Duret-Lutz 16773768 2004-01-01T17:34:18 * automake.in, aclocal.in: Bump copyright years.
Alexandre Duret-Lutz 13089ee2 2003-12-30T23:49:58 * automake.in (handle_languages): Define %DEPBASE% conditionally on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files here ... (lang_c_finish): ... do it here. (handle_single_transform_list): Do not output specific rules for subdir-objects files which are not renamed. This should reduce the size of Makefiles with lots of subdirectory sources. * lib/depcomp: Simplify computation of dependency output, and use DEPDIR. * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call to depcomp. Compute depbase on-the-fly in generic fastdep rules for subdir-objects. * tests/ansi9.test: Do not grep for an explicit rule that we no longer expect. Really run $MAKE to make sure the chain of rules works. * tests/yacc5.test: Do not grep for an explicit rule that we no longer expect. Adjust to use set -e.
Alexandre Duret-Lutz 586bbec2 2003-12-15T22:45:06 * tests/aclocal6.test: Check for autom4te.cache only if it has been created. * tests/maintclean.test: Update comment. Report from Bruno Haible.
Alexandre Duret-Lutz 830533e5 2003-12-15T22:36:44 * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test: Require texi2dvi-o. Report from Václav Haisman.
Alexandre Duret-Lutz b0d2aa09 2003-12-10T19:09:15 * configure.ac, NEWS: Bump version to 1.8a.
Alexandre Duret-Lutz 3cef4cd7 2003-12-10T19:06:17 * configure.ac, NEWS: Bump version to 1.8.
Alexandre Duret-Lutz c24bd613 2003-12-09T21:24:12 * Makefile.am (do_subst): Fix the substitution of @configure_input@. (automake, aclocal): Create the output atomically and make it read-only, as done in the Autoconf package. * lib/Automake/Makefile.am (do_subst): Fix the substitution of @configure_input@. (Config.pm): Create the output atomically and make it read-only. * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute @configure_input@ and make the output read-only. * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in, tests/automake.in, tests/defs.in: Add a @configure_input@ line.
Alexandre Duret-Lutz 9f11286e 2003-12-04T18:17:20 * automake.in ($config_header_location): Remove. Use %ac_config_files_location instead. (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/ at the top-level. (handle_configure): Use rewrite_inputs_into_dependencies to distribute and compute AC_CONFIG_HEADERS dependencies. (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill %ac_config_files_location. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ... (%CONFIG_HIN%): ... this. $(srcdir) is already added in scan_autoconf_traces. * tests/Makefile.am (TESTS): Add confh5.test. * tests/confh5.test: New file.
Alexandre Duret-Lutz a1afa63a 2003-12-04T18:07:13 * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am, $< is not portable and the source is in $(srcdir).
Alexandre Duret-Lutz f77b57b2 2003-12-03T23:14:48 * automake.in (handle_configure): Do not require link sources if they contain a dollar, or if they were built. Likewise, do not clean link destination if they contain a dollar. (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate %ac_config_files_location with link destinations. Do not store locations in @config_links, now that %ac_config_files_location have them. * tests/conflnk3.test: New file. * tests/Makefile.am (TESTS): Add conflnk3.test.
Alexandre Duret-Lutz 1baa604d 2003-12-02T20:55:19 * configure.ac, NEWS: Bump version to 1.7i.
Alexandre Duret-Lutz d29f6b27 2003-12-02T20:43:16 * configure.ac, NEWS: Bump version to 1.7h.
Alexandre Duret-Lutz 3081fe01 2003-11-30T17:00:37 * automake.in (handle_source_transform): If it's present, use libfoo_la.c instead of libfoo.c as the default source of libfoo.la, and issue an -Wobsolete diagnostic. Do not be greedy in the suffix replacement regex. * doc/automake.texi (Default _SOURCES): New node. (Program Sources, Libtool Modules): Refer to it. * tests/ltlibsrc.test: Update to check for old default source files.
Alexandre Duret-Lutz eeb89822 2003-11-30T13:35:29 * automake.in (&handle_source_transform): Calculate a default file for use in the absence of an appropriate _SOURCES declaration by first stripping any suffix from the unxformed target name, and appending `.c'. * doc/automake.texi (Program Sources, Libtool Modules): Document this. * tests/ltlibsrc.test: New file. * tests/Makefile.am (TESTS): Add ltlibsrc.test.
Alexandre Duret-Lutz 0a1c8dcb 2003-11-29T23:47:02 * lib/Automake/Variable.pm (loc_and_value_as_list_recursive, _value_as_list_recursive_worker): Merge into ... (value_as_list_recursive): ... this function. Pass options as a hash argument, and use the `location' option to trigger the behavior of loc_and_value_as_list_recursive. (traverse_recursively, transform_variable_recursively): Take options as a %options argument. (_do_recursive_traversal): Perform expansion of inner variables (as in `$(FILE).ext') on request. * automake.in (handle_options, check_libobjs_sources) (handle_source_transform, handle_LIBOBJS, handle_ltlibraries) (handle_ltlibraries, handle_man_pages, handle_dist) (handle_gettext, am_install_var): Adjust usage of value_as_list_recursive. (handle_texinfo_helper): Pass inner_expand to value_as_list_recursive. * tests/txinfo28.test: New file. * tests/Makefile.am (TESTS): Add txinfo28.test. Report from Ralf Corsepius.
Alexandre Duret-Lutz 0099f67b 2003-11-29T21:47:27 * lib/Automake/Variable.pm (_do_recursive_traversal): Do not update @_substfroms and @_substfroms for undefined variables. * tests/substre2.test: New file. * tests/Makefile.am (TESTS): Add substre2.test.
Alexandre Duret-Lutz 9177ef89 2003-11-29T18:02:40 * lib/Automake/VarDef.pm (value): Rename as ... (raw_value): ... this. (value): New method, strip # and \n. (dump): Use raw_value. * lib/Automake/Variable.pm (output): Use raw_value. (value_as_list): Simplify, now that backslash and comments are already removed. * tests/txinfo22.test: Make sure Automake isn't confused by comments in variables.
Alexandre Duret-Lutz 6f7ba322 2003-11-25T22:58:07 * configure.ac, NEWS: Bump version to 1.7g.
Alexandre Duret-Lutz b82f7257 2003-11-25T22:50:00 * configure.ac, NEWS: Bump version to 1.7f.
Alexandre Duret-Lutz 721c236a 2003-11-25T22:19:44 * automake.in (prepend_srcdir): Parenthesize @inputs to remove a maintainer-check warning. * tests/subst2.test: Rewrite the $MAKE invocation to please maintainer-check.
Alexandre Duret-Lutz 2028e01e 2003-11-24T22:13:42 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable definitions that end with a line full of @substitutions@ that would confuse HP-UX Make if it were blank. (transform_variable_recursively): Make sure not to erase empty variables. * tests/Makefile.am (TESTS): Add subst2.test. * tests/subst2.test: New file. Report from Harlan Stenn.
Alexandre Duret-Lutz 17820676 2003-11-22T18:05:35 Fix for PR automake/411: * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename into ... (prepend_srcdir): ... this. (rewrite_inputs_into_dependencies): New function, extracted from ... (handle_configure): ... here. Adjust to use prepend_srcdir or rewrite_inputs_into_dependencies where needed. Especially, using (the new) rewrite_inputs_into_dependencies to compute Makefile dependencies will fix PR/411. * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's already distributed by rewrite_inputs_into_dependencies. * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test. * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE invocation refer to zardoz. Make sure two.in and three.in appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies. * tests/distcom.test: Delete. This is covered by tests/output9.test. * tests/output10.test: New file, for PR/411.
Alexandre Duret-Lutz 6c02da5e 2003-11-21T19:16:12 * automake.in (append_exeext): Do not append $(EXEEXT) to @substitutions@. * tests/exeext4.test: New file. * tests/Makefile.am (TESTS): Add exeext4.test.
Alexandre Duret-Lutz 60bcced5 2003-11-19T20:09:46 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%, mistakenly added on 2001-03-05. * tests/remake5.test: New file. * tests/Makefile.am (TESTS): Add remake5.test. Report from Ralf Corsepius.
Alexandre Duret-Lutz f79c3a44 2003-11-18T21:23:03 * configure.ac, NEWS: Bump version to 1.7e.
Alexandre Duret-Lutz a73e6326 2003-11-18T21:21:00 * configure.ac, NEWS: Bump version to 1.7d.
Alexandre Duret-Lutz 86a72498 2003-11-18T20:40:48 * lib/am/texinfos.am (install-info): Depend on install-info-recursive or install-info-am even if no-installinfo. * tests/txinfo27.test: New file. * tests/Makefile.am (TESTS): Add txinfo26.test.
Alexandre Duret-Lutz 28c655bd 2003-11-18T20:06:44 * lib/ylwrap: Do not overwrite headers if they haven't changed. Fix the include guard substitution. * tests/yacc6.test: Augment to run ylwrap, and make sure it does not needlessly update headers. * tests/yacc8.test: Make sure headers are not needlessly updated with ylwrap is not used. Move `test -f foo.o' into the Makefile as `test -f foo.$(OBJEXT)' for portability.
Alexandre Duret-Lutz 9b5e57d5 2003-11-17T23:18:20 * automake.in (generate_makefile): Define SUBDIRS if it is not defined and DIST_SUBDIRS is. * tests/subpkg2.test: New file. * tests/Makefile.am (TESTS): Add subpkg2.test. Report from Gary V. Vaughan.
Alexandre Duret-Lutz 8e1c45e2 2003-11-17T21:13:00 * tests/suffix11.test: Check for suffixes containing `-'. * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in suffixes.
Alexandre Duret-Lutz 5167e179 2003-11-17T19:08:30 * lib/Automake/Rule.pm (define): Suggest using target-local instead of target-am, not target-am-local. * tests/overrid.test: Check the diagnostic for clean-am. Report from Bruno Haible.
Alexandre Duret-Lutz 720cf06a 2003-11-17T00:33:43 * automake.in (ac_config_files_location): Declare as a hash. (handle_configure): Rewrite the computation of AC_CONFIG_FILES dependencies; make sure we don't use $(srcdir) or $(top_srcdir) for inputs which are also outputs, and do not check inputs relatively to the current directory. (scan_autoconf_config_files): Take $where as argument, and fill $ac_config_files_location. * tests/output8.test, tests/output9.test: New files. * tests/Makefile.am (TESTS): Add output8.test and output9.test. Report from Bruno Haible.
Alexandre Duret-Lutz ec7c81d0 2003-11-14T21:26:01 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test, tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.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/ansi10.test, tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, tests/ansi7.test, tests/ansi9.test, tests/ar.test, tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test, tests/auxdir2.test, tests/backsl.test, tests/backsl2.test, tests/badprog.test, tests/block.test, tests/canon2.test, tests/canon3.test, tests/canon4.test, tests/canon5.test, tests/ccnoco.test, tests/check.test, tests/check2.test, tests/check3.test, tests/checkall.test, tests/clean.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/comment4.test, tests/comment6.test, tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test, tests/cond11.test, tests/cond13.test, tests/cond14.test, tests/cond15.test, tests/cond16.test, tests/cond17.test, tests/cond18.test, tests/cond19.test, tests/cond21.test, tests/cond22.test, tests/cond25.test, tests/cond26.test, tests/cond28.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/condinc.test, tests/condlib.test, tests/condman.test, tests/condman2.test, tests/conf2.test, tests/confdeps.test, tests/confh.test, tests/confh4.test, tests/config.test, tests/confincl.test, tests/conflnk.test, tests/conflnk2.test, tests/confsub.test, tests/confvar.test, tests/confvar2.test, tests/copy.test, tests/ctarget1.test, tests/cxx.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/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test, tests/depdist.test, tests/depend.test, tests/depend2.test, tests/depend3.test, tests/depend4.test, tests/destdir.test, tests/dirlist.test, tests/discover.test, tests/distcom.test, tests/distcom2.test, tests/distdir.test, tests/distname.test, tests/dollar.test, tests/double.test, tests/dup2.test, tests/empty.test, tests/empty2.test, tests/empty3.test, tests/empty4.test, tests/error.test, tests/exdir.test, tests/exeext.test, tests/exeext3.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/gcj3.test, tests/gcj4.test, tests/gnits2.test, tests/gnits3.test, tests/header.test, tests/implicit.test, tests/include.test, tests/include2.test, tests/info.test, tests/insh2.test, tests/install2.test, tests/installdir.test, tests/instdat.test, tests/instdat2.test, tests/instexec.test, tests/insthook.test, tests/instman.test, tests/instman2.test, tests/instsh.test, tests/instsh2.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/lex3.test, tests/lex4.test, tests/lex5.test, tests/libobj11.test, tests/libobj2.test, tests/libobj4.test, tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, tests/library.test, tests/libtool.test, tests/libtool2.test, tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test, tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test, tests/maintclean.test, tests/make.test, tests/makej.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/nodef.test, tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, tests/nodist3.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/parse.test, tests/phony.test, tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test, tests/postproc.test, tests/ppf77.test, tests/pr2.test, tests/pr204.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/proginst.test, tests/python.test, tests/python3.test, tests/python4.test, tests/python5.test, tests/python6.test, tests/python7.test, tests/python8.test, tests/python9.test, tests/recurs2.test, tests/remake.test, tests/remake2.test, tests/remake3.test, tests/req.test, tests/reqd.test, tests/rulepat.test, tests/scripts.test, tests/sinclude.test, tests/space.test, tests/specflg3.test, tests/specflg6.test, tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, tests/spell3.test, tests/spelling.test, tests/spy.test, tests/stamph2.test, tests/stdlib2.test, tests/strip.test, tests/subcond.test, tests/subcond2.test, tests/subcond3.test, tests/subdir.test, tests/subdir2.test, tests/subdir3.test, tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, tests/subdirbuiltsources.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/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/symlink2.test, tests/symlink3.test, tests/tags.test, tests/tagsub.test, tests/target-cflags.test, tests/transform.test, tests/txinfo.test, tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test, tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test, tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test, tests/unused.test, tests/vars.test, tests/vars3.test, tests/vartar.test, tests/version.test, tests/version2.test, tests/version4.test, tests/version6.test, tests/version7.test, tests/vpath.test, tests/vtexi.test, tests/vtexi2.test, tests/werror.test, tests/whoami.test, tests/yacc.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: Fix license to refer to Automake, not autoconf.
Alexandre Duret-Lutz 4cdf3e88 2003-11-14T21:12:27 Fix for PR automake/408: * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix from $file, as already done for dist-info. * tests/Makefile.am (TESTS): Add txinfo26.test. * tests/txinfo26.test: New file. Report from Nicholas Wourms.
Alexandre Duret-Lutz 52e9880a 2003-11-13T19:27:14 * tests/mkinst2.test: Rewrite.
Alexandre Duret-Lutz 1b3a0187 2003-11-12T19:29:53 * automake.in (scan_autoconf_traces): Honor sinclude. * tests/sinclude.test: Check for sinclude. Report from Roberto Bagnara.
Alexandre Duret-Lutz 851f11ea 2003-11-11T21:44:05 * configure.ac, NEWS: Bump version to 1.7c.
Alexandre Duret-Lutz 0e85cb3d 2003-11-11T21:39:26 * configure.ac, NEWS: Bump version to 1.7b. * Makefile.am (maintainer-check): Ignore comments while scanning for rm without -f.