summaryrefslogtreecommitdiff
path: root/TODO
Commit message (Collapse)AuthorAgeFilesLines
* * lib/Automake/Channels.pm: New file.Alexandre Duret-Lutz2002-07-061-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
* * automake.in (process_option_list): Recognize std-options.Alexandre Duret-Lutz2002-06-171-4/+0
| | | | | | | | | | (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.
* * TODO: Undust.Alexandre Duret-Lutz2002-05-071-58/+15
|
* Fix for condd.test (conditional `+='):Alexandre Duret-Lutz2002-05-061-91/+0
| | | | | | | | | | | | | | * 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.
* * lib/am/check.am: Show skipped tests. Display theAlexandre Duret-Lutz2002-04-251-2/+0
| | | | $(PACKAGE_BUGREPORT) address on failure.
* * missing: Updated.Tom Tromey2002-01-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,Akim Demaille2001-09-221-0/+23
| | | | | | | | | | | | | | | Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am, lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4, m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4, m4/termios.m4, m4/winsz.m4: Add copyright notice. * INSTALL, lib/INSTALL: Upgrade to latest autoconf version, which has a copyright notice.
* * automake.in (am_print_error): New function.Tom Tromey2001-07-271-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (am_error): Use it. (am_file_error): Likewise. (am_line_error): Likewise. (am_conf_error): Likewise. (am_conf_line_error): Likewise. * automake.texi (Options): Document no-exeext. * automake.in (handle_options): Recognize no-exeext. (rule_define): Handle no-exeext. * tests/Makefile.am (TESTS): Added new file. * tests/exeext2.test: New file. * automake.in (make_input_list): Removed. (scan_autoconf_config_files): Don't add to make_input_list. (scan_one_autoconf_file): Don't use make_input_list. (scan_autoconf_files): Use make_list, not make_input_list. (scan_autoconf_files): Likewise. * automake.in (seen_exeext): Removed. (generate_makefile): Don't define EXEEXT or OBJEXT. (scan_one_autoconf_file): Don't check for AC_EXEEXT. (am_install_var): Don't check $seen_exeext. (handle_programs): Likewise. (rule_define): Allow x to override x$(EXEEXT), for now. (file_contents_internal): Only define rule if rule_define allows us to. * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
* * lib/missing (makeinfo): Redirect stdout and stderr outsideTom Tromey2001-07-141-0/+7
| | | | subshell. From Alexandre Oliva.
* Fix for yacc5.test:Tom Tromey2001-06-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/ylwrap: Changed usage. * lib/am/yacc.am: Rewrote to use new substitutions. * lib/am/lex.am: Likewise. * automake.in (handle_languages): Skip files whose language doesn't have a compiler. Handle `define_flag' attribute. Changed '$' to "\$" to aid Emacs fontification. (struct): Added `rule_file'. Removed `derived_autodep'. Added `_target_hook' and `define_flag'. (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile', and `compiler' attributes. Removed `linker', `derived_autodep', and `ansi' attributes. Added `define_flag'. (yacc, yaccxx): Added `_target_hook'. (saw_extension): Count number of times extension seen. (count_files_for_language): New sub. (saw_sources_p): Use it. (handle_single_transform_list): Allow language rewrite function to return a new source extension. Call target_hook. (yacc_sources, lex_sources): Removed. (initialize_per_input): Don't initialize yacc_sources or lex_sources. (lang_yacc_rewrite): Rewrote. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (output_yacc_build_rule): Removed. (output_lex_build_rule): Removed. (lang_yacc_finish): Removed build rule generation. (lang_lex_finish): Likewise. (DASH_D_PATTERN): New global. (lang_yacc_target_hook): New function. (_target_hook): New function. (register_language): Default `define_flag'. * tests/yacc5.test: Updated test. * tests/yacc4.test: Exit with status 77 if bison doesn't work. * tests/yacc3.test: Remove bogus `make' invocation. Added test for all YFLAGS variables.
* * automake.in (variable_conditions_sub): Move parent-only codeTom Tromey2001-06-031-3/+0
| | | | | | | | from here... (variable_conditions): ... to here. (variable_conditions_sub): Include this variable's conditions in the resulting condition list. * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
* * automake.texi (A Program): Mention `check' prefix.Tom Tromey2001-05-291-33/+7
| | | | | | | | | (Program and Library Variables): New node. (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and AM_MAKEINFOFLAGS. (etags): Mention per-program flags. (Tests): Document AM_RUNTESTFLAGS; added sectioning; more updates.
* * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)Akim Demaille2001-05-131-71/+130
| | | | | (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp) (&am_primary_prefixes): Use `map' rather than `grep'.
* Update.Akim Demaille2001-03-061-0/+3
|
* 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>Tom Tromey2001-03-021-0/+3
| | | | * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
* * automake.in (&initialize_per_input): %targets_conditionals isAkim Demaille2001-02-251-9/+0
| | | | | | | | new. (&read_am_file): When slurping a rule, set the target related variable, and no variable related variable. (&file_contents): Likewise. * tests/vartar.test, tests/ctarget1.test: New.
* * Makefile.am (amfiles): Added texibuild.am.Tom Tromey2001-02-251-0/+3
| | | | | | | | * texibuild.am: New file. * tests/Makefile.am (TESTS): Added texinfo9.test. * tests/texinfo9.test: New file. * automake.in (handle_texinfo): Keep track of suffixes used. Give error if suffix unrecognized. Removed extraneous newline.
* * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.Tom Tromey2001-02-191-12/+0
| | | | | Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'. (AM_PROG_STRIP): Commented out.
* 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>Tom Tromey2001-02-171-0/+2
| | | | | | | * automake.in (unquote_m4_arg): New function. (scan_one_configure_file): Call unquote_m4_arg on AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h]) works.
* Add maintainer-clean.Akim Demaille2001-02-061-0/+28
|
* * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.Tom Tromey2001-02-041-0/+3
| | | | * header-vars.am (INSTALL_HEADER): New macro.
* * automake.in (handle_merge_targets): Allow parallel installAkim Demaille2000-10-191-1/+23
| | | | with forced relink.
* Moved some TODO items into GnatsTom Tromey1999-12-161-64/+3
|
* * depend2.am: Removed erroneous comment.Tom Tromey1999-12-141-38/+39
| | | | | | | | | | | | * automake.texi (Program variables): Document nostdinc. (Options): Likewise. * automake.in (get_object_extension): Respect nostdinc option. (handle_options): Recognize nostdinc. * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole substitution. * automake.in (read_am_file): Allow conditional includes. Fixes test condincl.test.
* Jumbo patch:Tom Tromey1999-11-221-1/+0
| | | | | First cut at Python support (untested). A few miscellaneous bug fixes.
* Merged from user-dep-gen-branch.Tom Tromey1999-11-211-0/+6
|
* TODO updateTom Tromey1999-11-201-0/+3
|
* TODO updateTom Tromey1999-11-011-0/+3
|
* * automake.in (get_object_extension): Fixed quoting bug. FixesTom Tromey1999-08-151-0/+10
| | | | ansi4.test.
* * automake.in (handle_source_transform): Mark prefix as seen ifTom Tromey1999-07-131-0/+2
| | | | corresponding _SOURCES variable exists. Fixes empty2.test.
* * automake.in (handle_single_transform_list): Added missingTom Tromey1999-05-191-0/+2
| | | | space. Fixes specflags.test.
* Meta updatesTom Tromey1999-05-131-3/+17
|
* * automake.in (finish_languages): Always use `-o $@' withTom Tromey1999-04-301-0/+3
| | | | | | libtool. Define ltcompile and ltlink at outermost scope in function. * libtool.am (.c.lo): Removed.
* * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.Tom Tromey1999-04-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor rewrite for clarity. (check_canonical_spelling): Prefer `$1' over `\1'. * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always use `-o $@'. (@LTOBJ@): Likewise. * automake.in (handle_single_transform_list): Don't print rule if doing dependency tracking and the file's language supports it. (initialize_per_input): Initialize lang_specific_files. (add_depend2): New function. (handle_dependencies): Use it. * automake.in (lang_ppf77_finish): Use lang_f77_finish. ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed to `PPF77COMPILE' to allow use of f77 and ppf77 in the same directory. (lang_ratfor_finish): Use lang_f77_finish. * compile.am (NOTDEPEND.c.o): Removed. (OBJEXT.c.obj): Likewise. * automake.in: Added `flags' attribute to all relevant languages. (handle_single_transform_list): Handle per-derived-object flags. Changed interface and all callers. (handle_built_sources): Don't call handle_single_transform_list. Added `compile' and `compiler-name' attribute to all relevant languages. (finish_languages): Define compiler variables here. (lang_cxx_finish): Don't call define_compiler_variable. Don't define flag variable or .o rules. Don't add to @suffixes. (lang_f77_finish): Likewise. (lang_ppf77_finish): Likewise. (lang_objc_finish): Likewise. (lang_java_finish): Likewise. (finish_languages): Define flag variable here. Added `output-arg' attribute to all relevant languages. (finish_languages): Define `.o' rules here. (finish_languages): Put extension on @suffixes. (get_object_extension): Don't transform NOTDEPEND or MINUSO.
* * automake.in: Treat `.zip' and `.jar' files as Java.Tom Tromey1999-04-241-0/+2
|
* * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.cTom Tromey1999-04-121-0/+2
| | | | maintainer).
* * automake.in (lang_sub_obj): New function.Tom Tromey1999-04-111-0/+2
| | | | | | | | | | (lang_cxx_rewrite): Use it. (lang_asm_rewrite): Likewise. (lang_objc_rewrite): Likewise. (lang_cxx_finish): Add `-o $@' to all C++ rules. (lang_asm_finish): Add `-o' to suffix rules when appropriate. (lang_objc_finish): Add `-o $@' to all ObjC rules. (lang_java_finish): Likewise.
* * automake.in: Only register `asm' once.Tom Tromey1999-04-111-0/+2
| | | | | | | | | | | | (lang_asm_finish): Put assembly suffixes on @suffixes. * libtool.am (.s.lo): Removed. (.S.lo): Likewise. * automake.in (lang_asm_finish): Handle libtool. * libtool.am (.c.o): Always pass -c to libtool. * automake.in (lang_yacc_rewrite): Handle sources in subdirs. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise.
* Assembly code no longer included by default:Tom Tromey1999-04-111-4/+3
| | | | | | | | * compile.am (.s.o): Removed. (.S.o): Likewise. * automake.in: Register `asm' language. (lang_asm_finish): Generate suffix rules for assembly. (get_object_extension): Don't add `.s' or `.S' to suffix list.
* * automake.in (get_object_extension): Substitute @MINUSO@ whenTom Tromey1999-04-111-0/+1
| | | | | | including compile.am. * compile.am (.c.o): Added @MINUSO@. (.c.obj): Likewise.
* First cut at allowing objects in subdirectories:Tom Tromey1999-04-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | * m4/Makefile.am (m4data_DATA): Added minuso.m4. * Makefile.am (dist_script_DATA): Added compile. * m4/minuso.m4: New file. * automake.in (initialize_global_constants): Added compile to common_files. (seen_cc_c_o): New global. (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen. (handle_options): Recognize `subdir-objects' option. (lang_c_rewrite): Added directory argument. (lang_yacc_rewrite): Likewise. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (handle_single_transform_list): Pass directory to _rewrite function. Generate dependencies for dirstamp files for each .o; it is just the rules we want to create once. (lang_c_rewrite): Handle `subdir-objects' option. (lang_c_rewrite): Require `compile' program. * compile: New file.
* * automake.in (handle_single_transform_list): Handle dependencyTom Tromey1999-04-101-3/+0
| | | | | tracking when files are created in subdirs. Error if object in subdir has `..' component.
* * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.Tom Tromey1999-04-101-2/+0
|
* * automake.in (quote_cond_val): Quote \n.Tom Tromey1999-03-311-6/+2
| | | | | | | | (unquote_cond_val): Unquote \n. (read_am_file): If line ends with `\', preserve it and add a newline. (read_main_am_file): In conditional case, put conditional text at beginning of each generated line.
* 1999-02-01 Thomas Tanner <tanner@gmx.de>Tom Tromey1999-03-221-0/+1
| | | | | | * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a warning when AM_PROG_LIBTOOL was found * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
* Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.Tom Tromey1999-03-211-0/+12
| | | | | | | | | | | | | * automake.in (define_standard_variables): New sub. (read_main_am_file): Use two passes to scan standard variables. (read_am_file): Don't special-case configure variables with `+='. (initialize_per_input): Initialize %var_was_plus_eq. (read_am_file): Set var_was_plus_eq element correctly. (define_variable): Give error if variable assigned with `+=' is internally defined. (initialize_per_input): Initialize %am_var_defs. (file_contents_with_transform): Set element in %am_var_defs. (read_am_file): Use %am_var_defs.
* * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,Tom Tromey1999-03-111-0/+2
| | | | m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
* * automake.in (obsolete_macros): Use empty string to indicate noTom Tromey1999-02-111-0/+8
| | | | | substitution. (scan_one_configure_file): Likewise.
* * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.Tom Tromey1999-02-021-0/+3
| | | | | | | * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG. * header-vars.am (INSTALL_PROGRAM): Removed AM_INSTALL_PROGRAM_FLAGS. (INSTALL_STRIP_FLAG): New macro.
* * automake.in (handle_configure): Compute $header_dir based onTom Tromey1999-01-141-0/+13
| | | | | | | $one_name, not $one_hdr. Reported by Erez Zadok. Fixes confh2.test. (handle_configure): Compute relative path to input header correctly in all cases.