tests


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 456c77e7 2002-11-30T20:41:12 * tests/gnits2.test, tests/gnits3.test: Move the greps inside the Makefile, so we can honor $(EXEEXT). Otherwise these tests fail under Cygwin. Reported by Charles Wilson.
Alexandre Duret-Lutz 2c8ac917 2002-11-30T20:12:19 For PR automake/375 (Debian Bug #168671): * automake.in (scan_texinfo_file): Erase all known index files, no matter whether they are used at the top-level or not, because we can never know if they are used in included files. The remaining macros we recognize at the top-level of a Texi document are @defindex, @defcodeindex, @synindex, and @syncodeindex. * tests/texinfo18.test: New file. * tests/Makefile.am (TESTS): Add texinfo18.test. Reported by Simon Richter.
Alexandre Duret-Lutz 9ef8a37f 2002-11-30T16:51:15 * automake.in (scan_texinfo_file): Honor only the first @setfilename. * tests/texinfo17.test: New file. * tests/Makefile.am (TESTS): Add texinfo17.test. Reported by Karl Berry.
Alexandre Duret-Lutz 9e34120c 2002-11-30T15:34:49 For PR automake/357: * automake.in (require_file_internal): Don't complain a file is "not found" when it is a target. Make sure "not found" files are otherwise reported as error (they were reported as 'note'). * tests/distcommon3.test: Augment to test the above. * tests/libobj12b.test: Touch ltmain.sh. * tests/required2.test: Make sure Automake fails because ltmain.sh has been removed. Reported by Ronald Landheer.
Alexandre Duret-Lutz f373ac53 2002-11-30T13:11:05 * tests/texinfo3.test: Make sure we don't output single suffix inference rules when building `.info'-less Info files (this confuses Solaris make). Run distcheck to make sure the rules work. * automake.in (output_texinfo_build_rules): Define GENERIC_INFO and SOURCE_INFO. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%, %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
Alexandre Duret-Lutz a117c24e 2002-11-29T21:53:06 For PR automake/359: * automake.in (do_check_merge_target): Make `check' dependent on $(BUILT_SOURCES) if the variable is defined. Run `check-am' or `check-recursive' in a submake in this case. * tests/check2.test, tests/check3.test: New files. * tests/check.test: Make sure `check' depends on `check-am'. * tests/Makefile.am (TESTS): Add check2.test and check3.test.
Alexandre Duret-Lutz bd4be419 2002-11-29T17:52:09 For PR automake/371 and PR automake/372: * automake.in (rule_define): Honor inference rules with multiple targets, and warn when they are used. * tests/suffix11.test: New file. * tests/Makefile.am (TESTS): Add suffix11.test. Reported by Duncan Gibson.
Alexandre Duret-Lutz 62aa352d 2002-11-28T21:01:51 For PR automake/370: * automake.in (handle_languages): Don't prepend $U to $myext since handle_single_transform_list now appends it to $obj. Process the rule twice to handle deansified files in subdirectories. Mark _.c files in subdirectories for cleaning. (handle_single_transform_list): Append $U to $obj_sans_ext if needed: before this dependencies were output foo.Po instead of foo$U.Po. Don't output explicit dependencies for renamed objects or sources in sub-directories: we already output a full compile rule for them. (lang_c_finish): Don't always use the full filename in the .c -> _.c rule. This reverts part of my change of 2002-11-21. * tests/ansi6.test, tests/ansi7.test: Make sure deansified files are created in the right directory, and cleaned. Reported by Kevin Ryde.
Alexandre Duret-Lutz 6f59504e 2002-11-21T13:27:20 * tests/texinfo13.test: Require texi2dvi-o. * tests/defs.in: Handle required=texi2dvi-o.
Alexandre Duret-Lutz b93c7625 2002-11-20T23:28:07 * automake.in (handle_single_transform_list): Don't strip the directory from $full_ansi. This reverts my patch of 2002-10-16. (lang_c_finish): Use the full filename, including the directory, in the .c -> _.c rule. These two files must reside in the same directory. * tests/ansi6.test: Also try to compile without ansi2knr. Reported by Andreas Schwab
Alexandre Duret-Lutz 6a952503 2002-11-20T22:03:57 * automake.in (conditional_ambiguous_p, macro_define, rule_define, require_variables): Use ->human instead of ->string. * lib/Automake/Conditional.pm (string): Don't sort conditions, they are already sorted. (_to_human, human): New functions. * lib/Automake/ConditionalSet.pm (human): New function. * tests/cond27.test, tests/library3.test, tests/pluseq5.test, tests/pluseq9.test: Adjust.
Alexandre Duret-Lutz 149abece 2002-11-19T20:02:40 * lib/Automake/ConditionalSet.pm (_simplify, simplify): New methods. (true): Cache return value, so _simplify can use it. * lib/Automake/tests/ConditionalSet.pl (test_simplify): New function. * automake.in (variable_not_always_defined_in_cond): Return a simplified ConditionalSet. (macro_define, require_variables): Adjust. * tests/Makefile.am (TEST): Add library3.test. * tests/library3.test: New file. * tests/pluseq9.test: Adjust. Thanks to Raja R Harinath.
Alexandre Duret-Lutz 180cd66e 2002-11-18T18:43:37 * lib/Automake/tests/Makefile.am, lib/Automake/tests/Conditional.pl, lib/Automake/tests/ConditionalSet.pl: New files. * lib/Automake/Makefile.am (SUBDIRS): New variable. * configure.in: Output lib/Automake/tests/Makefile. * lib/Automake/ConditionalSet.pm (by_conditions): Delete. (conds): Don't use by_conditions, sort alphabetically, and return sorted conds. (string): Call ->string on each Conditional. * tests/Makefile.am (TESTS): Remove cond12.test. * tests/cond12.test: Remove, moved to lib/Automake/tests/ConditionalSet.pl. * tests/cond3.test: Adjust conditional ordering.
Alexandre Duret-Lutz 70173bfc 2002-11-13T20:11:32 * automake.in: Don't declare TRUE and FALSE, import them from Automake::Conditional. * lib/Automake/Conditional.pm (TRUE, FALSE): New constants. (new): Simplify using FALSE. (reduce): New function, moved from ... * automake.in (variable_conditions_reduce): ... here. (variable_conditions_recursive_sub, invert_conditions): Adjust calls to Automake::Conditional::reduce. * tests/cond12.test: Adjust to use Automake::Conditional.
Jim Meyering 5fa44648 2002-11-10T14:25:23 regen
Jim Meyering 875b1a66 2002-11-10T14:25:16 (TESTS): Add installsh2.test.
Jim Meyering 2afb4254 2002-11-10T14:24:01 Make install-sh work even when names contain spaces or certain (but not all) shell metachars. * lib/install-sh: Remove lots of unnecessary quoting. Add double quotes where necessary. Write diagnostics to stderr, not stdout. Normalize spacing in diagnostics: use one space (not two, and not a TAB) after the leading `install:'. Remove trailing white space. Remove unnecessary curly braces. If removing the destination fails, also try to move it aside. Use `trap' more portably. * tests/installsh2.test: New file, to test for the above fix. * tests/Makefile.am (TESTS): Add installsh2.test.
Akim Demaille ce9484c9 2002-10-31T11:55:27 * tests/location.test (Makefile.am): Strengthen. * lib/Automake/Channels.pm (_print_message): Be sure to flush $partial when the message is output. Thanks to Alexandre Duret-Lutz.
Akim Demaille 49018c00 2002-10-31T11:42:23 * automake.in (&read_am_file): Use $last_where to register the _first_ line of a variable definition as location instead of the last one. (&conditional_ambiguous_p): Don't forget to ->string the Conditionals. (&rule_define): Likewise. * tests/location.test: Adjust to exercise this.
Alexandre Duret-Lutz c564e43d 2002-10-25T18:08:20 2002-10-25 Charles Wilson <cwilson@ece.gatech.edu> * tests/defs.in: Add explicit stanza for python -V.
Alexandre Duret-Lutz e13cf527 2002-10-16T18:53:44 * tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09, and reveals a bug in my patch of 2002-10-15. * automake.in (handle_single_transform_list): Strip directory name from $full_ansi if subdir-objects is not set.
Alexandre Duret-Lutz dd335986 2002-10-15T08:38:55 * automake.in (handle_single_transform_list) <full_ansi>: New variable. Use this to record correct dependencies about deansifiable files which are using per-program flags or are in a subdirectory. * tests/ansi9.test: New file. * tests/Makefile.am (TESTS): Add ansi9.test. Reported by Paul D. Smith
Alexandre Duret-Lutz 84f29b04 2002-10-12T21:19:29 * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is quoted, accept any character but `]'. This makes it possible to define macros such as `AC_LANG_PREPROC(Fortran 90)'. (scan_m4_files): Quote $key in the regex. Don't define $expr, it's not used. (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx and $ac_require_rx. * tests/aclocal2.test: New file. * tests/Makefile.am (TESTS): Add aclocal2.test. Reported by Tamara L. Dahlgren and Tom Epperly.
Alexandre Duret-Lutz 7f3fdf37 2002-10-10T18:22:07 For PR automake/369: * lib/am/python.am: Lookup python files in build directory or source directory. From Mathias Doreille. * tests/python3.test: New file. * tests/Makefile.am (TESTS): Add python3.test. * tests/defs: Handle `required=python'.
Alexandre Duret-Lutz fd386946 2002-10-10T17:37:38 For PR automake/358: * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of configure.ac. Suggested by Thien-Thi Nguyen. * lib/am/configure.am ($(srcdir)/configure): Depends on %CONFIGURE_DEPS% * automake.in (@configure_deps): New array. (scan_autoconf_traces): Scan for m4_include and m4_sinclude, and fill @configure_deps. (handle_configure): Substitute %CONFIGURE_DEPS%. Distribute @configure_deps. * tests/version7.texi: New file. * tests/vtexi.test: Adjust. * tests/Makefile.am (TESTS): Add version7.test. * automake.texi (Dist): Mention that m4_include'd files are distributed.
Alexandre Duret-Lutz 6f7799f1 2002-10-09T21:24:50 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty: the content of this macro was merged in AC_PROG_CC. * m4/protos.m4 (AM_C_PROTOTYPES): Adjust to AC_C_PROTOTYPES. * tests/depacl.test: Remove, it exercize aclocal in a way that was exercized by all the other tests since the test suite really uses aclocal. * tests/Makefile.am (TESTS): Remove depacl.test.
Alexandre Duret-Lutz 46dc44f4 2002-10-07T09:23:33 * lib/Automake/Conditional.pm: New file. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Conditional.pm. * automake.in: Use Automake::Conditional. (TRUE, FALSE): New constants. (%var_value, %var_location, %var_comment, %var_type, %var_owner, %targets, %target_source, %target_name, %target_owner): Tie to Tie::RefHash::Nestable. (generate_makefile, process_option_list, handle_options, handle_languages, handle_source_transform, handle_compile, handle_libtool, handle_texinfo_helper, handle_dist, handle_subdirs, scan_aclocal_m4, handle_emacs_lisp, handle_python, scan_autoconf_files, variable_assert, define_variable, define_pretty_variable, define_configure_variable, am_install_var, push_dist_common): Use TRUE. (define_objects_from_sources): Fix return value on "recursively-defined" errors. (conditional_string, conditional_true_when, conditional_is_redundant, conditional_implies_any, make_conditions): Remove these functions, obsoleted by Conditional.pm. (cond_stack_if, cond_stack_else, cond_stack_endif): Return an Automake::Conditional instance. (by_condition, conditional_ambiguous_p, variable_not_always_defined_in_cond, macro_define, variable_conditions_recursive, variable_conditions_recursive_sub, variable_conditions_reduce, invert_conditions, variable_conditions_permutations, check_variable_defined_unconditionally, variable_value_as_list, variable_output, variable_pretty_output, rule_define, read_am_file, file_contents_internal, require_variables): Adjust to use Automake::Conditional objects. (handle_footer): Get $(SUFFIXES) in 'all' conditions. * tests/cond12.test: Adjust to use Automake::Conditional objects.
Alexandre Duret-Lutz 972b4534 2002-10-01T19:59:34 * automake.in (handle_source_transform): If foo_SOURCES is defined conditionally, create and use am__foo_SOURCES_DIST for distribution. * tests/condd.test: Extend to check distributed files. * tests/substref.test: Make sure we don't use such a variable when it's not needed. Reported by Marcus Brinkmann.
Alexandre Duret-Lutz d34b18cc 2002-09-30T20:12:27 * tests/defs.in: Run $MAKE --version -v. * tests/dollar.test: Abort on ./defs failure. * tests/lex5.test: Require GNUmake, not make.
Alexandre Duret-Lutz e4dfb627 2002-09-30T18:08:07 * automake.in (require_variables): The fix introduced in 2002-09-19 is imcomplete. Rewrite the conditional variable definition check using &variable_not_always_defined_in_cond. * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file. * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and cond28.test. Reported by Juergen Keil.
Alexandre Duret-Lutz c864bddd 2002-09-30T13:05:03 regen
Alexandre Duret-Lutz 6f7f6265 2002-09-30T12:32:21 Fix for PR automake/366: * automake.in (handle_dist): Strip $(srcdir) and replace $(top_srcdir) when computing DIST_COMMON directories. * tests/include2.test: Use an obsolute $(srcdir), and check for spurious directories in $(distdir)/sub. * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir). Reported by Kevin Ryde.
Alexandre Duret-Lutz da988ed6 2002-09-29T13:08:18 * automake.in (handle_ltlibraries): Record library locations in %liblocations, and print the previous declaration on error. * tests/libtool6.test: Check that the locations of the two definitions are shown.
Alexandre Duret-Lutz 8910bab0 2002-09-29T12:49:07 For PR automake/360: Propagate more locations. * automake.in (handle_programs): Adjust usage of am_install_var's return value. Pass on locations as context to file_contents. (handle_libraries, handle_ltlibraries): Likewise. Use locations in the 'not a standard library name' diagnostic. (handle_emacs_lisp, handle_python): Adjust usage of am_install_var's return value. Pass on locations to require_variables and require_conf_file. (check_ambiguous_conditional): Strip trailing dot in message. (value_to_list): Add the $WHERE and $LOC_WANTED arguments. (variable_value_as_list_recursive_worker): Add the $LOC_WANTED argument. Adjust calls to value_to_list. (variable_value_as_list_recursive): Call variable_value_as_list_recursive_worker with $LOC_WANTED = 0. (variable_loc_and_value_as_list_recursive): New function, variable_value_as_list_recursive_worker with $LOC_WANTED = 1. (am_install_var): Use variable_loc_and_value_as_list_recursive, and return a list of [$location, $value] pairs. (rule_define): Use better locations in EXEEXT diagnostic. (handle_source_transform, define_objects_from_sources): Add and use a $WHERE argument. Adjust callers. * tests/stdlib.test: Grep the location in error message. * tests/location.test: New file. * tests/Makefile.am (TESTS): Add location.test.
Alexandre Duret-Lutz 27855504 2002-09-29T10:35:03 * tests/exeext3.test: New file. * tests/Makefile.am (TESTS): Add exeext3.test. * automake.in (%target_name): New hash. (initialize_per_input): Reset %target_name. (rule_define): Fill %target_name, and use it to detect targets which have been registered with key X but really are X$(EXEEXT).
Alexandre Duret-Lutz 5d52af28 2002-09-28T12:41:06 For PR automake/360: * lib/Automake/Location.pm: New file. * lib/Automake/Channels.pm (_print_message): Display contexts when given an Automake::Location. (msg): Clone the location. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm. * tests/comment5.test: Make sure we display `included from' stacks. * automake.in: Use Automake::Location. (INTERNAL): New constant. (file_contents, file_contents_internal, define_variable, define_pretty_variable, read_am_file): Take $WHERE as argument. Adjust all callers. (scan_autoconf_traces) <$where>: Define as a Location, and use it instead of $here. (macro_define, rule_define): Make sure $WHERE is a location. Clone it before updating $var_location or $targets.
Alexandre Duret-Lutz bc638d97 2002-09-25T20:30:49 * configure.in: Bump version to 1.7a.
Alexandre Duret-Lutz c2d90d2e 2002-09-25T20:17:13 * NEWS, configure.ac: Version 1.7.
Alexandre Duret-Lutz 3c407110 2002-09-25T18:46:47 * configure.in: Check for 'tex'. * tests/defs.in: Handle required=tex using configure's result. Reported by Patrick Welche.
Alexandre Duret-Lutz b125b7ad 2002-09-24T22:50:35 * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX <sys/types.h>. * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c): Likewise.
Alexandre Duret-Lutz 8b317c41 2002-09-24T19:37:24 * tests/target-cflags.test: Build in `build/', not `obj/' because `obj/' is special to BSD make.
Alexandre Duret-Lutz 6672e40d 2002-09-24T08:05:58 * tests/defs.in (SHELL): Set it.
Alexandre Duret-Lutz 9a5358a7 2002-09-23T22:08:31 For PR automake/350: * automake.in (handle_ltlibraries): Allow a library to be installed many times in the same directory. * tests/libtool5.test, tests/libtool6.test: New files. * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
Alexandre Duret-Lutz 8d510c6d 2002-09-22T19:02:45 * automake.in (handle_ltlibraries): Fill $libtool_clean_directories here, with directories where .la files are built... (handle_single_transform_list): ... not here with directories where .lo files are built. * tests/libtool3.test: Build a library in a subdirectory to check for this. Reported by Peter Gavin.
Alexandre Duret-Lutz 1d4f1787 2002-09-22T18:57:18 * tests/cond5.test: Give more time to automake. Reported by Art Haas.
Alexandre Duret-Lutz 749fdb7f 2002-09-22T14:35:19 * automake.in (macro_define): Update a variable's location each time its owner is updated. * tests/gnuwarn.test: Append to CFLAGS to check for this. Reported by Harlan Stenn.
Alexandre Duret-Lutz a0984319 2002-09-20T11:29:12 * configure.in: Bump version to 1.6g.
Alexandre Duret-Lutz 903ee525 2002-09-20T11:20:04 * configure.in, NEWS: Bump version to 1.6f.
Pavel Roskin b09e0327 2002-09-19T19:04:16 * tests/warnopts.test: Fix random failures by removing Autoconf cache directory whan configure.in changes. Use the code and the comment from tests/asm.test.
Alexandre Duret-Lutz 30d3b058 2002-09-19T09:16:05 For PR automake/361: * tests/suffix8.test: More explicit dependencies. Reported by Paul Eggert.
Alexandre Duret-Lutz 2074e6c6 2002-09-19T08:59:49 * automake.in (rule_define): Don't diagnose duplicate user rules. * tests/phony.test, tests/percent2.test: New files. * tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz 7d1007cc 2002-09-19T07:59:37 * automake.in (require_variables): Search variable definitions in any condition implied by $cond. * tests/cond25.test: New file. * tests/Makefile.am (TESTS): Add cond25.test. Reported by Pavel Roskin.
Alexandre Duret-Lutz f8f7b1aa 2002-09-19T07:31:49 * tests/subobj9.test: Skip this test on configure errors.
Alexandre Duret-Lutz b2a016ed 2002-09-18T21:17:27 * configure.in: Bump version to 1.6e.
Alexandre Duret-Lutz a0a144cd 2002-09-18T21:05:27 * configure.in, NEWS: Bump version to 1.6d. * tests/libobj12.test, tests/libobj12b.test: Include ./defs, not $srcdir/defs. * tests/suffix8.test: Typo.
Alexandre Duret-Lutz a294ed3b 2002-09-18T18:43:24 For PR automake/353: fill %var_location, %var_comment, %var_type, %var_owner for each condition. * automake.in (msg_cond_var): New function. (msg_var): Use it. (generate_makefile, process_option_list, handle_languages, handle_lib_objects_cond, handle_compile, handle_libtool, handle_ltlibraries, handle_texinfo_helper, handle_tests, handle_emacs_lisp, handle_python, macro_define, macro_delete, macro_dump, variable_assert, variable_output, variable_pretty_output, read_am_file, read_main_am_file, file_contents_internal, am_primary_prefixes, require_variables_for_macro): Adjust accesses to %var_location, %var_comment, %var_type, %var_owner. (append_comments, require_file_with_macro, require_conf_file_with_macro, require_variables): Add the $cond argument. * tests/comment7.test: New file. * tests/Makefile.am (TESTS): Add comment7.test.
Alexandre Duret-Lutz 13d64b8c 2002-09-17T21:11:49 * automake.in (handle_programs): Ooops. Really add LDADD objects into _DEPENDENCIES. * tests/libobj12.test: Check for it.
Alexandre Duret-Lutz 545416a7 2002-09-17T20:53:09 2002-09-17 Assar Westerlund <assar@kth.se> Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (handle_programs, handle_libraries, handle_ltlibraries): Maintain $seen_libobjs on a per-program/per-library basis, instead of globally to each of these functions. * tests/libobj12.test, tests/libobj12b.test: New files. * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
Alexandre Duret-Lutz c8409243 2002-09-17T19:32:54 * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and AC_PROG_MAKE_SET.
Alexandre Duret-Lutz da31858a 2002-09-17T18:07:23 * automake.in: Rename the 'unused' channel to 'syntax'. (variable_defined): Issue a warning instead of an error for variable-is-a-target conditions. * automake.texi (Invoking Automake): Rename the 'unused' channel to 'syntax'. * tests/warnopts.test: Likewise.
Alexandre Duret-Lutz a187d2b0 2002-09-17T17:40:14 * tests/suffix8.test: Add explicit dependencies. * tests/texinfo13.test, tests/texinfo16.test: Require tex.
Pavel Roskin 69481950 2002-09-16T20:39:59 Add "defs".
Alexandre Duret-Lutz f0791481 2002-09-16T10:12:22 * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
Tom Tromey 806f257a 2002-09-15T20:45:48 * tests/subdircond3.test: Pass flags to make in environment. * tests/subdircond2.test: Pass flags to make in environment. * Makefile.am (maintainer-check): Add a new check for @...@ substitutions. Updated correct number of diffs between source and build trees.
Tom Tromey 2efed387 2002-09-15T20:34:15 * configure.in (aclocal, automake): Don't create. * automake.in ($prefix): Don't define. * aclocal.in ($prefix): Don't define. * Makefile.am (do_subst): New macro. (automake): New target. (aclocal): Likewise.
Alexandre Duret-Lutz 023757cc 2002-09-14T15:58:41 * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and specflags8.test.
Alexandre Duret-Lutz c1bea725 2002-09-13T16:37:01 * automake.texi (Building ctags and etags): Rename and adjust as ... (Building true and false): ... this. * tests/targetclash.test: New file. * tests/specflags7.test, tests/specflags8.test: Adjust to build true and false. * tests/Makefile.am (TESTS): Add targetclash.test. (XFAIL_TESTS): Remove specflags7.test and specflags8.test.
Alexandre Duret-Lutz 676ef8e4 2002-09-13T16:34:40 Diagnose target clashes, for PR automake/344: * automake.in (%targets): Record conditionals for definitions. (%target_conditional): Remove (obsoleted by %targets). (%target_source, %target_owner): New hashes. (TARGET_AUTOMAKE, TARGET_USER): New constants. (initialize_per_input): Adjust to reset new variables. (err_cond_target, msg_cond_target): New functions. (msg_target): Adjust usage of %targets. (conditional_ambiguous_p): Take a list of conditional to check as a third parameter, so this can be used for other things that variables. (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage. (variable_defined): Restrict the target-with-same-name check to user targets. (rule_define): Add the $SOURCE argument, and take $OWNER instead of $IS_AM. Diagnose target clashes (including ambugious conditionals). Return a list of conditions where the rule should be defined instead of a boolean. Fill %target_source and %target_owner. (target_define): Use `exists', not `defined'. (read_am_file): Adjust the call to rule_define. (file_contents_internal): Add more FIXMEs. Simplify my moving and documenting the "define rules in undefined conditions" to rule_define. * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and specflags8.test.
Alexandre Duret-Lutz 7a229db3 2002-09-10T09:50:23 * tests/Makefile.am ($(TESTS)): Replace by ... (check_SCRIPTS): ... this. Suggested by Raja R Harinath.
Alexandre Duret-Lutz 0e4bd571 2002-09-09T08:56:56 * tests/Makefile.am ($(TESTS)): New, depends on defs. (BUILT_SOURCES): Remove (useless because of PR/359).
Alexandre Duret-Lutz c456276a 2002-09-09T08:27:19 * m4/init.m4: Execute cygpath in a sub-shell.
Alexandre Duret-Lutz 63a940fa 2002-09-08T19:28:44 * automake.in (macro_define): Warn about `:=' assignments. * tests/colneq.test: Check for this warning.
Alexandre Duret-Lutz b89b34e5 2002-09-08T13:40:05 2002-09-08 Andreas Buening <andreas.buening@nexgo.de> Fix for automake/334: * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W). * m4/init.m4: New make variable CYGPATH_W.
Alexandre Duret-Lutz 623714ef 2002-09-08T13:07:56 * configure.in: Check for EGREP and FGREP. Create tests/defs. * tests/defs: Rename as ... * tests/defs.in: ... this. Add copyright notice. Use configure's values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset. * tests/Makefile.am (EXTRA_DIST): Remove defs. (BUILT_SOURCES): New. * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test, tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test, tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test, tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test, tests/all.test, tests/alpha.test, tests/amassign.test, tests/ammissing.test, tests/ansi.test, tests/ansi2.test, tests/ansi3.test, tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, tests/ansi7.test, tests/ansi8.test, tests/ar.test, tests/asm.test, tests/autoheader.test, tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test, tests/backsl.test, tests/backsl2.test, tests/badline.test, tests/badopt.test, tests/badprog.test, tests/block.test, tests/canon.test, tests/canon2.test, tests/canon3.test, tests/canon4.test, tests/canon5.test, tests/ccnoco.test, tests/check.test, tests/checkall.test, tests/clean.test, tests/colneq.test, tests/colneq2.test, tests/colon.test, tests/colon2.test, tests/colon3.test, tests/colon4.test, tests/colon5.test, tests/colon6.test, tests/colon7.test, tests/comment.test, tests/comment2.test, tests/comment3.test, tests/comment4.test, tests/comment5.test, tests/comment6.test, tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test, tests/cond11.test, tests/cond12.test, tests/cond13.test, tests/cond14.test, tests/cond15.test, tests/cond16.test, tests/cond17.test, tests/cond18.test, tests/cond19.test, tests/cond2.test, tests/cond20.test, tests/cond21.test, tests/cond22.test, tests/cond23.test, tests/cond24.test, tests/cond3.test, tests/cond4.test, tests/cond5.test, tests/cond6.test, tests/cond7.test, tests/cond8.test, tests/cond9.test, tests/condd.test, tests/condincl.test, tests/condincl2.test, tests/condlib.test, tests/condman.test, tests/condman2.test, tests/conf2.test, tests/confdeps.test, tests/confdist.test, tests/confh.test, tests/confh4.test, tests/config.test, tests/confincl.test, tests/confsub.test, tests/confvar.test, tests/confvar2.test, tests/copy.test, tests/ctarget1.test, tests/cxx.test, tests/cxx2.test, tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test, tests/dash.test, tests/defun.test, tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test, tests/depacl.test, tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test, tests/depdist.test, tests/depend.test, tests/depend2.test, tests/depend3.test, tests/depend4.test, tests/destdir.test, tests/dirforbid.test, tests/dirlist.test, tests/discover.test, tests/distcommon.test, tests/distcommon2.test, tests/distcommon3.test, tests/distdir.test, tests/distname.test, tests/dollar.test, tests/double.test, tests/dup2.test, tests/dup3.test, tests/else.test, tests/empty.test, tests/empty2.test, tests/empty3.test, tests/empty4.test, tests/error.test, tests/exdir.test, tests/exdir2.test, tests/exeext.test, tests/exeext2.test, tests/exsource.test, tests/ext.test, tests/ext2.test, tests/extra.test, tests/extra2.test, tests/extra3.test, tests/extra4.test, tests/extra5.test, tests/extra6.test, tests/extra7.test, tests/flibs.test, tests/fnoc.test, tests/fo.test, tests/fonly.test, tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test, tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test, tests/gcj5.test, tests/getopt.test, tests/gettext.test, tests/gettext2.test, tests/gnits.test, tests/gnits2.test, tests/gnits3.test, tests/gnuwarn.test, tests/header.test, tests/implicit.test, tests/include.test, tests/include2.test, tests/info.test, tests/insh.test, tests/insh2.test, tests/install.test, tests/install2.test, tests/installdir.test, tests/installsh.test, tests/instdata.test, tests/instdata2.test, tests/instexec.test, tests/insthook.test, tests/instman.test, tests/instman2.test, tests/interp.test, tests/interp2.test, tests/java.test, tests/java2.test, tests/javaprim.test, tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test, tests/lex5.test, tests/libobj10.test, tests/libobj11.test, tests/libobj2.test, tests/libobj3.test, tests/libobj4.test, tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, tests/library.test, tests/library2.test, tests/libtool.test, tests/libtool2.test, tests/libtool3.test, tests/libtool4.test, tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test, tests/link_f_c_cxx.test, tests/link_f_cxx.test, tests/link_f_only.test, tests/lisp.test, tests/lisp2.test, tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test, tests/maintclean.test, tests/make.test, tests/makevars.test, tests/man.test, tests/man2.test, tests/mclean.test, tests/mdate.test, tests/mdate2.test, tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test, tests/nobase.test, tests/nodefine.test, tests/nodefine2.test, tests/nodep.test, tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, tests/noinst.test, tests/noinstdir.test, tests/nolink.test, tests/nostdinc.test, tests/number.test, tests/obsolete.test, tests/order.test, tests/outdir.test, tests/output.test, tests/output2.test, tests/output3.test, tests/output4.test, tests/output5.test, tests/package.test, tests/parse.test, tests/percent.test, tests/pluseq.test, tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test, tests/ppf77.test, tests/pr2.test, tests/pr204.test, tests/pr211.test, tests/pr220.test, tests/pr224.test, tests/pr229.test, tests/pr243.test, tests/pr266.test, tests/pr279-2.test, tests/pr279.test, tests/pr287.test, tests/pr300-lib.test, tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test, tests/pr72.test, tests/pr87.test, tests/pr9.test, tests/prefix.test, tests/primary.test, tests/primary2.test, tests/proginst.test, tests/python.test, tests/python2.test, tests/ranlib.test, tests/recurs.test, tests/recurs2.test, tests/remake.test, tests/remake2.test, tests/remake3.test, tests/req.test, tests/required.test, tests/required2.test, tests/rulepat.test, tests/scripts.test, tests/seenc.test, tests/sinclude.test, tests/sourcesub.test, tests/sourcesub2.test, tests/space.test, tests/specflags.test, tests/specflags2.test, tests/specflags3.test, tests/specflags6.test, tests/specflags7.test, tests/specflags8.test, tests/specflags9.test, tests/spell.test, tests/spell2.test, tests/spell3.test, tests/spelling.test, tests/stamph.test, tests/stamph2.test, tests/stdlib.test, tests/strip.test, tests/subdir.test, tests/subdir2.test, tests/subdir3.test, tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, tests/subdir7.test, tests/subdirbuiltsources.test, tests/subdircond.test, tests/subdircond2.test, tests/subdircond3.test, tests/subobj.test, tests/subobj2.test, tests/subobj3.test, tests/subobj4.test, tests/subobj5.test, tests/subobj6.test, tests/subobj7.test, tests/subobj8.test, tests/subobj9.test, tests/subobjname.test, tests/subpkg.test, tests/subst.test, tests/substref.test, tests/substtarg.test, tests/suffix.test, tests/suffix10.test, tests/suffix2.test, tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, tests/suffix9.test, tests/symlink.test, tests/symlink2.test, tests/symlink3.test, tests/syntax.test, tests/tags.test, tests/tagsub.test, tests/target-cflags.test, tests/target.test, tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test, tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test, tests/transform.test, tests/unused.test, tests/vars.test, tests/vars2.test, tests/vars3.test, tests/vartar.test, tests/version.test, tests/version2.test, tests/version3.test, tests/version4.test, tests/version5.test, tests/version6.test, tests/vpath.test, tests/vtexi.test, tests/vtexi2.test, tests/warnopts.test, tests/werror.test, tests/whoami.test, tests/xsource.test, tests/yacc.test, tests/yacc2.test, tests/yacc3.test, tests/yacc4.test, tests/yacc5.test, tests/yacc6.test, tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice. Source ./defs instead of $srcdir/defs.
Alexandre Duret-Lutz e975ff3d 2002-09-05T15:08:12 regen
Alexandre Duret-Lutz b677574a 2002-09-05T14:29:45 * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on distributed files, to workaround Sun make VPATH munging. This fixes subdircond2.test, subdircond3.test, and subpkg.test on Solaris. * tests/extra6.test, tests/lex3.test, tests/pr87.test, tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test, tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test: Don't require GNU make.
Alexandre Duret-Lutz 966ba774 2002-08-25T20:45:51 For PR automake/343: * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps, and pdf. (output_texinfo_build_rules): Define %DIRSTAMP% when processing texibuild.am. Return $dirstamp and a list of files to clean. (handle_texinfo_helper): Process texi-vers.am after the call to output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%. * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise. (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%. * tests/texinfo13.test: New file. * tests/Makefile.am (TESTS): Add texinfo13.test. * lib/am/texinfos.am (install-info-am, dist-info): Looks for info files in build or source directory. This completes the change from 2002-07-30 (for PR automake/168).
Alexandre Duret-Lutz 51be2612 2002-08-23T19:11:32 * automake.texi (Top level): More words about conditional subdirectories. Don't mention AC_PROG_MAKE_SET. * tests/subdircond2.test, tests/subdircond3.test: New files. * tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz f4923549 2002-08-23T13:32:55 For PR automake/347: * automake.in (MACRO_PATTERN): Allow `.' in variable names. (scan_variable_expansions, check_variable_expansions): New functions. (macro_define): Call check_variable_expansions. (read_am_file): Likewise, when outputing rules. (variable_conditions_recursive_sub): Simplify using scan_variable_expansions. * tests/vars3.test: New file. * tests/Makefile.am (TESTS): Add vars3.test. * tests/colneq.test: Use -Wno-portability.
Alexandre Duret-Lutz ad87bb1a 2002-08-22T22:57:52 * automake.in (read_am_file): File computation of path to included file, when $(top_srcdir) is not used. * tests/include2.test: Augment.
Tom Tromey 1330e4da 2002-08-19T22:48:39 For PR automake/348: * tests/Makefile.am (TESTS): Added include2.test. * tests/include2.test: New file. * tests/include.test: Check to make sure include file is distributed. * automake.in (read_am_file): Distribute included files.
Alexandre Duret-Lutz 15c2697c 2002-08-19T13:09:00 Fix for PR automake/345: * tests/defs: Add support for required=non-root, stolen from fileutils' test suite. * tests/destdir.test: Use required=non-root.
Alexandre Duret-Lutz afe7e679 2002-08-19T09:03:48 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
Tom Tromey d7b3d9d4 2002-08-18T22:26:37 For PR automake/347: * automake.in (rule_define): Given portability warning if "%" seen in target name. (TARGET_PATTERN): Added `%'. * tests/Makefile.am (TESTS): Added percent.test. * tests/percent.test: New file.
Alexandre Duret-Lutz 09c65d3f 2002-08-02T16:10:28 * tests/ext2.test: New file. This bug is present in Automake 1.6.3 and was fixed by the change on variable_conditions_permutations and invert_conditions on 2002-05-16. * tests/Makefile.am (TESTS): Add ext2.test. Reported by Ladislav Strojil.
Alexandre Duret-Lutz 2ffe5585 2002-08-01T22:24:33 * aclocal.in (parse_arguments): Add `dirlist' paths add the very end of the search path, after aclocal-APIVERSION/ and aclocal/. * automake.texi (Macro search path): Adjust to reflect the new ordering. * tests/dirlist.test: Check for this.
Alexandre Duret-Lutz 0b7fbfaa 2002-07-31T19:58:26 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu> * aclocal.in (parse_arguments): Add support for extending default macro search path, using a `dirlist' file within the aclocal directory. * automake.texi (Invoking aclocal): Move option descriptions into ... (aclocal options): ... this new node. (Macro search path): New node. * tests/dirlist.test: New file. * tests/Makefile.am (TESTS): Add dirlist.test. * m4/dirlist: New file. * m4/Makefile.am (EXTRA_DIST): Add dirlist. * tests/defs: Honor any installed dirlist when searching for libtool.m4 and gettext.m4.
Alexandre Duret-Lutz 675e25d1 2002-07-30T20:15:32 Build info files in builddir instead of srcdir (for PR automake/168), and prepare support for info files in subdirecties. * automake.in (output_texinfo_build_rules): New function. (handle_texinfo_helper): Use output_texinfo_build_rules, and prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR. * lib/am/texi-vers.am: Build version.texi and stamp-vti in the current directory, not $(srcdir). Use %STAMPVTI% to name the stamp file. * lib/am/texibuild.am: Rewrite to output files in the current directory, not $(srcdir). Also, support both generic and non-generic output. Pass `-o $@' to makeinfo, texinfo, and texi2dvi -- this is a partial fix for PR automake/339. * tests/texinfo3.test: Make sure the `.texi:' rule is output. * tests/texinfo10.test: Use set -e, so the checks are not ignored. * tests/texinfo16.test: New file. * tests/Makefile.am (TESTS): Add texinfo16.test.
Alexandre Duret-Lutz 90001a8e 2002-07-28T19:32:38 * configure.in: Bump version to 1.6c.
Alexandre Duret-Lutz c7d71ee4 2002-07-28T18:47:46 * configure.in: Bump version to 1.6b. * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New upstream versions. * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text, since this file is processed by config.status.
Alexandre Duret-Lutz c62da4c8 2002-07-25T21:28:41 * automake.in (read_am_file): Escaped newlines in comments are not portable. If a comment line doesn't start with a `#', add it. * tests/comment6.test: Ensure this is done.
Alexandre Duret-Lutz 5dabeda9 2002-07-24T21:45:46 Fix failures reported by Patrick Welche on NetBSD. * tests/gnits2.test, tests/gnits3.test: Don't trust the exit status of `make -k'. * tests/obsolete.test: Source obs.1 and obs.2 from current directory.
Alexandre Duret-Lutz 17db0c1a 2002-07-23T18:58:07 * tests/required2.test: New file. * tests/Makefile.am (TESTS): Add required2.test. * automake.in (initialize_per_input): Remove %require_file_found setting. This reverts my change of 2002-04-19. (require_file_internal): Use the full name of a file as a key in %require_file_found, not only the basename. Reported by Andrew Suffield.
Alexandre Duret-Lutz 69ebf1c1 2002-07-22T20:53:03 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS. * tests/subdir7.test: New file. * tests/Makefile.am (TESTS): Add subdir7.test.
Alexandre Duret-Lutz 74b6138e 2002-07-22T17:00:44 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor AM_INSTALLCHECK_STD_OPTIONS_EXEMPT. * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise. * automake.texi (Options) <std-options>: Document AM_INSTALLCHECK_STD_OPTIONS_EXEMPT. (Gnits): Reference std-options. * tests/gnits3.test: New file. * tests/Makefile.am (TESTS): Add gnits3.test. Suggested by Jim Meyering.
Alexandre Duret-Lutz 0e1a9234 2002-07-20T15:48:35 * tests/gnits2.test: Use --program-prefix. Test for scripts too. Replace the sed script by calls to grep, easier to debug. * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase and $(transform). * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
Alexandre Duret-Lutz 7481f436 2002-07-20T15:11:50 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS): Always strip the directory part before applying $(transform), even for nobase_ targets. * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS): Likewise. * tests/nobase.test: Use --program-prefix while testing nobase support.
Alexandre Duret-Lutz 74d9ca82 2002-07-19T20:23:38 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore. * tests/Makefile.am (TESTS): Remove dirname.test.
Alexandre Duret-Lutz eafb319c 2002-07-19T20:17:59 * m4/init.m4: Require Autoconf 2.53b. * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN. * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN. * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise. * m4/protos.m4 (fp_C_PROTOTYPES): Likewise. * m4/regex.m4 (fp_WITH_REGEX): Likewise. * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed in m4/obsolete.m4. * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now AU_DEFUNed in m4/obsolete.m4. * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files. * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4, and obsolete.m4. Remove termios.m4 and winsz.m4. * aclocal.in (obsolete, obsolete_rx): Remove. (scan_configure): Don't grep for obsolete macros. * tests/defs (AUTOUPDATE): Define. * Makefile.am (maintainer-check): Check for misuses of autoupdate. * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from m4/obsolete.m4.
Alexandre Duret-Lutz 260f478c 2002-07-19T11:04:14 Fix for PR automake/338: * automake.in (seen_gettext_external): New variable. (handle_gettext): Conditionalize the intl/ check on $seen_gettext_external. Fix grep usage. (scan_autoconf_traces): Set $seen_gettext_external if `external' is passed to AM_GNU_GETTEXT. * tests/gettext.test, tests/gettext2.test: New files. * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.