summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * configure.ac, NEWS: Bump version to 1.9.1.Release-1-9-1Alexandre Duret-Lutz2004-08-111-1/+1
|
* Fix PR automake/432:Alexandre Duret-Lutz2004-08-111-1/+10
| | | | | * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too. * tests/yacc7.test: Check this.
* * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAPAlexandre Duret-Lutz2004-08-031-4/+18
| | | | | | | | | | 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.
* * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...Alexandre Duret-Lutz2004-08-013-0/+62
| | | | | | | | | | (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.
* * configure.ac, NEWS: Bump version to 1.9.0a.Alexandre Duret-Lutz2004-07-281-1/+1
|
* * configure.ac, NEWS: Bump version to 1.9.branchpoint-1-9Release-1-9Alexandre Duret-Lutz2004-07-281-2/+1
|
* revert hasty commit before releaseAlexandre Duret-Lutz2004-07-281-67/+0
|
* * lib/am/yacc.am, lib/am/lex.am: Only compile these targets inDerek R. Price2004-07-271-0/+67
| | | | | | | maintainer mode. * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode. * NEWS: Note same dependency. * tests/mmode-lexyacc.test: New file.
* * configure.ac, NEWS: Bump version to 1.8e.Alexandre Duret-Lutz2004-07-171-1/+1
|
* * configure.ac, NEWS: Bump version to 1.8d.Release-1-8dAlexandre Duret-Lutz2004-07-171-1/+1
|
* * tests/installdir.test: installdirs-local should appear three times,Alexandre Duret-Lutz2004-07-171-4/+6
| | | | since the change from 2004-07-11 will make it PHONY.
* * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,Alexandre Duret-Lutz2004-07-171-1/+10
| | | | | | | | ?!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.
* * automake.in (target_hook): Accept %transform as last argument.Alexandre Duret-Lutz2004-07-141-0/+3
| | | | | | | | | | (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.
* For PR automake/428:Alexandre Duret-Lutz2004-07-114-0/+114
| | | | | | | | | | | | 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.
* Don't assume that install-sh without -cPaul Eggert2004-07-051-4/+13
| | | | moves (it now copies). Add tests for new -t and -T options.
* For Debian Bug #251820:Alexandre Duret-Lutz2004-06-101-0/+5
| | | | | | | | * 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.
* * tests/defs.in (required=icc): Use `-V -help' instead ofAlexandre Duret-Lutz2004-06-032-5/+13
| | | | | | | `-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.
* * lib/am/clean.am (distclean-generic): Do noAlexandre Duret-Lutz2004-06-031-1/+1
| | | | | `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty. Report from Nicolas Joly.
* * configure.ac, NEWS: Bump version to 1.8c.Alexandre Duret-Lutz2004-05-231-1/+1
|
* * configure.ac, NEWS: Bump version to 1.8b.Release-1-8bAlexandre Duret-Lutz2004-05-231-1/+1
|
* * tests/defs.in (PATH): Export it.Alexandre Duret-Lutz2004-05-231-0/+3
|
* * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAGAlexandre Duret-Lutz2004-05-221-9/+0
| | | | | | | 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.
* * tests/tar2.test: Skip the test if no pax archiver were found.Alexandre Duret-Lutz2004-05-221-0/+3
|
* * automake.in (handle_libraries): Make the diagnostic aboutAlexandre Duret-Lutz2004-05-222-7/+24
| | | | | | | | | 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.
* Check directory names for unportable names. Shaking the codeAlexandre Duret-Lutz2004-05-226-7/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, forAlexandre Duret-Lutz2004-05-212-7/+7
| | | | | cygwin compatibility. * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
* * tests/conflnk3.test: Isolate checking for working `test -e' intoAlexandre Duret-Lutz2004-05-211-1/+1
| | | | a subshell, to skip this test on broken /bin/sh of solaris.
* * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.Alexandre Duret-Lutz2004-05-172-14/+17
| | | | | | | | * 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.
* * automake.in (handle_dist): Always define DIST_SUBDIRS, even whenAlexandre Duret-Lutz2004-05-153-0/+59
| | | | | | | the no-dist or cygnus options are used. * tests/clean2.test: New file. * tests/Makefile.am (TESTS): Add clean2.test. Report from Daniel Jacobowitz.
* * aclocal.in (add_macro): Do not error out on undefined requiredAlexandre Duret-Lutz2004-05-156-23/+33
| | | | | | | | | | | | | | | 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.
* * automake.in (parse_arguments, MAIN): Give more preciseAlexandre Duret-Lutz2004-05-141-2/+3
| | | | | | diagnostics when not input file is found. * tests/output5.test: Adjust. Suggested by Jens Petersen.
* * lib/am/libs.am (AR, ARFLAGS): Move these definition ...Alexandre Duret-Lutz2004-05-143-0/+44
| | | | | | | | * 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.
* * automake.in (generate_makefile): Do not output Makefile.in onAlexandre Duret-Lutz2004-05-136-3/+59
| | | | | | | | | | 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.
* * automake.in (handle_source_transform): Also check for aAlexandre Duret-Lutz2004-05-131-2/+2
| | | | | | | $(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.
* regenAlexandre Duret-Lutz2004-05-131-4/+4
|
* * tests/lex3.test, tests/yacc6.test: Require GNU Make.Alexandre Duret-Lutz2004-05-132-3/+3
| | | | | | | 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.
* * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.Alexandre Duret-Lutz2004-05-101-3/+5
| | | | Report from Mark D. Baushke.
* * automake.in (check_typos): Clarify the diagnostic.Alexandre Duret-Lutz2004-04-241-3/+3
| | | | * tests/warnopts.test: Adjust.
* * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables intoAlexandre Duret-Lutz2004-04-245-6/+44
| | | | | | | | | 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.
* For PR automake/414:Alexandre Duret-Lutz2004-04-233-0/+60
| | | | | | | | | | | | 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.
* For PR automake/414:Alexandre Duret-Lutz2004-04-195-1/+143
| | | | | | | | | | | | | | | | 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.
* Fix PR automake/49:Alexandre Duret-Lutz2004-04-1715-23/+92
| | | | | | | | | | | | * 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.
* * aclocal.in (%map_traced_defs): New variable.Alexandre Duret-Lutz2004-04-153-0/+42
| | | | | | | | | | | (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.
* * automake.in ($automake_needs_to_reprocess_all_files): Remove.Alexandre Duret-Lutz2004-04-124-7/+48
| | | | | | | | | | | | | | | ($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.
* * aclocal.in, automake.in, configure.ac, Makefile.am,Alexandre Duret-Lutz2004-04-103-4/+4
| | | | | tests/aclocal.in, tests/automake.in, tests/defs.in: Use PATH_SEPARATOR from autoconf instead of ':'.
* * automake.in (handle_lib_objects): Pass the condition ofAlexandre Duret-Lutz2004-04-093-0/+51
| | | | | | | | 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.
* Better support for Fortran 9x.Alexandre Duret-Lutz2004-04-026-0/+166
| | | | | | | | | | | * 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.
* Overriding JAVAROOT is legitimate, do not warn about it.Alexandre Duret-Lutz2004-03-191-2/+2
| | | | | | * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT. * tests/java2.test: Run automake without -Wno-override. Report from Simon Josefsson.
* Fix for PR automake/285:Alexandre Duret-Lutz2004-03-074-7/+64
| | | | | | | | | | | * 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.
* * automake.in (lang_yacc_target_hook): Use Automake::Rule::defineAlexandre Duret-Lutz2004-02-295-1/+166
| | | | | | | | | | | 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.