Log

Author Commit Date CI Message
Akim Demaille e268e6db 2001-04-09T16:02:40 * tests/cond3.test (expected): Adjust.
Akim Demaille 5d74caca 2001-04-09T15:02:08 * automake.in (&handle_single_transform_list): Remove $xbase, unused. (&handle_source_transform): All the variables have conditions now, simplify. (&variable_delete): Admit an argument @conds.
Akim Demaille c1239533 2001-04-09T14:58:01 * automake.in ($source_suffix_pattern): Remove, unused. %extension_map seems to have replaced it.
Akim Demaille 62e23845 2001-04-09T14:56:30 * ext-compile.am: New file. * automake.in (&finish_languages): Output it. Require a C linker if there are several registered source suffixes. (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo' extensions, which are discovered in ext-compile.am. With the help from Robert Boehne.
Akim Demaille 1b0236cf 2001-04-09T14:53:44 * automake.in (&handle_compile): Extract from... (&get_object_extension): here. (&read_am_file): Call it. ($included_generic_compile, $included_knr_compile) ($included_libtool_compile): Remove. ($get_object_extension_was_run): New.
Akim Demaille 5871219c 2001-04-09T14:50:53 Use AM_CONDITIONAL and if/endif for AMDEP. * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP. * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading to a configure time if/endif), or to `FALSE' (static removal of the code). (&handle_dependencies): Adjust to use `AMDEP_TRUE'. * depend2.am: Use if/endif. Adjust the 101 tests that use dependencies so that they properly invoke aclocal before automake. They need to `see' `AM_CONDITIONAL([AMDEP], ...)'.
Akim Demaille 890258dc 2001-04-09T14:48:34 * tags.am: Fix missing leading tabs.
Akim Demaille 66108cdd 2001-04-09T14:47:46 * automake.in: Use simple quotes to define the _PATTERN variables to unobfuscate the regexps. ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
Akim Demaille 6037a7bc 2001-04-09T14:46:45 * automake.in (&rule_define): When you discover a suffix rules, register the extensions for .SUFFIXES. (&handle_texinfo): Don't register the suffixes. (&get_object_extension): Don't register suffixes, let them be discovered in depend2.am. (&handle_emacs_lisp): Depend on your lisp.am. * lisp.am: Include the rule &handle_emacs_lisp used to output.
Akim Demaille 4b36021d 2001-04-09T14:44:04 * subdirs.am: Don't define info related recursive targets. * texinfos.am: Do.
Akim Demaille 19d98150 2001-04-09T14:40:11 * subdirs.am (RECURSIVE_TARGETS): New variable. Use it. * automake.in (&handle_subdirs): Output it. (&file_contents_internal): Support value spread on several lines.
Akim Demaille 7400c62b 2001-04-09T14:38:35 * automake.in (&handle_man_pages): Rely on mans.am to define man%SECTION%dir and MANS. * mans.am: Do it.
Akim Demaille 24ebdf39 2001-04-09T14:34:38 * automake.in (&variable_dump): Use %var_type properly. (&macro_define): Enforce better overriding rules. Handle the special case that used to handle... (&define_pretty_variable): this. Hence, don't. The variables you define are owned by Automake. (&generate_makefile): PRE_INSTALL and co must not be defined *by the user*. (&variable_defined): Now independent from the owner. (&variable_output, &variable_pretty_output): Adjust to %var_type.
Akim Demaille 1caae397 2001-04-09T14:30:22 * automake.in (%var_was_plus_eq): Rename as... (%var_type): this. (%def_type): Remove. (&macro_define): %var_type may now hold `', `+', or `:'. (%conditional, %am_vars, %content_lines): Rename as... (%var_value, %var_comment, %var_line): these.
Akim Demaille b233ae18 2001-04-09T14:28:09 * automake.in (&variable_output): Admit a list of @CONDS. (&variable_pretty_output): New. (&define_pretty_variable): Use it. (&read_am_file, &file_contents_internal): Prepend a separator to $am_vars only if there is none yet. (&file_contents_internal): Rename $separator as $spacing to harmonize with &read_am_file.
Akim Demaille 8b9e044f 2001-04-09T14:23:09 * automake.in (&am_install_var): Transform DIST, and let the *.am files handle DIST_COMMON. * data.am, header.am, java.am, list.am, python.am, script.am: Set DIST_COMMON.
Akim Demaille 74d5d061 2001-04-09T14:06:40 * automake.in (%dist_common): Remove. (%configure_dist_common): Replace with... ($configure_dist_common): this. (&generate_makefile): Read the user file before using push_dist_common, as it sets DIST_COMMON, and read_am_file checks that no variable is defined before it is run. (&handle_texinfo): Don't handle DIST_COMMON, let your file do it. (&dist_cmp): Rename as... (&for_dist_common): this. (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do it. Adjust to $configure_dist_common. * configure.am, texi-vers.am: Set DIST_COMMON.
Akim Demaille d49b6d17 2001-04-09T14:05:10 * automake.in (&handle_aclocal_m4): Rename as... (&scan_aclocal_m4): this. Return the list of aclocal.m4 dependencies. (&handle_configure): Invoke it, and use it when loading... * configure.am: Template the rules to recreate aclocal.m4.
Akim Demaille ad16c21d 2001-04-09T10:37:41 More cvsignore.
Akim Demaille a88e0ccb 2001-04-09T10:36:44 More cvsignore.
Akim Demaille 280a1316 2001-04-09T10:34:43 Remove.
Akim Demaille 7522c427 2001-04-09T10:31:05 * automake.in (&get_object_extension): Use ansi2knr.am. * clean-kr.am, kr-extra.am: Remove, merged into... * ansi2knr.am: this new file.
Akim Demaille 3922628f 2001-04-09T10:07:17 * automake.in (&transform): Fix an incredible bug which was breaking the if/endif system. ($ELSE_PATTERN): Admit an optional argument.
Akim Demaille 3334f9a6 2001-04-09T10:06:38 * comp-vars.am: Remove, merged into... * compile.am: here. * automake.in (&get_object_extension): Adjust.
Akim Demaille 7aa9fca1 2001-04-09T10:02:40 * remake.am: Merge into... * configure.am: ... here. * automake.in (&handle_configure): Adjust.
Akim Demaille 610b8c5f 2001-04-09T10:00:50 * automake.in (&output_lex_build_rule): Output this... * lex.am: New file.
Akim Demaille 3727a57d 2001-04-09T09:58:57 * automake.in (&condition_negate): New. (&variable_conditions_permutations): Use it. (&read_am_file, &file_contents): Use it on `else' clauses to support `if FALSE'. (&output_yacc_build_rule): Output this... * yacc.am: New file.
Akim Demaille 6ed11d3c 2001-04-09T09:55:12 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR. (&handle_dist): Don't. (&handle_clean): Don't handle config.status here, let... * clean.am: ... do it. * distdir.am: Adjust.
Akim Demaille de417da1 2001-04-09T09:54:14 * automake.in: Use strict vars and subs. Declare `%require_file_found'. (&handle_source_transform, &make_paragraphs): Declare my variables.
Akim Demaille 40787818 2001-04-09T09:50:33 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, * progs.am, python.am: Use if/endif instead of ?INSTALL?. * java.am (_am_installdirs): Be sure to set it.
Akim Demaille f4c13485 2001-04-09T09:49:22 * automake.in (&make_condition): Return '#' when FALSE. (&conditional_string): Return FALSE, not '#' in the corresponding cases. (&file_contents_internal): Adjust. (&check_variable_defined_unconditional): Dump the guilty variable.
Akim Demaille 1bad33bb 2001-04-09T09:47:18 * distdir.am: Use and abuse of if/endif. * scripts.am: Using if/endif with variables is fine.
Akim Demaille e24edb92 2001-04-09T09:46:54 * automake.in (&make_paragraphs): Extract from &file_contents. Make it more robust than the previous RE based scheme. (&file_contents): Use it.
Akim Demaille cea28392 2001-04-09T09:45:02 * tests/yacc2.test: Don't define several times a variable, as automake complains.
Akim Demaille 2f7401af 2001-04-09T09:43:56 * automake.in (&handle_source_transform): Fix pr72: don't define $linker if there are no @files.
Akim Demaille 548e3c16 2001-04-09T09:42:02 Avoid reading twice header-vars.am as now macro_define complains. * automake.in (&define_standard_variables): Don't output the variables. (&read_main_am_file): Output first user variables, then Automake variables. Don't call twice &define_standard_variables. Save variable comments in $am_vars. (&variable_output): New. (&file_contents_internal): New. Save variable comments in $am_vars. (&file_contents): Use it.
Akim Demaille e42d1803 2001-04-09T09:36:49 * automake.in (&macro_define): The user is allowed to override a value if it was set by Automake, or if it was found in AC_SUBST.
Akim Demaille ed431311 2001-04-09T09:34:16 * automake.in (&handle_source_transform): Better locality of the variables. Use `next' to skip nonexistent variables.
Akim Demaille 97838be7 2001-04-09T09:33:49 * automake.in (&variable_dump): If a variable is undefined, say it. (&check_ambiguous_conditional): Give finer error messages. (&macro_define): Check that a `+=' variable is not set with `='. Check for ambiguous definitions each time you _set_ (even with `+=') a variable. (&read_main_am_file): Perform a deep copy of %conditional.
Akim Demaille 8320cac2 2001-04-09T09:08:46 (&variable_conditions): Don't include `FALSE' in the result.
Akim Demaille e9998a57 2001-04-09T09:07:47 * tests/defs, tests/depend3.test: Remove useless code.
Akim Demaille b7a25f01 2001-04-09T09:06:14 * automake.in (&handle_source_transform): Use &variable_conditions, don't read $conditional{$var}. (&variable_conditions_sub): When the call is the top level call, generate all the permutations of the conditions.
Akim Demaille fc0250b3 2001-04-09T09:03:11 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so that it does not get noticed twice by automake, which now complains for multiple definitions. * tests/vartar.test: s/INSTALL/install/g, automake now complains because we defined INSTALL.
Akim Demaille e1c3eb5a 2001-04-09T09:02:37 * automake.in (&generate_makefile) Use macro_define to define SOURCES and OBJECTS. (&variable_defined): Don't check for $conditional{VAR}{COND} as this would make perl create $condition{VAR}, which we don't want.
Akim Demaille 413dc639 2001-04-09T09:00:58 * automake.in (&variable_defined, &define_pretty_variable): Simplify code which used to handle the cases where not all variables were in %conditional. (&define_variable): Use &define_pretty_variable. (&variable_conditions_sub, &variable_value_as_list_worker) (&variable_value_as_list, &rule_define): Simplify syntax. (&read_main_am_file): Dump the guilty predefined variables.
Akim Demaille de08c4c5 2001-04-09T08:59:50 * automake.in (&variable_conditions_sub) (&variable_value_as_list_worker): Remove dead code which used to handle the cases where not all variables were in %conditional.
Akim Demaille eceb616c 2001-04-09T08:52:06 * automake.in (&handle_source_transform, &read_main_am_file): Simplify loops which were split in two parts, conditional vs unconditional variables.
Akim Demaille 6e816442 2001-04-09T08:50:40 Handle unconditional values of variables as conditioned by `TRUE'. * automake.in (%contents): Remove. (&generate_makefile, &handle_ltlibraries, &macro_define) (&read_am_file, &variable_defined, &variable_conditions_sub) (&variable_value, &variable_value_as_list_worker) (&variable_value_as_list, &define_pretty_variable) (&read_main_am_file): Use $conditional, not %contents. (&variable_conditions_permutations): Don't return TRUE and FALSE. (&variable_conditionally_defined): New. (&handle_dist): Use it. (&check_ambiguous_conditional): When multiply defined, specify under which condition. (&macro_define): Use it. (&variable_delete): New. (&read_am_file): Use it. (&am_install_var): Simplify, as all the variables are in %conditional now.
Tom Tromey 760c7425 2001-04-08T00:27:35 * tests/Makefile.am (XFAIL_TESTS): Added man.test. (TESTS): Likewise. * tests/man.test: New file.
Tom Tromey 77ee8e42 2001-04-07T23:13:42 2001-04-07 Raja R Harinath <harinath@cs.umn.edu> * depcomp (gcc3): Invert test condition.
Tom Tromey 15f98c4c 2001-04-07T20:22:07 * depcomp (gcc3, gcc): Don't assume $? will be set in `if' statement. Report from Larry Jones.
Tom Tromey 6dca2ddb 2001-04-07T20:15:47 2001-04-07 Raja R Harinath <harinath@cs.umn.edu> * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
Tom Tromey aa75823c 2001-04-01T23:45:49 * java.am (.PHONY clean-am): Removed trailing ":". From Per Bothner. Fixes PR automake/139.
Akim Demaille f22d1da9 2001-03-28T07:31:05 * program.am: Fix a stupid typo: now *all* (not none) the programs use `$(EXEEXT)'. Reported by Robert Boehne.
Akim Demaille 9bdde35f 2001-03-23T17:58:33 * automake.in (&read_am_file, &file_contents): Avoid name clashes on $cond.
Akim Demaille 3ae89d51 2001-03-23T17:54:05 * automake.in (&variable_conditionally_defined): Rename as... (&check_variable_unconditionally_defined): this. (&variable_dump): Fix the output. (&variable_defined, &macro_define): Since conditions are canonicalized, don't use a loop to look for a condition: read the hash. (&macro_define, &rule_define, &read_am_file, &file_contents): Rename $cond_string as $cond. * distdir.am (PACKAGE, VERSION): Remove; since they are already discovered via AC_SUBST, they now trigger a `defined twice' error.
Akim Demaille ddc6d9e6 2001-03-23T17:16:02 * automake.in (&handle_footer, &handle_installdirs) (&read_main_am_file): Don't read %contents directly, use &variable_value.
Akim Demaille c7ba9668 2001-03-23T17:12:44 * automake.in (&read_am_file): Define the variables in a single shot. Factor the $saw_bk code.
Akim Demaille 9cfb4cf1 2001-03-23T17:09:59 * automake.in (&read_am_file): Keep $cond_string up to date.
Akim Demaille 4ae0ed06 2001-03-23T17:09:02 * automake.in (&define_variable): Use &macro_define.
Akim Demaille b278e56f 2001-03-23T17:06:39 * automake.in (&macro_define): Don't lose the location if we redefine a variable. Don't push all the variables in @var_list, let... (&read_am_file, &file_contents): ... do it. (&define_pretty_variable): Use macro_define. (&am_install_var): Delete the value of variables being redefined to pacify &macro_define which checks that variables are not doubly defined.
Akim Demaille 0364b1ab 2001-03-23T17:03:19 * automake.in (&conditional_dump): Rename as... (&variables_dump): this. Use... (&variable_dump): this new sub.
Akim Demaille d9ec7f0b 2001-03-23T16:58:44 * automake.in (&file_contents): Maintain $cond_string sync with @cond_stack. Output rules only if not under `FALSE'. Define variables under $cond_string. * scripts.am: For the time being if/endif does not work properly with macros.
Akim Demaille f7157905 2001-03-23T16:54:42 * automake.in (IF_PATTERN): Unobfuscate the parens. (ENDIF_PATTERN): Allow a condition to be specified. (&file_contents): Use a @cond_stack. (&transform): At least for an easy transition, also transform %?FOO% and %!FOO%, as suggested by Lars. * scripts.am: First test bed for static if/endif use.
Akim Demaille dd2d93d3 2001-03-23T16:50:30 * automake.in (&file_contents): Use rule_define.
Akim Demaille 61372b38 2001-03-23T16:45:53 * automake.in (&macro_define): Don't rely on $1. Initialize the variable. Set its Automakism only if not defined or if given to the user. When concatenating values, insert a separator only if the value was not empty. (&read_am_file): When dumping the @var_list, skip Automake variables. (&file_contents): Use macro_define.
Akim Demaille 17bfcc98 2001-03-23T16:40:13 * automake.in (&rule_define): Extract from... (&read_am_file): here.
Akim Demaille 753f6e2d 2001-03-23T16:37:47 * automake.in (&macro_define, &read_am_file): More work for the former from the latter. Reorganize the latter.
Akim Demaille 326ca94a 2001-03-23T16:34:32 * automake.in (&macro_define): Extract from... (&read_am_file): here.
Akim Demaille da5f3d1a 2001-03-23T16:27:19 * automake.in (%am_var_defs): Replace with... (%var_is_am): this. (&handle_installdirs, &variable_value_as_list_worker, &read_am_file) (&file_contents, am_primary_&prefixes): Adjust. (&variable_defined, &define_variable): The actual semantics is `user defined'. (&read_main_am_file): Assert the var is user defined when outputting @var_list.
Akim Demaille eedc18e1 2001-03-23T16:23:53 * automake.in (read_am_file): TRUE and FALSE are predefined conditionals. (&by_condition): Adjust. (&conditional_string): Recognize `TRUE' and `FALSE'. (&make_condition): Use it. * m4/cond.m4: Reject TRUE and FALSE as conditionals. * automake.texi (Conditionals): Adjust. * tests/cond9.test: s/FALSE/WRONG/.
Pavel Roskin eb13c416 2001-03-12T15:42:36 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes now.
Akim Demaille 678f62bc 2001-03-12T11:15:13 * automake.in (&variable_conditions_permutations): Separate the conditions. * tests/cond3.test: Improve the sed expression.
Pavel Roskin cdc5e7f5 2001-03-09T22:24:20 * Makefile.am (maintainer-check): Scan all *.am files and tests for invocations of `rm' without `-f'. * tests/mclean.test: Adjusted to prevent triggering the above test.
Pavel Roskin 8c3aa892 2001-03-09T22:08:46 * Makefile.am (maintainer-check): Scan all *.am files and tests for invocations of `rm' without `-f'. * tests/mclean.test: Strengthen to prevent triggering the above test.
Tom Tromey 1659cf71 2001-03-09T22:02:32 * automake.in (scan_one_autoconf_file): Fixed comment to avoid maintainer-check failure.
Akim Demaille b0ef40c5 2001-03-09T19:17:40 * tests/cond3.test: Strengthen.
Akim Demaille a11fd402 2001-03-09T16:17:05 * automake.in (&conditional_string): Produce a unique string characterizing a condition stack. (&conditional_same): Remove, comparing two strings is now enough. (&variable_defined): Adjust. (&read_am_file): Use conditional_string.
Akim Demaille 0e53159e 2001-03-08T13:23:18 * automake.in: Use -w. Normalize all use of `$lang . '-foo'' into `"$lang-foo"'. (&parse_arguments): Support --Werror and --Wno-error as a temporary hack until --warning/-W is properly implemented. (&handle_single_transform_list): Prototype. Be sure to define $directory. Use `exists' instead of testing the value of a maybe undefined hash value. (&add_depend2, &handle_configure, &handle_footer, &file_contents) (&handle_factored_dependencies): Use defined values. (&scan_one_autoconf_file): Save $_. * tests/lex2.test, tests/sinclude.test, tests/suffix3.test: Run automake with --Wno-error.
Akim Demaille 54ae7487 2001-03-07T19:09:44 * automake.in (&handle_all): Use an array instead of a scalar for local_headers. Get rid of all-redirect: let `all' be that target.
Akim Demaille ff4faf0a 2001-03-07T18:39:10 * automake.in (&handle_merge_targets): Ventilate its non `all' related content into... (&generate_makefile): here. (&handle_merge_targets): Rename as... (&handle_all): this. Remove a useless `if': `@all' is obviously not empty, since it contains at least the `basename ($makefile)' which has just been unshifted.
Akim Demaille 353857b4 2001-03-07T18:37:06 * automake.in, aclocal.in: Backquote is inert in double quotes.
Akim Demaille 32dcb427 2001-03-06T18:24:59 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .' into `grep -v ...'.
Pavel Roskin 775d0c25 2001-03-06T18:12:33 * java.am: Use `rm -f' instead of `rm'.
Akim Demaille 55d91ba2 2001-03-06T17:56:55 * automake.in (&push_dist_common): Simplify.
Tom Tromey e619166e 2001-03-06T17:25:36 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de> * ltlib.am: Replaced spaces with tab.
Akim Demaille c2ba25c0 2001-03-06T15:05:37 Update.
Pavel Roskin e5a1edef 2001-03-06T14:56:11 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's fixed now.
Akim Demaille 93229961 2001-03-06T14:44:44 * header.am, scripts.am: Use ?INSTALL? in the install and uninstall rules.
Pavel Roskin db434bde 2001-03-06T00:48:20 * tests/copy.test: Never use `rm' without `-f' - it may ask questions, notably for read-only files during `make distcheck'. * tests/insh.test: Likewise. * tests/installsh.test: Likewise. * tests/symlink.test: Likewise. * tests/symlink2.test: Likewise. * tests/symlink3.test: Likewise.
Pavel Roskin 49182dcb 2001-03-05T22:14:08 Rebuild.
Pavel Roskin 67f55de8 2001-03-05T22:11:05 * noinstdir.test: New test. * tests/Makefile.am (TESTS): Add noinstdir.test. (XFAIL_TESTS): Likewise.
Akim Demaille 60d9bbc8 2001-03-05T19:29:16 * automake.in (&handle_options): Change the RE so that the third part of the versions always exist. (&file_contents): Don't pass uninitialized values to &transform.
Akim Demaille fdbfb151 2001-03-05T19:11:31 * automake.in (&file_contents): Require a hash as second argument. Adjust callers.
Akim Demaille 80206c9e 2001-03-05T18:56:45 Always use hashes with &file_contents. * automake.in (&handle_texinfo): texibuild.am does not need TEXINFODIR. texinfos.am wants only TEXICLEANS. (&handle_dist, &add_depend2, &handle_clean): Replace $xform with %transform. * texinfos.am: Adjust.
Akim Demaille a939c6ff 2001-03-05T18:47:49 * automake.in (&handle_programs, &handle_libraries, &handle_tags) (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust. (&am_install_var): Forget about `-clean'. Transform ?INSTALL?. Always output the *.am file. * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am: Remove, merged into the corresponding *.am file. * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with ?INSTALL?.
Pavel Roskin fb3e68bc 2001-03-05T17:05:26 Rebuild.
Pavel Roskin ab63b14c 2001-03-05T16:57:52 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
Akim Demaille 6d31be95 2001-03-05T15:13:55 Comment changes.
Akim Demaille 65e17bce 2001-03-05T15:03:00 If OBJEXT and EXEEXT are not set, provide a default value, and use them unconditionally. * automake.in (&generate_makefile): Provide default values for EXEEXT and OBJEXT. (&get_object_extension, &finish_languages) (&handle_single_transform_list, &handle_programs, &add_depend2) (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with them, they are defined. * compile.am, depend2.am, program.am, progs.am: Likewise. * remake-hdr.am: Fix a typo. * tests/cxxo.test, tests/fo.test, tests/implicit.test, * tests/interp.test, tests/subobj.test, tests/subobj2.test, * tests/suffix2.test: Adjust.