| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
$(PACKAGE_BUGREPORT) address on failure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
subshell. From Alexandre Oliva.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
(&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
(&am_primary_prefixes): Use `map' rather than `grep'.
|
| |
|
|
|
|
| |
* depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
(AM_PROG_STRIP): Commented out.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* header-vars.am (INSTALL_HEADER): New macro.
|
|
|
|
| |
with forced relink.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
First cut at Python support (untested).
A few miscellaneous bug fixes.
|
| |
|
| |
|
| |
|
|
|
|
| |
ansi4.test.
|
|
|
|
| |
corresponding _SOURCES variable exists. Fixes empty2.test.
|
|
|
|
| |
space. Fixes specflags.test.
|
| |
|
|
|
|
|
|
| |
libtool. Define ltcompile and ltlink at outermost scope in
function.
* libtool.am (.c.lo): Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
maintainer).
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
including compile.am.
* compile.am (.c.o): Added @MINUSO@.
(.c.obj): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
tracking when files are created in subdirs. Error if object in
subdir has `..' component.
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
|
|
|
|
|
| |
substitution.
(scan_one_configure_file): Likewise.
|
|
|
|
|
|
|
| |
* progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
* header-vars.am (INSTALL_PROGRAM): Removed
AM_INSTALL_PROGRAM_FLAGS.
(INSTALL_STRIP_FLAG): New macro.
|
|
|
|
|
|
|
| |
$one_name, not $one_hdr. Reported by Erez Zadok. Fixes
confh2.test.
(handle_configure): Compute relative path to input header
correctly in all cases.
|