kc3-lang/automake/automake.in

Branch :


Log

Author Commit Date CI Message
246b8c09 2002-07-16 21:51:52 * automake.in (handle_single_transform_list): Typo.
91c2a87f 2002-07-16 21:46:59 * lib/Automake/Channels.pm (dup_channel_setup, drop_channel_setup): New functions. (@EXPORT): Add them. * automake.in (generate_makefile): Call dup_channel_setup and drop_channel_setup. (process_option_list): Recognize --warnings and -W options. * automake.texi (Options): Document them. * tests/pluseq5.test: Check that -Wno-obsolete will disable the warning. * tests/warnopts.test: New file. * tests/Makefile.am (TESTS): Add warnopts.test.
e5b84c37 2002-07-12 08:00:57 * automake.in: Register warning channel `gnu'. (set_strictness): Turn on `gnu' in --gnu and --gnits. (usage): Mention the `gnu' category. (%var_is_am): Replace by ... (%var_owner): ... this, which uses ... (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants. Adjust all uses of %var_is_am. (handle_languages): Warn about user variables being overriden. (require_variables): Also check %configure_vars for the existence of a required variable. * automake.texi (Invoking Automake): Document -Wgnu. * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when we test YFLAGS. * tests/gnuwarn.test: New file. * tests/Makefile.am (TESTS): Add gnuwarn.test.
902d3423 2002-07-11 20:10:39 Fix for PR automake/337: * automake.in: Redefine the `flags' attribute of each language as a list. List CPPFLAGS in `flags' when it is used. (register_language): Set the default value of 'flags'. (handle_single_transform_list): Adjust to treat `flags' as a list. (handle_languages): Likewise. Don't bother defining the configure variable for `c', this is always done since we trace configure.ac. * automake.texi (etags): Use per-executable _CPPFLAGS. (Program and Library Variables): Mention maude_CPPFLAGS. (Program variables): Likewise. * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS. * tests/specflags9.test: New file. * tests/Makefile.am (TESTS): Add specflag9.test.
76b1f9e4 2002-07-10 21:21:27 * automake.texi: Use `variable' instead of `macro' everywhere it designates a Makefile variable. (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are `flags', not `macros'. `Macro' means something else in Texinfo. Also show how to use these flags. * automake.in (file_contents_internal): s/macro/variable/ in error message.
5a86371e 2002-07-10 20:30:24 * automake.in (parse_arguments): Call Getopt twice: once to catch --help or --verbose, and once to process the other arguments. (usage, verbose): Always exit 0, ignoring $exit_code (which anyway should always be 0 because of the change to parse_arguments). * tests/Makefile.am (TESTS): Add getopt.test. * tests/getopt.test: New file.
1896ef84 2002-07-10 05:36:46 For PR automake/286: * automake.texi (Tags): Document ctags. * automake.in (handle_tags): Handle ctags. * lib/am/tags.am (CTAGS): New macro. (CTAGSFLAGS): Likewise. (ctags): New target. (distclean-tags): Remove `tags'.
1415d22f 2002-07-09 20:46:19 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS instead of INCLUDES. * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
31057f9f 2002-07-09 19:45:10 * automake.in (usage, version): Honor $exit_code. (parse_arguments): Use fatal.
9e717671 2002-07-09 19:12:32 * automake.texi (Invoking Automake): Document WARNINGS. * automake.in (switch_warning, parse_WARNINGS): New function. (setup_warnings): Rename to ... (parse_warnings): ... this. Move most of the code to switch_warning. Accept a comma separated list of categories. * tests/vars2.test: Use a comma separated list of warning categories.
f03fe6ea 2002-07-08 19:41:24 Fix for PR automake/291: * automake.in (macro_define): Catch variable names starting with `_'. (handle_installdirs): Rename _am_installdirs to am__installdirs. * lib/am/data.am, lib/am/install.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Likewise. * tests/canon5.test: Use -Wno-portability. * tests/vars2.test: New file. * tests/Makefile.am (TESTS): Add vars2.test.
285aebe9 2002-07-07 22:38:46 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler> conditional. * automake.in (handle_languages): Compute FASTDEP. * lib/am/depend2.am: Added %FASTDEP% mode.
c037f202 2002-07-06 10:21:36 * lib/Automake/Channels.pm: New file. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm. * automake.in: Use Automake::Channels and register some channels for errors and warnings. ($exit_status): Remove, replaced by Channels::$exit_code. (%required_variables): Remove, Channels will filter-out duplicates itself. (initialize_per_input): Call reset_local_duplicates. (prog_error): Adjust to all `msg'. (setup_warnings): New functions. (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY, call setup_warnings. (usage): Update usage text accordingly. (macro_dump, macros_dump): Return the dump as a string instead of printing it. (am_install_var) <$warned_about_extra>: Remove, Channels will filter-out duplicates itself. (set_strictness): Turn on/off channels for each stricness. (err, fatal, err_var, err_target, err_am, err_ac, msg_var, msg_target, msg_am, msg_ac, reject_var, reject_target, verb): New functions, to replace ... (print_error, am_error, file_error, macro_error, target_error, conf_error, file_warning): ... these functions. Remove them. Update all the code to use the new functions. The rough correspondance is am_error -> err_am file_error -> err macro_error -> err_var target_error -> err_target conf_error -> err_ac die -> fatal macro_error if defined -> reject_var target_error if defined -> reject_target verbose -> verb * automake.texi (Invoking Automake): Document -W and --warnings. Remove the documentation for --Werror and --Wno-error. * tests/defs: Use -Werror, no --Werror. * tests/exeext2.test: Test that the error message is enabled with -Wobsolete. * tests/output5.test: Rewrite to test that Automake complains when there is no Makefile specified. (The original test was succeeding for the wrong reason.) * tests/seenc.test: Don't use --Wno-error, there is no reason now that -Werror doesn't stop after the first error. * tests/subobj.test: Use --add-missing, and check that `compile' is installed and that Automake says so. * tests/subobj2.test: Don't create `compile'.
43fe16be 2002-07-03 18:50:04 * automake.in (am_macro_for_var): Add LIBTOOL. (ac_macro_for_var): Add RANLIB. (seen_libtool): Remove. (handle_libtool, lang_c_finish, define_compiler_variable, make_paragraphs): Use variable_defined ('LIBTOOL') instead of $seen_libtool. (handle_languages) <%transform>: Don't set 'LIBTOOL', it is already done in make_paragraphs. (handle_libraries): Simplify by requiring RANLIB with &require_variables_for_macro. (handle_ltlibraries): Simplify by requiring LIBTOOL with &require_variables_for_macro. (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and AM_PROG_LIBTOOL. * tests/libtool4.test, tests/library2.test: New files. * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
cb4b0671 2002-07-02 09:27:00 * automake.in (create, keyed_aclocal_warning): Delete, unused.
70aa1c0b 2002-07-01 16:17:36 * automake.in (ac_macro_for_var): Add YACC.
4fae2af0 2002-07-01 16:10:35 Handle multiple suffix rules with the same input extension. For PR automake/37. * automake.in (suffix_rules_default): New variable. (suffix_rules): Redefine as a hash of hashes of pairs. (initialize_per_input): Setup suffix_rules_default from suffix_rules on first call, an override suffix_rules with suffix_rules_default on following calls. (struct) <output_extensions>: New attribute. (register_language): Set the default for output_extensions. Call register_suffix_rule for each suffix. (derive_suffix, handle_languages): Adjust to the new definition of $suffix. (register_suffix_rule): New function. (rule_define): Call register_suffix_rule. * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test: New files. * tests/Makefile.am (TESTS): Add them.
f40d0b28 2002-06-30 22:44:13 * automake.in (am_macro_for_var, ac_macro_for_var, required_variables): New variables. (am_c_prototypes, seen_prog_lex, am_lispdir_location, pythondir_location): Remove. (initialize_per_input): Clear %required_variables. (require_variables, require_variables_for_macro): New functions. (handle_languages): Call &require_variables for $lang->config_vars. (handle_compile): Call &require_variables_for_macro for the ANSI2KNR and U variables. (handle_emacs_lisp): Call &require_variables for EMACS and libdir. (handle_python): Call &require_variables for PYTHON. Don't explicitly allow `python' as a prefix for PYTHON. (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES, AM_PATH_LISPDIR, and AM_PATH_PYTHON. (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and AMDEPBACKSLASH here... (define_configure_variable): ... do this here. (am_primary_prefixes): Probe the existence of ${X}dir using &require_variables_for_macro. If a standard prefix is not legitimate, say so. Ignore all configure variables. * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test, tests/lisp2.test, tests/python2.test: New files * tests/Makefile.am (TESTS): Add them. * tests/asm.test: Grep stderr. * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX. * tests/python.test: Make sure py-compile is installed.
b7402b79 2002-06-27 19:31:59 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR, COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants. Adjust all occurrences.
1156f6be 2002-06-27 19:19:47 * aclocal.in: Add local variables so that Emacs setups GNU style for perl-mode and cperl-mode. * automake.in: Likewise. (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN, ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN, INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "$" to please perl-mode.
631c0b77 2002-06-26 19:13:56 * automake.in (required_targets): Add ps and ps-am. (initialize_per_input): Reset them. (handle_texinfo_helper): Fill @pss_list, and define the PSS make variable. * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive. (ps, ps-am): New targets. * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention `make ps' and `make pdf'. (Texinfo): Document `make ps', `make pdf', and `make dvi'. (Extending): The `ps' and `pdf' targets support a `-local' version.
f254537b 2002-06-21 20:24:33 * automake.in: Register &lang_lex_target_hook for lex and lexxx. (lang_lex_target_hook): New function. * tests/lex3.c: Complete to check that maintainer-clean erases Lex's output. Reported by Flavien Astraud. This was lost on 2001-06-23 too.
ea756611 2002-06-21 19:59:40 * automake.in (lang_yacc_target_hook): Add $output to @maintainer_clean_files. This was lost on 2001-06-23. * tests/yacc7.test, tests/yacc4.test: Complete to check that maintainer-clean erases YACC's output files, respectively with and without `-d'. Reported by Flavien Astraud.
09bd5f35 2002-06-19 19:57:40 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now traced from configure.ac. * automake.in (macro_define): Don't accept to override an AC_SUBST or Automake variable in a new condition. * tests/cond23.test, tests/cond24.test: New file. * tests/Makefile.am (TESTS): Add cond23.test and cond24.test. Reported by Patrik Weiskirchre.
4825339f 2002-06-17 12:20:25 * automake.in (process_option_list): Recognize std-options. (handle_options): Enable std-options in gnits strictness. (am_install_var): If std-options, enable CK-OPTS section. * lib/am/scripts.am (installcheck-am): New target. * lib/am/progs.am (installcheck-am): New target. * tests/gnits2.test: New file. * tests/Makefile.am (TESTS): Add gnits2.test. * automake.texi (Gnits, Options): Document std-options.
29fa800c 2002-06-17 07:42:07 2002-06-17 Kevin Ryde <user42@zip.com.au> * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes, as generated by recent texinfo.tex.
1dbd1c76 2002-06-14 06:48:31 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ... (_AM_CONFIG_HEADERS): ... this. (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call AC_CONFIG_HEADERS. * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER. * tests/autoheader2.test: New file. * tests/Makefile.am (TESTS): Add autoheader2.test. Suggested by Raja R Harinath.
e8ba63c2 2002-06-13 08:48:11 * automake.in (check_gnu_standards): In --gnu mode, accept one of COPTING, COPYING.LESSER, or COPYING.LIB. (common_files): Add COPYING.LESSER. * automake.texi (Gnits): Document this.
cd47e617 2002-06-13 08:09:36 2002-05-03 Paolo Bonzini <bonzini@gnu.org> * automake.in (required_targets): Add the pdf and pdf-am targets. (initialize_per_input): Likewise. (scan_texinfo_file): Add pdf to @clean_suffixes. (handle_texinfo_helper): Output the .pdf dependencies, and define the PDFS variable. * lib/am/texinfos.am (TEXI2PDF): New variable. (pdf, pdf-am): New targets. (.PHONY): Add pdf, pdf-am, and pdf-recursive. * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
788a63b3 2002-06-08 17:22:28 * automake.in (lang_yacc_target_hook): Add rule to recover from the removal of $header. * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one output by lang_yacc_target_hook). * tests/yacc7.test: Try to recreate foo.h after its removal. * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate parse.h too. Reported by Bernd Jendrissek.
0375e193 2002-05-31 17:46:22 2002-05-31 Richard Boulton <richard@tartarus.org> Fix PR automake/326: * automake.in (define_objects_from_sources): Calculate the result in all conditions before passing this to subobjname to pick a name to store the result in. (subobjname): Expect a list of condition/value pairs as input. Combine this list and use it as the key to determine the variable name. * test/cond22.test: New file. * tests/Makefile.am (TESTS): Add cond21.test
1c41f7f3 2002-05-20 20:42:02 * automake.in (conditional_implies_one_of): Rename as ... (conditional_implies_any): ... this. * tests/pluseq9.test: Exercise another case with the new `C' variable. Suggested by Raja R Harinath.
91aa2b0b 2002-05-16 20:36:36 * automake.in (conditional_true_when): Return false if $WHEN == FALSE. (conditional_is_redundant): Simplify. (conditional_implies_one_of, variable_not_always_defined_in_cond): New functions (macro_define): Reject appends if the variable is not defined in all conditions where `+=' applies. (invert_conditions): Rewrite. Before this patch, invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE") would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems wrong (these conditions implies "A_FALSE"). Now it outputs (), which just means the input conditions cover all cases. (variable_conditions_permutations): Never output FALSE conditions. * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA in the CHECK_FALSE condition to fix the test. * tests/pluseq5.test: Actually check the diagnostic. * tests/pluseq9.test: New file. * tests/Makefile.am (TESTS): Add pluseq9.test.
64aa6bf1 2002-05-14 14:12:21 Fix for PR automake/322: * automake.in (read_am_file): Rename $was_rule as $prev_state, and set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate. Handle comments continued by backslashes. * tests/comment6.test: New file. * tests/Makefile.am (TESTS): Add comment6.test. Reported by Braden N. McDaniel.
0292a032 2002-05-06 19:10:42 Erase stamps from the Makefile that generates them. * automake.in (handle_configure): Append each used stamp to @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this file is not used anymore. * lib/am/clean.am (distclean-generic): Don't erase stamp-h and stamp-h[0-9]*. * tests/subdir6.test: New file. * tests/Makefile.am (TESTS): Add it.
e08fb788 2002-05-06 06:51:05 Fix for condd.test (conditional `+='): * automake.in (%appendvar): New. (initialize_per_input): Clear it. (macro_define): Handle += for variable defined in another condition. * automake.texi (Conditional Sources): Use conditional += in the example. (General Operation, Conditionals): Remove note about broken +=. * tests/cond21.test: New file. * tests/condd.test: Also test conditional append to a _SOURCE variable. Create missing directories. * tests/Makefile.am (TESTS): Add cond21.test. (XFAILS): Remove condd.test.
8d034c3b 2002-04-25 16:47:04 * automake.in (subobjname): Use the length of %subobjvar instead of $subobjnamenum. (subobjnamenum): Remove.
a598e3dc 2002-04-24 07:36:00 Fix PR automake/315: * automake.in (subobjname): Rewrite to generate variable name unique for each content. (%substnums): Remove. (%subobjvar): New hash. (initialize_per_input): Clear %subobjvar. (define_objects_from_sources): Return the name of the variable defined, in addition to the linker. Call subobjname only once the content of the variable to define is known. (handle_source_transform): Adjust call to define_objects_from_sources. * tests/specflags8.test: Mention PR 315. * tests/subobjname.test: New file. * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test. (TESTS): Add subobjname.test.
7a3333dd 2002-04-19 20:54:45 Use 'case' statement to work around ${1+"$@"} problem with Zsh.
479bae5a 2002-04-19 10:21:34 * automake.in (initialize_per_input): Clear %require_file_found. (%require_file_found): Group the declaration with the other variables initialized by initialize_per_input. * tests/required.test: New file. * tests/Makefile.am (TESTS): Add it. Reported by Marius Vollmer.
c9c536af 2002-04-13 21:26:36 Enable traces; wipe out the old configure.in parser. * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of 'autoconf'. Honnor the $filename argument. (scan_autoconf_files): Don't call scan_one_autoconf_file. Always call scan_autoconf_traces. (scan_one_autoconf_file): Remove, with it associated regexes. (obsolete, obsolete_rx): Remove. (register_language, handle_languages): Remove the 'define_flag' support. Remove it from the struct and language definitions too. (unquote_m4_arg): Remove. * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They are now generated automatically. * aclocal.in (obsolete_macros): Don't mention obsolete_macros in automake.in. * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
cc811fde 2002-04-13 19:59:25 * tests/version6.test: New file. * tests/Makefile.am (TESTS): Add tests/version6.test. * automake.in (version_check): Return 0 on equality.
b9ccfe5e 2002-04-12 15:28:15 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR and AMDEPBACKSLASH. * tests/distcommon2.test: Use a full configure.in that calls AC_INIT. * tests/ext.test: Enable dependencies for OBJC. * tests/libobj.test, tests/libobj6.test, tests/libobj9.test: Delete. They tests for different flavors of $LIBOBJS assignments that wont be supported anymore. * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ. * tests/obsolete.test: Don't test Automake. * tests/suffix5.test: Require libtool. * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and libobj9.test.
2125bac3 2002-03-30 00:31:43 * automake.in (check_typos): Examine AM_LDFLAGS. Fixes PR automake/311.
ca3ac71a 2002-03-30 00:26:06 For PR automake/312: * lib/am/libtool.am (clean-libtool): Use LTRMS. * automake.in (handle_single_transform_list): When processing a libtool object, clean the ordinary object and register the directory. (libtool_clean_directories): New global. (initialize_per_input): Initialize it. (generate_makefile): Call handle_libtool later. (handle_libtool): Handle libtool_clean_directories. * tests/subobj9.test: New file. * tests/Makefile.am (TESTS): Added subobj9.test.
940f32f3 2002-03-20 22:27:11 Add support for two-dot versions. * tests/version5.test: New file. * tests/Makefile.am (TESTS): Add it. * automake.in (version_split, version_compare): New functions. (version_check): Rewrite using version_split and version_compare. (process_option_list): Adjust regex.
fe3b337a 2002-03-18 01:37:52 Fix for PR automake/295: * automake.texi (Invoking Automake): Deprecate --output-dir. * automake.in (usage): Don't document --output-dir. (output_directory): Don't initialize. (parse_arguments): Deprecate --output-dir.
54ad2a60 2002-03-11 17:24:13 automake.in (check_typos): Allow variables with reserved suffices (such as _LDFLAGS) and prefixes which aren't recognised if the variable is defined in configure.ac. Fixes acsubst.test.
dbee9334 2002-03-07 21:06:29 Fix for PR automake/303: * automake.in (version_check): Move the error message ... (process_option_list): ... here, so we can distinguish between global and local options.
1487d512 2002-03-05 21:34:15 Fix for PR automake/300: * tests/pr300-lib.test, tests/pr300-ltlib.test, tests/pr300-prog.test: New files. * tests/Makefile.am (TESTS): Add them. * automake.in (handle_ltlibraries): Strip nobase_ prefix to compute the directory. * lib/am/header-vars.am (install_sh_PROGRAM): New variable. * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable. (install-%DIR%LIBRARIES): Use it. Honor nobase_. (uninstall-%DIR%LIBRARIES): Honor nobase_. * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable. (install-%DIR%LTLIBRARIES): Use it. Honor nobase_. (uninstall-%DIR%LTLIBRARIES): Honor nobase_. * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable. (install-%DIR%PROGRAMS): Use it. Honor nobase_. (uninstall-%DIR%PROGRAMS): Honor nobase_. See also the fix for nobase.test on 2001-11-09.
e87d851a 2002-03-05 17:09:32 Fix for PR automake/294: * tests/dirforbid.test: New file. * tests/Makefile.am (TESTS): Add it. * automake.in (standard_prefix): New hash. (am_primary_prefixes): Forbid standard_prefixes which are not explicitely allowed. * automake.texi (Uniform): Remove FIXME.
dc529592 2002-03-05 14:34:36 (@common_files): Add config.rpath.
c03cf739 2002-02-25 11:00:35 * automake.in (scan_one_autoconf_file): Declare LEX_OUTPUT_ROOT and LEXLIB as configure variables when AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ... * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB definitions. Search %SOURCE% in $(srcdir). Use s||| instead of s/// in the sed invocation, to support filenames containing slashes. * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too. * tests/lex5.test, tests/yacc8.test: New files. * tests/Makefile.am (TESTS): Add them.
94ad2eec 2002-02-17 22:12:38 * automake.in (handle_lib_objects_cond): Tell the user to put global linker flags in AM_LDFLAGS, not LDFLAGS. * automake.texi (General Operation): AC_SUBST'ed variables override Automake's variables. (Uniform): More words and @refs. (Auxiliary Programs) <config.sub, config.guess>: Add URL. (etags): More explanations about the first example. (Invoking Automake): Mention autoreconf. More @refs. (Requirements): Mention AC_CONFIG_FILES. (Optional): AC_CHECK_TOOL will no longer install config.sub and config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES. (Invoking aclocal): aclocal no longer warn about duplicates. (Macros) <AM_INIT_AUTOMAKE>: More explanations. (Extending aclocal): Suggest using the output of `aclocal --print-ac-dir` to install third-party macros. (Alternative): Specify ordering of dist_, nodist_, and nobase_ prefixes. (A Program): Mention scripts. The global LDADD variable is not meant to hold link flags, suggest using AM_LDFLAGS instead. (Program and Library Variables) <maude_LIBADD, maude_LDADD>: _LIBADD and _LDADD are subject to the same restriction wrt to link flags. (Program and Library Variables) <maude_DEPENDECIES>: Is also derived from maude_LIBADD. (Program variables): Define AM_LDFLAGS. (Dependencies): Passing the no-dependencies option to AM_INIT_AUTOMAKE is prefered. (Scripts): Explain why automake is magically cleaned. Mention noinst_SCRIPTS and check_SCRIPTS. (Data): Use dist_ in Automake's example. (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION. Mention AC_CONFIG_FILES instead of AC_OUTPUT.
ae00c269 2002-02-01 20:40:48 Change per GNU coding standards: * aclocal.in (parse_arguments): Only mention most recent year in copyright output. * automake.in (version): Only mention most recent year.
9a91ea99 2002-01-24 08:17:38 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL as AC_CANONICAL_HOST (the former does not require the latter since Autoconf 2.50). * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip. * automake.texi (Requirements): Do not require STRIP to be defined by the user.
7aad1797 2002-01-23 20:53:28 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS). * automake.in (handle_languages): Compute and substitute %DEPDIRS%. * tests/pr224.test: Make sure .deps subdirectories are erased by distclean.
a419742c 2002-01-22 00:11:27 * automake.texi (Macros): Updated for new variable names. (Program and Library Variables): Likewise. (Assembly Support): Likewise. * m4/as.m4: Use CCAS and CCASFLAGS. * automake.in (asm): Use CCAS and CCASFLAGS.
2d2c1535 2002-01-21 13:55:28 * automake.in (&parse_arguments): Use a more GNUish error message on wrong options.
d35c37e9 2002-01-20 21:30:21 For PR automake/224: * tests/Makefile.am (TESTS): Added pr224.test. * tests/pr224.test: New file. * lib/depcomp: Fixed computation of depfile. * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR). * automake.in (handle_single_transform_list): Only reject `..' component for Java. Put dependencies in directory near object. (handle_languages): Set DEPBASE. Handle de-ansi-fication.
798dc980 2002-01-19 08:36:14 Fix for PR automake/204: * tests/pr204.test: New file. * tests/Makefile.am (TESTS): Add it. * automake.in (handle_single_transform_list): Don't distribute sources derived from non-distributed sources.
898dce9d 2002-01-18 23:08:27 Fix for PR automake/229: * tests/pr229.test: New file. * tests/Makefile.am (TESTS): Add it. * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN, AC_EMXOS2, and AC_MINGW32.
bf65104d 2002-01-18 22:20:28 For PR automake/288: * automake.in (lang_c_rewrite): Don't prepend directory to base if directory is `.'. Also, properly compute de_ansi_files entry in subdir-objects case * tests/Makefile.am (TESTS): Added ansi7.test. * tests/ansi7.test: New file.
c93a18e9 2002-01-18 21:50:40 * aclocal.in (parse_arguments): Added 2002. (write_aclocal): Likewise. (parse_arguments): Updated my email address. * automake.in (gen_copyright): Added 2002. (version): Likewise. Also, changed my email address.
b85334eb 2002-01-16 19:05:47 * Makefile.am (install-exec-hook): Use APIVERSION. * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from APIVERSION. * automake.in (perllibdir): Use APIVERSION. (libdir): Likewise. * aclocal.in (perllibdir): Use APIVERSION. (APIVERSION): New global. (parse_arguments): Use APIVERSION. * configure.in (APIVERSION): New subst. (pkgvdatadir): Use APIVERSION.
447ca35b 2002-01-15 23:54:14 * missing: Updated. * lib/missing: Match against `automake*' to pick up versioned automake. * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name. * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version variable. * lib/am/Makefile.am (amdir): Use pkgvdatadir. * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use pkgvdatadir. (scriptdir): Use pkgvdatadir. (installcheck-local): Likewise. * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir. * automake.in (perllibdir): Added VERSION. (libdir): Likewise. * aclocal.in (parse_arguments): Search versioned directory. Don't push unversioned directory unless it exists. (perllibdir): Added VERSION. (default_acdir): New global. * m4/Makefile.am (m4datadir): Added $(VERSION). * Makefile.am (install-exec-hook): New target. * configure.in (ACLOCAL): Search build directory. (pkgvdatadir): New subst.
6a8d042c 2002-01-14 00:29:31 2002-01-13 Tom Tromey <tromey@redhat.com> For PR automake/288: * automake.in (lang_c_rewrite): Set value for de_ansi_files entry to directory. (lang_c_finish): Likewise. Also, use directory information from de_ansi_files. 2002-01-13 Kevin Ryde <user42@zip.com.au> For PR automake/288: * tests/Makefile.am (TESTS): Added ansi6.test. * tests/ansi6.test: New file.
d65df494 2002-01-12 09:24:24 (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
115dc54b 2002-01-09 15:30:07 * automake.in (file_contents_internal): Introduce two variables, $is_rule and $discard_rules to track rules spanning across multiple paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin where only the first paragraph of such a multi-paragraph rule was discarded; but it leaves many similar latent bugs (see the FIXMEs).
45c5938c 2002-01-09 08:52:09 * automake.texi (Complete, Macros, Options): Document the new style AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion. * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from AC_INIT if they are available there. Support a new call form where the only argument is an optional space-separated list of Automake options. * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove. (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS, _AM_IF_OPTION): New functions. * automake.in (AC_INIT_PATTERN): New variable. (global_options_line): Remove, use $seen_init_automake instead. (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE. Remove the AM_AUTOMAKE_OPTIONS handling. * configure.in: Modernize. * tests/defs (configure.in): Modernize. One third of the tests still overwrite the default configure.in and use an old AM_INIT_AUTOMAKE call, so that makes testing for both. * tests/nodefine.test, tests/nodefine2.test: New files. * tests/Makefile.am (TESTS): Add them.
e1e813c0 2002-01-08 21:14:47 (define_configure_variable): Propagate line numbers.
57a6006e 2002-01-07 20:25:24 * configure.in (AUTOMAKE): Create m4/amversion.m4. * m4/amversion.in: New file. * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ... (dist_m4data_DATA): ... this. (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_CURRENT_AUTOMAKE_VERSION. * automake.in (seen_automake_version): New variable. (scan_autoconf_traces, scan_one_autoconf_file, scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain when the version used in aclocal.m4 differs from Automake's. * tests/defs (ACLOCAL): Look in ../m4 too. * tests/installsh.test (ACLOCAL): Likewise. * tests/installdir.test (installdirs-local): Run $ACLOCAL.
3b52bf3f 2002-01-07 00:37:50 2002-01-06 Raja R Harinath <harinath@cs.umn.edu> * automake.in (handle_languages): Emit an automake internal variable 'am__depfiles_maybe'. * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
659dd9ae 2002-01-04 11:06:15 * automake.in (read_am_file): Thinko in "comment following trailing backslash" detection. * tests/comment5.test: Test for this too.
fb47c698 2002-01-02 16:01:23 Fix for PR automake/280: * automake.in (read_am_file): Warn about trailing backslashes in comments. * tests/comment5.test: New file. * tests/Makefile.am (TESTS): Add comment5.test. Reported by Enrico Scholz.
3e9f6b46 2002-01-02 15:52:31 * tests/comment4.test: New file. * tests/Makefile.am (TESTS): Add command4.test. Fix for comment4.test: * automake.in (read_am_file): Output leading comments only when encountering white lines.
35fbfd68 2002-01-01 22:01:08 * automake.texi (Extending): Mention uninstall-hook. (Install): Likewise. * automake.in (handle_factored_dependencies): Allow uninstall-hook.
2654aa59 2002-01-01 02:34:05 * automake.in (handle_single_transform_list): Indentation fix.
53e7d092 2001-12-31 09:19:33 * automake.in (common_files): Add COPYING.DOC. Suggested by Karl Berry.
87629508 2001-12-31 02:44:37 * automake.in (define_configure_variable): Define a user macro, not an automake macro. * tests/Makefile.am (TESTS): Added ar.test. * tests/ar.test: New file.
3e1f26e1 2001-12-31 01:01:03 For PR automake/211: * automake.in (object_compilation_map): New global. (initialize_per_input): Initialize it. (COMPILE_LIBTOOL): New constant. (COMPILE_ORDINARY): Likewise. * tests/Makefile.am (TESTS): Added pr211.test. * tests/pr211.test: New file.
511b20a5 2001-12-31 00:16:37 For PR automake/215: * configure.in: Use AM_AUTOMAKE_OPTIONS. * Makefile.am (AUTOMAKE_OPTIONS): Removed. * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS. (Options): Mention AM_AUTOMAKE_OPTIONS. * automake.in (global_options): New global. (global_options_line): Likewise. (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS. (scan_one_autoconf_file): Likewise. (process_option_list): New function. (handle_options): Use it. Also, handle global options. * m4/Makefile.am (m4data_DATA): Added options.m4. * m4/options.m4: New file.
87e61e0f 2001-12-30 23:46:28 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle installdirs-local. (?!SUBDIRS?installdirs): Likewise. * automake.in (handle_installdirs): Handle installdirs-local. * automake.texi (Extending): Mention installdirs. * tests/Makefile.am (TESTS): Added installdir.test. * tests/installdir.test: New file.
19d7ec2a 2001-12-30 20:54:21 2001-12-30 Alan Modra <amodra@bigpond.net.au> * automake.in (generate_makefile): Unlink output file before opening so that any hard links are not changed.
c246b4a9 2001-12-29 23:58:07 For PR automake/279: * automake.in (conditional_ambiguous_p): New sub. (handle_lib_objects_cond): Use it. (check_ambiguous_conditional): Use it. * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test. * tests/pr279.test: New file. * tests/pr279-2.test: New file.
7d1eee6b 2001-12-12 11:13:12 * automake.in (check_gnu_standards, check_gnits_standards): Pass "$am_file.am" as WHERE argument to require_file.
23266a96 2001-12-05 17:13:41 * automake.in (handle_dist): Distribute common files which do not exist but are target of a Makefile rule. * automake.texi (Dist): Update. * test/builtcommon3.test: New file. * test/Makefile.am (TESTS): Add distcommon3.test.
fc88b583 2001-12-04 21:58:49 * automake.in (macro_define): Fix misuse of chomp introduced on 2001-11-28.
346efe82 2001-11-28 12:31:34 * automake.in (append_comments): New. Extracted from read_am_file. Match 'n' with a regexp, don't use substr (the perlport man page says 'n' is not always one byte wide). (read_am_file): Use it. Always chomp $_. (file_contents_internal): Use append_comments. (macro_define): Don't treat the trailing 'n' with substr, use a regexp or chomp.
4e987bff 2001-11-26 15:30:34 * automake.in (&macro_define): Use $where when reporting an error, not the place where the macro was first defined since (i) if this is the first definition, then obviously it was not defined before, and (ii) anyway, the error is with the new definition, not the first.
970f608b 2001-11-25 20:30:54 * automake.in (scan_one_autoconf_file): Parenthesize qw// in foreach invocation, otherwise Perl5.005_03 complains about a syntax error. Reported by Yann Droneaud.
7e99ffc1 2001-11-19 12:32:39 * automake.in (scan_texinfo_file): Suppress FIXME about strange map behavior.
7b49149a 2001-11-16 10:33:15 * automake.in (define_objects_from_sources, handle_lib_objects_cond, value_to_list): Use quotemeta instead of the equivalant substitution.
e06d3e2e 2001-11-16 10:32:42 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the set of accepted characters in extensions. (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for internall use. * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
62c9742d 2001-11-16 10:30:16 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN to match suffix rules for known extensions, or call accept_extensions on suffixe rules for unknown extensions. (var_SUFFIXES_trigger): New function. (macro_define): Call var_VAR_trigger when $VAR is updated. * tests/suffix6.test, tests/suffix7.test: New files. * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
c81281a4 2001-11-16 10:27:51 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list): New variables. (handle_single_transform_list, lang_yacc_target_hook): Use KNOWN_EXTENSIONS_PATTERN. (accept_extension): New function. (register_language): Call it.
f391cff9 2001-11-16 10:25:58 At every place where an "$extension" is used, include the leading dot in the extension, don't hardcode it when building the filename. That will make any support for a dot-less extension easier to add. * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in backref groups. ("main"): Prepend a '.' to the supported extensions of all languages (e.g. 'c' becomes '.c'). (handle_languages, handle_single_transform_list, handle_lib_objects_cond, handle_headers, derive_suffix, rule_define): Do not add a dot before extensions, and include dots in matching groups. * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ... (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these. * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ... (%EXT%%DERIVED-EXT%): ... this. * lib/am/yacc.am: Likewise.
d3df5f55 2001-11-09 21:55:10 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
b0c1ea15 2001-11-09 17:17:47 Fix for distcommon2.test: * automake.in (automake_needs_to_reprocess_all_files): New variable. ("main"): Process all Makefiles a second time if $automake_needs_to_reprocess_all_files is set. (maybe_push_required_file): Return 1 or 0 whether the file is pushed or not. (require_file_internal): Set $automake_needs_to_reprocess_all_files if an added file can't be pushed. * test/distcommon2.test: New file. * test/Makefile.am (TESTS): Add distcommon2.test. From Pavel Roskin.
a8616960 2001-11-09 16:27:25 * automake.in (exec_dir_p): Remove. Replace by... (EXEC_DIR_PATTERN):... this. (am_install_var): Adjust to use EXEC_DIR_PATTERN.