tests


Log

Author Commit Date CI Message
Alexandre Duret-Lutz dfa86f00 2005-01-31T23:41:10 * aclocal.in (list_compare): New functions. (scan_file): Honor #serial lines. * tests/acloca18.test: New test. * tests/Makefile.am (TESTS): Add it. * doc/automake.texi (aclocal options, Local Macros): Document #serial.
Alexandre Duret-Lutz d3a058fb 2005-01-30T17:47:39 Preliminary support for `aclocal --install'. This still lacks #serial support. * aclocal.in (reset_maps, install_file): New functions. (write_aclocal): Copy files if --install. (usage, parse_arguments): Recognize --install. ("MAIN"): Start aclocal again if some file were installed. * tests/acloca10.test: Augment to test --install. * tests/aclocal.in, tests/defs.in: Add support for ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test. * doc/automake.texi (aclocal options, Local Macros): Document --install. (Future of aclocal): Adjust.
Alexandre Duret-Lutz 340d06a4 2005-01-16T00:36:54 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)): Process all words of $MAKEFLAGS when checking for -k. * tests/check4.test: New file. * tests/Makefile.am (TESTS): Add check4.test. Report from Eric Blake.
Alexandre Duret-Lutz 7b995158 2005-01-13T20:01:00 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to AM_INIT_AUTOMAKE if the version passed is incorrect. * tests/version8.test: New file. * tests/Makefile.am (TESTS): Add version8.test.
Alexandre Duret-Lutz 391df12b 2005-01-09T14:46:22 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive license that is used in aclocal.m4. Relicensing backed by RMS.
Alexandre Duret-Lutz 40077b19 2005-01-05T19:04:08 * aclocal.in ($ac_defun_rx): Match AU_ALIAS. * tests/aclocal5.test (MORE_DEFS): Rename as... (AM_TEST_SUBST): this so that undefined macros are caught. And make it an alias of AC_SUBST. Test AU_ALIAS. Reported by Martin Bravenboer.
Alexandre Duret-Lutz 26169ba6 2005-01-03T21:32:19 Fix handling of per-target flags in link rules. * automake.in (define_per_target_linker_variable): New function. (handle_programs, handle_ltlibraries): Use it. (%link_languages): New map. (register_language): Fill it. * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by define_per_target_linker_variable if needed. * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with $(%XPROGRAM%_LDFLAGS). * doc/automake.texi (Program and Library Variables): Mention AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS and maude_LIBTOOLFLAGS. * tests/libtool9.test: New file. * tests/Makefile.am (TESTS): Add it. * NEWS: Explain the backward incompatibility. Report from Akim Demaille.
Alexandre Duret-Lutz 25eca5c6 2005-01-01T17:19:14 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss specifications with shell variables. (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to AC_CONFIG_FILES for this explanation. * automake.in (substitute_ac_subst_variables_worker, substitute_ac_subst_variables): Mew functions. (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables to ignore dependencies that contain unAC_SUBSTed shell variables. (handle_configure): Likewise, do not output rules for AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that unAC_SUBSTed contain shell variables. * tests/autohdr4.test: Use an AC_SUBST variable in a specification. * tests/output11.test, tests/output12.test: New files. * tests/Makefile.am (TESTS): Add output11.test and output12.test.
Alexandre Duret-Lutz 004fbb83 2004-12-31T12:20:47 * tests/man2.test, tests/transform.test: Specify --mandir, in order not to fail when Autoconf changes its $mandir default.
Alexandre Duret-Lutz ae6b80f3 2004-12-30T23:10:52 Support for `install-dvi', `install-html', `install-ps', and `install-pdf', as recently introduced into the GNU Coding Standard. * automake.in (handle_factored_dependencies): Reject uninstall-dvi-local, uninstall-html-local, uninstall-info-local, uninstall-ps-local, and uninstall-pdf-local. Allow install-info-local even when no-installinfo is not used. (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir. (%standard_prefix): Declare these new standard directory variables. * doc/automake.texi (Texinfo, Third-Party Makefiles): Document install-dvi, install-html, install-pdf, and install-ps. (Extending): Document install-local-dvi, install-local-html, install-local-info, install-local-pdf, and install-local-ps. * lib/Automake/Rule.pm (%dependencies): Add new install rules, and remove uninstall-info. * /cvs/automake/automake/lib/am/texinfos.am (install-dvi, install-dvi-am, install-dvi-recursive, install-html, install-html-am, install-html-recursive, install-pdf, install-pdf-am, install-pdf-recursive, install-ps, install-ps-am, install-ps-recursive, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am, uninstall-ps-am): New rules. (uninstall-info): Delete. * tests/txinfo21.test: Augment to check for these new rules. * tests/exdir2.test: Do not use `htmldir' as example of undefined directory. * tests/overrid.test: Do not be fooled by install-ps and install-html. * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
Alexandre Duret-Lutz 4b354511 2004-12-27T20:38:22 Declare recursive install targets as dependencies of `.MAKE', so that `make -n install' works with BSD Make too.
Alexandre Duret-Lutz 9c0c49fb 2004-12-12T23:39:02 * automake.in (check_user_variables): New function, extracted from ... (handle_languages): ... here. (handle_languages, define_compiler_variable, define_link_variable): Honore LIBTOOLFLAGS. (handle_single_transform): Check _LIBTOOLFLAGS in addition to other per-target flags for Libtool objects. (handle_libtool): Warn if LIBTOOLFLAGS is defined. * doc/automake.texi (Libtool Flags, Program and Library Variables, Flag Variables Ordering): Document LIBTOOLFLAGS. * tests/libtool7.test: Check basic support for LIBTOOLFLAGS. * tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS definitions. * tests/subobj9.test: Adjust.
Alexandre Duret-Lutz 26de384e 2004-12-09T22:07:45 Fix PR automake/441: * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do not install *.class if "$(%DIR%_JAVA)" is empty. * tests/java3.test: New file. * tests/Makefile.am (TESTS): Add it. Report from Johannes Nicolai.
Alexandre Duret-Lutz 9681f98f 2004-12-09T21:48:20 * doc/automake.texi (Java): Mention dist_ and add an example. * tests/java.test: Do actually compile java files and run distcheck.
Alexandre Duret-Lutz 7eaf5f45 2004-12-08T22:00:50 * lib/Automake/FileUtils.pm (dir_has_case_matching_file, reset_dir_cache): New functions. * automake.in (handle_dist, require_file_internal): Use them, so that CHANGELOG is not confused with ChangeLog on case-insensitive case-preserving file systems. * tests/hfs.test: New file. * tests/Makefile.am (TESTS): Add hfs.test.
Alexandre Duret-Lutz cb5b212e 2004-12-05T16:12:32 * lib/py-compile: Add --destdir switch to py-compile that takes a path argument that is not compiled into the file when byte compiling. * lib/am/python.am: Use the new py-compile arguments to not include DESTDIR in the byte compiled files. * tests/python12.test: Test that DESTDIR won't be byte compiled into python files.
Alexandre Duret-Lutz 1ec52bab 2004-11-22T00:03:29 * aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with --help or --version. * automake.in (parse_arguments): Likewise. * tests/aclocal.test, tests/automake.test: Check this. Report from Eric Blake.
Alexandre Duret-Lutz d6da85a6 2004-11-21T23:31:45 * automake.in (parse_arguments): Diagnose empty arguments, options with missing argument, and support `--'. * aclocal.in (parse_arguments): Diagnose options with missing argument. * tests/aclocal.test: More checks. * tests/automake.test: New file. * tests/postprog.test: Use `--' for fun. * tests/Makefile.am (TESTS): Add automake.test. Report from Eric Blake.
Alexandre Duret-Lutz 8498ea29 2004-11-21T19:54:43 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with /dev/null as input, so we do not hang on programs that read their input without supporting --help and --version. * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts. * tests/gnits2.test: Change scriptnok.sh to cat its input. Report and fix from James Youngman.
Alexandre Duret-Lutz fbf1ceb8 2004-11-17T22:36:54 * aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables. (scan_m4_dirs): New function, extracted from ... (scan_m4_files): ... here. Call scan_m4_files three times, for each FT_ constant. (scan_file): Take a file type argument to update %file_type. (write_aclocal): Do not m4_include files that are not of type FT_USER. * tests/dirlist.test: Make sure m4_include is not used for --acdir files.
Alexandre Duret-Lutz d92fc1e5 2004-11-17T22:13:33 * tests/defs.in (testaclocaldir): New variable. * tests/aclocal.test: Use it to fix the test. Report from Patrick Welche.
Alexandre Duret-Lutz e4f1de1e 2004-11-10T20:12:34 * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter is found (this worked correctly only when a minimal version was passed to AM_PATH_PYTHON). Report from Stepan Kasal. (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default, so we can easily override the list from the test suite. * tests/python11.test: New file. * tests/Makefile.am (TESTS): Add python11.test.
Alexandre Duret-Lutz 91d37a8e 2004-11-09T20:24:42 * aclocal.in (parse_arguments): Correctly recognize --print-ac-dir. * tests/aclocal.test: Check --print-ac-dir and a unknown option.
Alexandre Duret-Lutz 3110f38b 2004-11-04T22:19:41 * aclocal.in: Use Automake::ChannelDefs, and adjust all output to be done via `fatal', `msg', `verb', or `prog_error'. (version): New function. (parse_arguments): Rewrite using Getopt::Long, call &version, and honor -W and --warning. ($verbose): Remove. (trace_used_macros): Do not trace the first arguments of macros for which we do not need it. This caused failures because of unexpected newlines in the output. * doc/automake.texi (aclocal options): Document -W and --warning. * tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl warnings about uninitialized variables.
Alexandre Duret-Lutz 53810e0d 2004-11-03T21:49:39 * tests/defs.in: Do not distinguish VERBOSE=x from VERBOSE=anything_but_x, always turn on shell traces.
Alexandre Duret-Lutz 60169f90 2004-10-25T18:52:45 * tests/comment8.test: Use $MAKE, not make.
Alexandre Duret-Lutz f9879aa6 2004-10-23T23:10:58 * tests/distcom3.test: Typo.
Alexandre Duret-Lutz 5a8604fc 2004-10-22T06:45:08 * lib/install-sh: Fix the dirname emulation to ignore trailing slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This caused `install-sh a/b/' to fail. * tests/instsh2.test: Augment. Report from Пухальский Юрий Андреевич.
Alexandre Duret-Lutz d21ec656 2004-10-21T21:37:41 * automake.in (get_object_extension): The extension to use is know by the caller, and cannot be selected by looking only at the target name. Simplify this function to simply conditionally prepend $U to the given extension. (handle_programs, handle_libraries, handle_ltlibraries): Hard-code the extension to use. This way Automake won't mistake a program named `foo.la' as a libtool library. * tests/primary3.test: New file. * tests/Makefile.am (TESTS): Add primary3.test.
Alexandre Duret-Lutz 769b1cc8 2004-10-12T19:39:08 * configure.ac: Export @am_AUTOCONF@. * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@, so the test suite runs `autoconf' and not `missing --run autoconf'. * tests/missing.test, tests/missing2.test: Arrange for missing to be used in front of autoconf even if the user has exported AUTOCONF. This fixes two spurious failures reported by Mark D. Baushke.
Alexandre Duret-Lutz 6b8aea4f 2004-10-12T07:02:44 * lib/compile: Handle output.obj in addition to output.o. * tests/compile.test: Check for this.
Alexandre Duret-Lutz f2472538 2004-10-10T17:03:45 * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE. (trace_used_macros): Trace AC_DEFUN_ONCE. * tests/aclocal5.test: Use AC_DEFUN_ONCE.
Alexandre Duret-Lutz 88443734 2004-09-28T22:19:20 * tests/subobj9.test: Adjust regexes after previous patch.
Alexandre Duret-Lutz f5bf5978 2004-09-28T22:02:34 * automake.in (handle_languages, define_compiler_variable): Output Libtool's --tag= option before --mode=compile, because depcomp use --mode=compile as end marker for libtool arguments. (define_linker_variable): Likewise before --mode=link, for uniformity. * tests/pr307.test: Make sure dependency files are updated. That was not the case because depcomp thought `--tag=CC' was the compiler to get dependencies from. Report from Пухальский Юрий Андреевич.
Alexandre Duret-Lutz fef3bd37 2004-09-26T21:16:56 more files to ignore
Alexandre Duret-Lutz 4ae518d8 2004-09-26T20:33:50 * tests/compile.test, tests/instsh2.test, tests/instspc.test: Use two consecutive spaces in filename instead of one, to catch mistake like `echo $val | ...`. * tests/README: Suggest this. Suggested by Ralf Wildenhues.
Alexandre Duret-Lutz 4fb14584 2004-09-21T19:26:05 * lib/Automake/VarDef.pm (append): Strip comments from augmented variables. * tests/comment8.test: New file. * tests/Makefile.am (TESTS): Add comment8.test. Report from Stepan Kasal.
Alexandre Duret-Lutz 499a3f2a 2004-09-19T21:42:09 * tests/compile.test: Fix rm usage.
Alexandre Duret-Lutz b8df7624 2004-09-10T20:03:28 * m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never called after this macro. * tests/distname.test, tests/subdir5.test, tests/subdir8.test, tests/subobj.test, tests/subobj4.test, tests/subobj5.test, tests/subobj6.test: Adjust. Report from Ralf Wildenhues.
Alexandre Duret-Lutz eb287401 2004-09-10T18:38:15 * lib/compile: Preserve spaces in arguments (for example -DPACKAGE_STRING="foo 0.1"). * tests/compile.test: New file. * tests/Makefile.am (TESTS): Add compile.test.
Alexandre Duret-Lutz fc0c91c3 2004-09-07T21:03:32 * automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for libtool objects. (handle_single_transform): Pass nonansi_obj to &$subr so lang_c_rewrite can distinguish libtool objects. * tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O. Report from Gary V. Vaughan and Patrick Welche.
Alexandre Duret-Lutz 533cf320 2004-09-07T06:25:33 * tests/missing3.test: New file (check for Paolo's change below). * tests/Makefile.am (TESTS): Add missing3.test. * missing: Handle all command line options together. Add a separate case statement to detect failed runs, and fail silently there if --help or --version is passed to the program.
Alexandre Duret-Lutz 056f345b 2004-08-11T21:10:56 Fix PR automake/432: * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too. * tests/yacc7.test: Check this.
Alexandre Duret-Lutz 1e840d7c 2004-08-03T23:02:56 Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O. * automake.in (%required_aux_file): New hash. (handle_single_transform, lang_c_rewrite): Do note explicitly require 'compile', this is now an internal detail of AM_PROG_CC_C_O. (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill %required_aux_file. (scan_autoconf_files): Require all %required_aux_file instead of explicitly requiring install-sh and missing. (generate_makefile): Do not require config.sub and config.guess. (handle_single_transform): Pass $have_per_exec_flags to &lang_c_rewrite. * configure.ac, m4/init.m4: Require Autoconf 2.59a. * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE. (Program and Library Variables, Options, Public macros): AC_PROG_CC_C_O is required when per-target flags or subdir-objects are used with C sources. * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE. * m4/missing.m4: Require `missing' similarly. * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test, tests/specflg.test, tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test, tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
Alexandre Duret-Lutz 6965500c 2004-08-03T20:20:07 * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP when ylwrap is installed in a default aux dir found in a parent package. * tests/subpkg.test: Augment to check that YLWRAP is installed properly. * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the current directory. Report from Norman Gray.
Alexandre Duret-Lutz 1947468f 2004-08-01T22:16:03 * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ... (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): ... these. (scan_autoconf_traces): Scan for the latter three macros instead of the former two. (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%. * tests/hosts.test: New file. * tests/Makefile.am (TESTS): Add hosts.test. Report and test case from Norman Gray.
Alexandre Duret-Lutz 16e08014 2004-08-01T17:31:22 Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE is used and maintainer-mode disabled. * automake.in (Automake::struct): Define nodist_specific. Set it in languages yacc, yaccxx, lex, and lexxx. (register_language): Default nodist_specific to 0. (handle_single_transform): Honor nodist_specific. * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode. (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these rules when needed. * lib/am/lex.am (am__skiplex): Define this in maintainer mode. (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these rules when needed. * tests/mmodely.test: New file. * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_ parsers. * tests/Makefile.am (TESTS): ADd mmodely.test. * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
Alexandre Duret-Lutz 96afbaa4 2004-07-28T20:51:38 * configure.ac, NEWS: Bump version to 1.9a.
Alexandre Duret-Lutz 1ff79540 2004-07-28T20:41:39 * configure.ac, NEWS: Bump version to 1.9.
Alexandre Duret-Lutz c97542e2 2004-07-28T19:58:37 revert hasty commit before release
Derek R. Price c3783fca 2004-07-27T12:50:56 * lib/am/yacc.am, lib/am/lex.am: Only compile these targets in maintainer mode. * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode. * NEWS: Note same dependency. * tests/mmode-lexyacc.test: New file.
Alexandre Duret-Lutz b333cd22 2004-07-17T14:56:16 * configure.ac, NEWS: Bump version to 1.8e.
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.