summaryrefslogtreecommitdiff
path: root/automake.in
Commit message (Collapse)AuthorAgeFilesLines
* * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,Alexandre Duret-Lutz2001-11-051-50/+50
| | | | | AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants. Adjust usage everywhere.
* * automake.in (libtool_files, libtool_sometimes, common_files,Alexandre Duret-Lutz2001-11-051-76/+48
| | | | | | | | | 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.
* * automake.in (handle_single_transform_list): Pass $nonansi_obj toAlexandre Duret-Lutz2001-11-051-15/+18
| | | | | | | | | 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>.
* * automake.in (handle_single_transform_list): Don't callAlexandre Duret-Lutz2001-11-051-2/+4
| | | | | | | $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>.
* * automake.in (@common_sometimes, &handle_configure): No longerAkim Demaille2001-11-051-25/+19
| | | | | | use stamp-hin. * lib/am/remake-hdr.am: Adjust. * tests/confh.test: There is no stamp.hin.
* * automake.in (transform): Update documentation.Alexandre Duret-Lutz2001-10-311-2/+3
|
* * automake.in (&create): Reinstall.Akim Demaille2001-10-301-0/+11
|
* * automake.in (append_exeext): Use macro_delete.Akim Demaille2001-10-301-1/+1
|
* * automake.in ($verbose): Remove, inherited fromAkim Demaille2001-10-301-33/+35
| | | | | | | | | Automake::General. (&variable_delete): Rename as... (&macro_delete): this, for consistency. (&variable_assert): New. (&variable_value_as_list, &variable_value_as_list_recursive_worker): Use it.
* * automake.in: Various formatting changes.Akim Demaille2001-10-281-49/+41
| | | | (create): Remove, unused.
* * automake.in (&append_exeext): New.Akim Demaille2001-10-281-48/+57
| | | | (&am_primary_prefixes): Use it.
* * automake.in (am_primary_prefixes): Now, in accordance with itsAkim Demaille2001-10-281-39/+28
| | | | | | | | 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 $_;'.
* * automake.in: Various formatting changes.Akim Demaille2001-10-281-99/+96
| | | | (&variable_defined): Second argument is optional.
* * automake.in (&am_primary_prefixes): Now returns a list, not aAkim Demaille2001-10-281-43/+46
| | | | | | hash. (&handle_libraries, &handle_ltlibraries, &handle_java) (&am_install_var): Adjust.
* * automake.in (@libtoolize_files, @libtoolize_sometimes): RenameAkim Demaille2001-10-281-30/+13
| | | | | | | | 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.
* * automake.in (&scan_autoconf_traces): Use eq for equality.Akim Demaille2001-10-281-10/+2
| | | | | | | Anchor regexps. Remove dead comment. (&initialize_per_input): Don't initialize several times the same vars.
* * automake.in (scan_one_autoconf_file): When using %generalize, beAkim Demaille2001-10-281-9/+12
| | | | | sure to replace only words. AC_FUNC_OBSTACK was matching M4_AC_FUNC_OBSTACK.
* * automake.in (&generate_makefile, &handle_texinfo_helper)Akim Demaille2001-10-261-44/+34
| | | | | | | (&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"'.
* * automake.in (@config_fullnames, @config_names): Remove.Akim Demaille2001-10-261-92/+76
| | | | | | | | | | (@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.
* * automake.in (&handle_configure): Use the config.status 2.50Akim Demaille2001-10-261-14/+9
| | | | | | | | | | | | | 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.
* * automake.in (&handle_configure): Seeing Automake files inAkim Demaille2001-10-261-22/+26
| | | | | | @other_input_files is a programming error, not merely something to ignore. Factor slightly the code.
* * automake.in ($canonical_location): New.Akim Demaille2001-10-261-86/+45
| | | | | Use it. (&require_config_file, $line_error): Remove.
* * automake.in: Use &verbose.Akim Demaille2001-10-261-48/+12
| | | | | (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use Automake::XFile.
* * automake.in (handle_languages, handle_single_transform_list,Alexandre Duret-Lutz2001-10-241-3/+3
| | | | | | | 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.)
* * automake.in (&am_print_error, &am_file_error, &am_macro_error)Akim Demaille2001-10-241-235/+206
| | | | | | | | | | (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning): Rename as... (&print_error, &file_error, &macro_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.
* * automake.in ($ac_output_location): Replace with...Akim Demaille2001-10-211-14/+15
| | | | | | | | ($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.
* * automake.in (&require_file_with_macro): Use &require_file.Akim Demaille2001-10-211-16/+17
| | | | (&read_am_file): Move the definition of $here at its proper place.
* * automake.in ($libtool_line, $seen_pythondir): Replace with...Akim Demaille2001-10-211-16/+12
| | | | | | | | | | ($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.
* * automake.in ($seen_lispdir): Replace with...Akim Demaille2001-10-211-9/+8
| | | | | | | | ($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.
* * automake.in ($config_header_line, $ac_output_line)Akim Demaille2001-10-211-28/+30
| | | | | | | | ($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.
* * automake.in (&require_file_internal): Instead of $file and $line,Akim Demaille2001-10-211-16/+15
| | | | | | | | 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.
* * automake.in (&read_am_file): Define and use `$here'.Akim Demaille2001-10-211-9/+10
| | | | Avoid using am_line_error.
* * automake.in (&am_target_error): New.Akim Demaille2001-10-211-9/+22
| | | | | | Use it where appropriate instead of... (&am_line_error): this. Using it for a target is a croak error.
* * automake.in (&am_macro_error): New.Akim Demaille2001-10-211-55/+66
| | | | | | Use it where appropriate instead of... (&am_line_error): this. Using it for a macro is a croak error.
* * automake.in (%var_line): Rename as...Akim Demaille2001-10-211-18/+18
| | | | | | | | (%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.
* * automake.in (am_line_error): Clarify.Akim Demaille2001-10-211-8/+12
|
* * automake.in (&am_print_error): Set $exit_status since all yourAkim Demaille2001-10-211-47/+25
| | | | | | | | | 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.
* * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTsAkim Demaille2001-10-211-32/+38
| | | | | | 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.
* * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.Akim Demaille2001-10-211-15/+18
| | | | | | | | * 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.
* * automake.in (&scan_autoconf_traces): Add support forAkim Demaille2001-10-211-1/+11
| | | | AM_PATH_LISPDIR and AM_PATH_PYTHON.
* * tests/defs (ACLOCAL): Point to the installed aclocaldir isAkim Demaille2001-10-211-1/+42
| | | | | | | | | | | | | | | | | | | | | 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.
* 2001-10-20 Kevin Ryde <user42@zip.com.au>Tom Tromey2001-10-201-1/+1
| | | | | * automake.in (handle_configure): Always put a number on $stamp_name, to match AM_CONFIG_HEADER.
* * automake.in (&scan_autoconf_traces): Add support forAkim Demaille2001-10-201-4/+31
| | | | | | 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.
* * automake.in (scan_autoconf_traces): Use an unlikely to be usedAkim Demaille2001-10-201-6/+8
| | | | | separator between trace arguments, in particular not `:' as it is within AC_CONFIG_FILES's $1.
* * automake.in (&scan_autoconf_traces): Add support forAkim Demaille2001-10-201-43/+46
| | | | | | | | 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.
* * automake.in (&scan_one_autoconf_file): `%generalize' is new, andAkim Demaille2001-10-201-48/+26
| | | | factors dedicated $libsources assignments.
* * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:Akim Demaille2001-10-201-8/+4
| | | | | Remove, since Autoconf 2.52 has them. * automake.in, aclocal.in, automake.texi: Adjust.
* * automake.in (&read_main_am_file): s/generated automatically/Akim Demaille2001-10-191-1/+2
| | | | | | generated/. Insert @configure_input@, since 2.50 no longer output this automatically for Makefiles.
* * automake.in (am_install_var): Don't strip nobase_ from $X, doAlexandre Duret-Lutz2001-10-171-12/+12
| | | | this with $nodir_name only. Use $nodir_name where appropriate.
* * automake.in (handle_languages, handle_single_transform_list,Alexandre Duret-Lutz2001-10-151-19/+26
| | | | | | | | | | | 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.