| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
Adjust usage everywhere.
|
|
|
|
|
|
|
|
|
| |
common_sometimes, config_aux_path): Use qw to simplify definition.
(scan_texinfo_file) <clean_suffixes, predefined_index,
hidden_index>: Likewise.
(scan_autoconf_traces) <traced>: Likewise.
(scan_one_autoconf_file, check_gnu_standards, resolve_linker):
Likewise.
|
|
|
|
|
|
|
|
|
| |
derive_suffix. Don't use an hardcoded 'o' for object extensions.
(derive_suffix): Accept $OBJ as a second argument, don't
hardcode 'o'.
* tests/suffix5.test: New test.
* tests/Makefile.am (TESTS): Add suffix5.test.
Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
|
|
|
|
|
|
|
| |
$lang->target_hook for undefinied langages.
* tests/suffix4.test: New test.
* tests/Makefile.am (TESTS): Add suffix4.test.
Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
|
|
|
|
|
|
| |
use stamp-hin.
* lib/am/remake-hdr.am: Adjust.
* tests/confh.test: There is no stamp.hin.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Automake::General.
(&variable_delete): Rename as...
(¯o_delete): this, for consistency.
(&variable_assert): New.
(&variable_value_as_list, &variable_value_as_list_recursive_worker):
Use it.
|
|
|
|
| |
(create): Remove, unused.
|
|
|
|
| |
(&am_primary_prefixes): Use it.
|
|
|
|
|
|
|
|
| |
comment, return the list of prefixes actually used, not all the
possible prefixes for a primary.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
* Makefile.am (maintainer-check): Allow `local $_;'.
|
|
|
|
| |
(&variable_defined): Second argument is optional.
|
|
|
|
|
|
| |
hash.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
|
|
|
|
|
|
|
|
| |
as...
(@libtool_files, @libtool_sometimes): these.
($libtool_location): Remove, completely replaced by $seen_libtool.
(&require_file_internal): Do not run libtoolize, that's
autoreconf's job.
|
|
|
|
|
|
|
| |
Anchor regexps.
Remove dead comment.
(&initialize_per_input): Don't initialize several times the same
vars.
|
|
|
|
|
| |
sure to replace only words. AC_FUNC_OBSTACK was matching
M4_AC_FUNC_OBSTACK.
|
|
|
|
|
|
|
| |
(&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
(&define_pretty_variable, &read_am_file, &file_contents_internal)
(&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
`join (' ', @list)' into `"@list"'.
|
|
|
|
|
|
|
|
|
|
| |
(@config_headers): Now contains the actual spec used in
AC_CONFIG_HEADERS.
(&split_config_file_spec): New.
(&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
(&scan_one_autoconf_file): Adjust.
(&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
AM_CONFIG_HEADER.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
invocation syntax for config files and headers.
autoheader needs the name of the file to create, not from what it
must be created, hence CONFIG_HEADER_FULL is $one_name, not
$one_fullname.
* lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
* tests/confsub.test (SUBDIRS): Adjust to the new config.status
invocation.
Strengthen: Use the non-default config.hin source.
Strengthen: Make sure config.h is properly updated when config.hin
is changed.
|
|
|
|
|
|
| |
@other_input_files is a programming error, not merely something to
ignore.
Factor slightly the code.
|
|
|
|
|
| |
Use it.
(&require_config_file, $line_error): Remove.
|
|
|
|
|
| |
(&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
Automake::XFile.
|
|
|
|
|
|
|
| |
lang_c_rewrite): Use require_conf_file instead of
require_config_file to require depcomp or compile from
Makefile.am. (This is a part of my patch of 2001-10-15 which got
mistakenly reverted.)
|
|
|
|
|
|
|
|
|
|
| |
(&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
Rename as...
(&print_error, &file_error, ¯o_error, &target_error, &line_error)
(&conf_error, &file_warning): these.
(&file_warning): Fix the prototype and argument handling.
(&am_line_warning): Remove, unused.
Also, repair the misapplication of previous patches.
|
|
|
|
|
|
|
|
| |
($ac_config_files_location): this.
(&scan_autoconf_traces): We don't need $file and $line, $here is
enough.
(&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
|
|
|
|
| |
(&read_am_file): Move the definition of $here at its proper place.
|
|
|
|
|
|
|
|
|
|
| |
($libtool_location, $pythondir_location): these.
(&require_conf_file_with_line, &require_conf_file_with_line):
Remove, unused.
(&require_file): Don't forget $where.
(&require_conf_file): Ahem... Fix the name.
(&require_config_file): Invoke &require_conf_file, not yourself.
(&am_line_error): Fix the default am_file_error invocation.
|
|
|
|
|
|
|
|
| |
($am_lispdir_location): this.
(&require_conf_file): New.
(&require_config_file, &require_conf_file_with_line,
(&require_conf_file_with_conf_line): Use it.
(&require_conf_file_with_macro): New.
|
|
|
|
|
|
|
|
| |
($ac_gettext_line, $package_version_line): Replace with...
($config_header_location, $ac_output_location)
($ac_gettext_location, $package_version_location): these.
(&require_file_with_conf_line, &require_file_with_line): Remove,
no longer used.
|
|
|
|
|
|
|
|
| |
take $where as first argument.
Adjust all callers.
(&require_file_with_macro): New.
Use it where internal black magic was used to recover the location
of a macro definition.
|
|
|
|
| |
Avoid using am_line_error.
|
|
|
|
|
|
| |
Use it where appropriate instead of...
(&am_line_error): this.
Using it for a target is a croak error.
|
|
|
|
|
|
| |
Use it where appropriate instead of...
(&am_line_error): this.
Using it for a macro is a croak error.
|
|
|
|
|
|
|
|
| |
(%var_location): this.
Use it consistently as the location where the macro is defined,
file and line when possible, otherwise just file.
(&read_am_file): Rules have their own location tracking, don't
pollute %var_location.
|
| |
|
|
|
|
|
|
|
|
|
| |
users do.
(&am_error, &am_file_error, &am_line_error, &am_conf_error):
Don't.
(&am_conf_line_error, &am_conf_line_warning): Remove.
Adjust callers to use &am_file_error and...
(&am_file_warning): new.
|
|
|
|
|
|
| |
for symbols which cannot be Make macro names.
(scan_one_autoconf_file): `$here' is new.
Use it consistently instead of `1' to remember a token was seen.
|
|
|
|
|
|
|
|
| |
* automake.texi (Macros, Yacc and Lex): Adjust.
* automake.in ($seen_decl_yytext): Rename as...
($seen_prog_lex): this.
(&scan_autoconf_traces): Add AC_PROG_LEX support.
(&scan_one_autoconf_file, &lang_lex_finish): Adjust.
|
|
|
|
| |
AM_PATH_LISPDIR and AM_PATH_PYTHON.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libtool is required.
* tests/lex.test: Run AC_INIT once.
* tests/ldflags.test, tests/listval.test, tests/suffix2.test:
Libtool is required.
* tests/header.test: Built a correct configure.in.
* tests/defun2.test (configure.in): Be a bit respectful with
Autoconf, close the macro invocations.
* tests/confdeps.test: Even when not using aclocal, aclocal.m4
must be correct.
* automake.in (scan_autoconf_traces): Add support for
AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
* tests/condincl.test (target): Better pattern, to avoid matching
the definition of `target_alias' which is now properly discovered
as an AC_SUBST by traces.
* cond4.test: Better grep pattern: After all, why shouldn't
TWO_FALSE be AC_SUBST properly.
* tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
|
|
|
|
|
| |
* automake.in (handle_configure): Always put a number on $stamp_name,
to match AM_CONFIG_HEADER.
|
|
|
|
|
|
| |
AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
AC_CONFIG_AUX_DIR.
* tests/alpha.test (configure.in): Automake wants a Makefile.
|
|
|
|
|
| |
separator between trace arguments, in particular not `:' as it is
within AC_CONFIG_FILES's $1.
|
|
|
|
|
|
|
|
| |
AM_INIT_AUTOMAKE, AM_CONDITIONAL.
Let @args have a more natural M4 correspondence: $1 is args[1], no
args[0] etc.
(&scan_autoconf_files): Using autoconf traces is no longer a
complement of the previous ad hoc scheme: use either.
|
|
|
|
| |
factors dedicated $libsources assignments.
|
|
|
|
|
| |
Remove, since Autoconf 2.52 has them.
* automake.in, aclocal.in, automake.texi: Adjust.
|
|
|
|
|
|
| |
generated/.
Insert @configure_input@, since 2.50 no longer output this
automatically for Makefiles.
|
|
|
|
| |
this with $nodir_name only. Use $nodir_name where appropriate.
|
|
|
|
|
|
|
|
|
|
|
| |
lang_c_rewrite): Use require_conf_file instead of
require_config_file to require depcomp or compile from Makefile.am.
(require_aux_file_with_line): New function, adapted from
require_conf_gile_with_line.
(require_conf_file_with_line, require_conf_file_with_conf_line):
Simplify using require_aux_file_with_line.
(require_config_file): Simplify using require_conf_file_with_conf_line.
(require_conf_file): New function.
|