Akim Demaille [Tue, 30 Oct 2001 16:44:40 +0000 (16:44 +0000)]
* automake.in (append_exeext): Use macro_delete.
Akim Demaille [Tue, 30 Oct 2001 16:31:18 +0000 (16:31 +0000)]
* automake.in ($verbose): Remove, inherited from
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.
Akim Demaille [Mon, 29 Oct 2001 22:12:40 +0000 (22:12 +0000)]
* m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
cluttering configure's stdout.
Akim Demaille [Sun, 28 Oct 2001 14:02:18 +0000 (14:02 +0000)]
* automake.in: Various formatting changes.
(create): Remove, unused.
Akim Demaille [Sun, 28 Oct 2001 14:02:01 +0000 (14:02 +0000)]
* automake.in (&append_exeext): New.
(&am_primary_prefixes): Use it.
Akim Demaille [Sun, 28 Oct 2001 14:01:41 +0000 (14:01 +0000)]
* automake.in (am_primary_prefixes): Now, in accordance with its
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 $_;'.
Akim Demaille [Sun, 28 Oct 2001 14:01:18 +0000 (14:01 +0000)]
* automake.in: Various formatting changes.
(&variable_defined): Second argument is optional.
Akim Demaille [Sun, 28 Oct 2001 14:00:59 +0000 (14:00 +0000)]
* automake.in (&am_primary_prefixes): Now returns a list, not a
hash.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
Akim Demaille [Sun, 28 Oct 2001 14:00:43 +0000 (14:00 +0000)]
* automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
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.
Akim Demaille [Sun, 28 Oct 2001 14:00:28 +0000 (14:00 +0000)]
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/conf2.test, tests/config.test, tests/depcomp.test,
* tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
* tests/libobj8.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/output5.test,
* tests/pr2.test, tests/remake.test, tests/remake2.test,
* tests/remake3.test, tests/scripts.test, tests/stamph.test,
* tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
* tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
assignments.
Akim Demaille [Sun, 28 Oct 2001 14:00:09 +0000 (14:00 +0000)]
* automake.in (&scan_autoconf_traces): Use eq for equality.
Anchor regexps.
Remove dead comment.
(&initialize_per_input): Don't initialize several times the same
vars.
Akim Demaille [Sun, 28 Oct 2001 13:59:54 +0000 (13:59 +0000)]
* automake.in (scan_one_autoconf_file): When using %generalize, be
sure to replace only words. AC_FUNC_OBSTACK was matching
M4_AC_FUNC_OBSTACK.
Akim Demaille [Fri, 26 Oct 2001 10:10:53 +0000 (10:10 +0000)]
Formatting changes.
Akim Demaille [Fri, 26 Oct 2001 10:01:05 +0000 (10:01 +0000)]
* tests/stamph2.test: Strengthen.
* tests/confh2.test, tests/confh3.test: Remove.
These are bad tests: they don't check the effects, but some
internal details in Makefile.
And they are covered by stamph2.test.
Akim Demaille [Fri, 26 Oct 2001 09:59:59 +0000 (09:59 +0000)]
Now that stamp-h's are created by config.status, we don't need to
handle them in Makefile's.
* lib/am/remake-hdr.am (%STAMP%): Just run config.status.
* m4/header.m4 (_AM_STAMP): New.
(_AM_CONFIG_HEADER): Use it.
Akim Demaille [Fri, 26 Oct 2001 09:59:30 +0000 (09:59 +0000)]
* automake.in (&generate_makefile, &handle_texinfo_helper)
(&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"'.
Akim Demaille [Fri, 26 Oct 2001 09:58:40 +0000 (09:58 +0000)]
* automake.in (@config_fullnames, @config_names): Remove.
(@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.
Akim Demaille [Fri, 26 Oct 2001 09:57:37 +0000 (09:57 +0000)]
* m4/header.m4 (_AM_CONFIG_HEADER): New.
(AM_CONFIG_HEADER): Use it.
Akim Demaille [Fri, 26 Oct 2001 09:56:43 +0000 (09:56 +0000)]
* automake.in (&handle_configure): Use the config.status 2.50
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.
Akim Demaille [Fri, 26 Oct 2001 09:56:05 +0000 (09:56 +0000)]
* automake.in (&handle_configure): Seeing Automake files in
@other_input_files is a programming error, not merely something to
ignore.
Factor slightly the code.
Akim Demaille [Fri, 26 Oct 2001 09:55:18 +0000 (09:55 +0000)]
* automake.in ($canonical_location): New.
Use it.
(&require_config_file, $line_error): Remove.
Akim Demaille [Fri, 26 Oct 2001 09:54:04 +0000 (09:54 +0000)]
* automake.in: Use &verbose.
(&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
Automake::XFile.
Alexandre Duret-Lutz [Thu, 25 Oct 2001 12:56:15 +0000 (12:56 +0000)]
* lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
Have the basename step optional and use %NDIR% instead of %DIR% in
filenames in order to support 'nobase_'.
Alexandre Duret-Lutz [Wed, 24 Oct 2001 12:02:46 +0000 (12:02 +0000)]
* automake.in (handle_languages, handle_single_transform_list,
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.)
Akim Demaille [Wed, 24 Oct 2001 12:00:56 +0000 (12:00 +0000)]
* tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
stamp-h1.
Akim Demaille [Wed, 24 Oct 2001 09:04:18 +0000 (09:04 +0000)]
Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
appear in Makefile.in in the clean rule.
* tests/cxxansi.test: Adjust.
Akim Demaille [Wed, 24 Oct 2001 06:20:37 +0000 (06:20 +0000)]
* automake.in (&am_print_error, &am_file_error, &am_macro_error)
(&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.
Akim Demaille [Sun, 21 Oct 2001 21:54:56 +0000 (21:54 +0000)]
Typo.
Akim Demaille [Sun, 21 Oct 2001 21:54:01 +0000 (21:54 +0000)]
* automake.in ($ac_output_location): Replace with...
($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.
Akim Demaille [Sun, 21 Oct 2001 18:12:07 +0000 (18:12 +0000)]
* automake.in (&require_file_with_macro): Use &require_file.
(&read_am_file): Move the definition of $here at its proper place.
Akim Demaille [Sun, 21 Oct 2001 18:11:48 +0000 (18:11 +0000)]
* automake.in ($libtool_line, $seen_pythondir): Replace with...
($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.
Akim Demaille [Sun, 21 Oct 2001 18:11:28 +0000 (18:11 +0000)]
* automake.in ($seen_lispdir): Replace with...
($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.
Akim Demaille [Sun, 21 Oct 2001 18:11:10 +0000 (18:11 +0000)]
* automake.in ($config_header_line, $ac_output_line)
($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.
Akim Demaille [Sun, 21 Oct 2001 18:10:52 +0000 (18:10 +0000)]
* automake.in (&require_file_internal): Instead of $file and $line,
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.
Akim Demaille [Sun, 21 Oct 2001 18:10:35 +0000 (18:10 +0000)]
* automake.in (&read_am_file): Define and use `$here'.
Avoid using am_line_error.
Akim Demaille [Sun, 21 Oct 2001 18:10:21 +0000 (18:10 +0000)]
* automake.in (&am_target_error): New.
Use it where appropriate instead of...
(&am_line_error): this.
Using it for a target is a croak error.
Akim Demaille [Sun, 21 Oct 2001 18:10:03 +0000 (18:10 +0000)]
* automake.in (&am_macro_error): New.
Use it where appropriate instead of...
(&am_line_error): this.
Using it for a macro is a croak error.
Akim Demaille [Sun, 21 Oct 2001 18:09:50 +0000 (18:09 +0000)]
* tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
AC_OUTPUT a Makefile.
Akim Demaille [Sun, 21 Oct 2001 18:09:36 +0000 (18:09 +0000)]
* automake.in (%var_line): Rename as...
(%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.
Akim Demaille [Sun, 21 Oct 2001 18:09:24 +0000 (18:09 +0000)]
* automake.in (am_line_error): Clarify.
Akim Demaille [Sun, 21 Oct 2001 18:09:09 +0000 (18:09 +0000)]
* automake.in (&am_print_error): Set $exit_status since all your
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.
Akim Demaille [Sun, 21 Oct 2001 18:05:38 +0000 (18:05 +0000)]
* m4/regex.m4: Use AC_LIBOBJ.
Require 2.50, and use AC_LIBSOURCES freely.
* tests/asm.tests: Formatting changes.
Exercise AM_PROG_AS.
Akim Demaille [Sun, 21 Oct 2001 18:05:22 +0000 (18:05 +0000)]
* tests/install.test: This test is an empty shell, do not run
automake.
* tests/Makefile.am (TESTS): Don't run it.
* tests/defs (ACLOCAL): When using gettext, pass in the installed
aclocaldir.
* tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
--add--missing.
* tests/obsolete2.test: Remove, merged into...
* tests/obsolete.test: here.
Both aclocal and automake should complain.
Akim Demaille [Sun, 21 Oct 2001 18:05:03 +0000 (18:05 +0000)]
* automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
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.
Akim Demaille [Sun, 21 Oct 2001 18:04:33 +0000 (18:04 +0000)]
* tests/subdircond.test: Requires gettext.
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
* tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
* tests/nolink.test, tests/obsolete.test, tests/pr72.test,
* tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
Produce valid configure.in, use aclocal appropriately, declare
when libtool is required.
Akim Demaille [Sun, 21 Oct 2001 18:04:16 +0000 (18:04 +0000)]
* m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
* 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.
Akim Demaille [Sun, 21 Oct 2001 18:03:57 +0000 (18:03 +0000)]
* automake.in (&scan_autoconf_traces): Add support for
AM_PATH_LISPDIR and AM_PATH_PYTHON.
Akim Demaille [Sun, 21 Oct 2001 18:03:20 +0000 (18:03 +0000)]
* tests/defs (ACLOCAL): Point to the installed aclocaldir is
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.
Tom Tromey [Sat, 20 Oct 2001 19:17:16 +0000 (19:17 +0000)]
2001-10-20 Kevin Ryde <user42@zip.com.au>
* lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
actually using ansi2knr.
Tom Tromey [Sat, 20 Oct 2001 19:13:49 +0000 (19:13 +0000)]
2001-10-20 Kevin Ryde <user42@zip.com.au>
* automake.in (handle_configure): Always put a number on $stamp_name,
to match AM_CONFIG_HEADER.
Tom Tromey [Sat, 20 Oct 2001 19:12:34 +0000 (19:12 +0000)]
* tests/Makefile.am (TESTS): Added condd.test.
(XFAIL_TESTS): Added condd.test.
* tests/condd.test: New file.
Akim Demaille [Sat, 20 Oct 2001 11:18:06 +0000 (11:18 +0000)]
* automake.in (&scan_autoconf_traces): Add support for
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.
Akim Demaille [Sat, 20 Oct 2001 11:17:49 +0000 (11:17 +0000)]
* automake.in (scan_autoconf_traces): Use an unlikely to be used
separator between trace arguments, in particular not `:' as it is
within AC_CONFIG_FILES's $1.
Akim Demaille [Sat, 20 Oct 2001 11:17:33 +0000 (11:17 +0000)]
* tests/alpha.test (configure.in): Create, don't append. A single
AC_INIT is enough.
Akim Demaille [Sat, 20 Oct 2001 11:17:18 +0000 (11:17 +0000)]
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
* tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
* tests/alpha.test, tests/ansi.test, tests/asm.test,
* tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
* tests/badline.test, tests/block.test, tests/canon2.test,
* tests/check.test, tests/checkall.test, tests/clean.test,
* tests/colneq.test, tests/colneq2.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/comment.test, tests/comment3.test, tests/cond.test,
* tests/cond2.test, tests/cond6.test, tests/cond7.test,
* tests/condincl.test, tests/condincl2.test, tests/condman.test,
* tests/condman2.test, tests/confdist.test, tests/confh.test,
* tests/confh2.test, tests/confh3.test, tests/confvar.test,
* tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
* tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
* tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
* tests/else.test, tests/empty.test, tests/exdir.test,
* tests/exdir2.test, tests/extra3.test, tests/extra4.test,
* tests/flibs.test, tests/fnoc.test, tests/fo.test,
* tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
* tests/include.test, tests/info.test, tests/insh.test,
* tests/insh2.test, tests/install.test, tests/installsh.test,
* tests/instdata.test, tests/instdata2.test, tests/instexec.test,
* tests/insthook.test, tests/instman.test, tests/instman2.test,
* tests/java.test, tests/javaprim.test, tests/javasubst.test,
* tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
* tests/man.test, tests/mclean.test, tests/mdate.test,
* tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
* tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
* tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
* tests/outdir.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/output5.test,
* tests/package.test, tests/pluseq.test, tests/pluseq2.test,
* tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
* tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
* tests/primary.test, tests/proginst.test, tests/python.test,
* tests/remake.test, tests/remake2.test, tests/remake3.test,
* tests/rulepat.test, tests/scripts.test, tests/seenc.test,
* tests/sinclude.test, tests/spell.test, tests/spell3.test,
* tests/spelling.test, tests/stamph.test, tests/subdir.test,
* tests/subdir2.test, tests/subdircond.test, tests/subst.test,
* tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
* tests/syntax.test, tests/tags.test, tests/tagsub.test,
* tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
* tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
* tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
* tests/texinfo9.test, tests/vars.test, tests/vartar.test,
* tests/version.test, tests/version2.test, tests/version3.test,
* tests/version4.test, tests/vpath.test, tests/vtexi.test,
* tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
Akim Demaille [Sat, 20 Oct 2001 11:15:56 +0000 (11:15 +0000)]
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/asm.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/conf2.test, tests/confh.test, tests/confh2.test,
* tests/confh3.test, tests/confh4.test, tests/config.test,
* tests/confsub.test, tests/depend3.test, tests/discover.test,
* tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
* tests/header.test, tests/ldadd.test, tests/ldflags.test,
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
* tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
* tests/output.test, tests/output2.test, tests/output3.test,
* tests/output4.test, tests/output5.test, tests/package.test,
* tests/parse.test, tests/pr2.test, tests/remake.test,
* tests/remake2.test, tests/remake3.test, tests/scripts.test,
* tests/stamph.test, tests/subdir.test, tests/subdir2.test,
* tests/subdir4.test, tests/subdirbuiltsources.test,
* tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
* tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
since AM_INIT_AUTOMAKE requires them.
Akim Demaille [Sat, 20 Oct 2001 11:15:36 +0000 (11:15 +0000)]
* tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
arguments.
Don't run AC_ARG_PROGRAM another time, it is required by
AM_INIT_AUTOMAKE.
* tests/aclocal.test: Work on the default configure.in
* tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
Be realistic in testing: AC_INIT is required for Autoconf.
Broken so called optimized tests break trace handling.
* tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
* tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
* tests/colon.test, tests/colon2.test, tests/colon3.test,
* tests/colon4.test, tests/colon5.test, tests/colon6.test,
* tests/colon7.test, tests/cond.test, tests/cond2.test,
* tests/cond3.test, tests/cond5.test, tests/conf2.test,
* tests/confh.test, tests/confh2.test, tests/confh3.test,
* tests/confh4.test, tests/config.test, tests/confsub.test,
* tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
* tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/header.test, tests/ldflags.test,
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
* tests/libobj9.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/parse.test,
* tests/pr2.test, tests/recurs.test, tests/recurs2.test,
* tests/remake.test, tests/remake2.test, tests/remake3.test,
* tests/req.test, tests/scripts.test, tests/subdir.test,
* tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
* tests/tagsub.test, tests/texinfo8.test, tests/version.test,
* tests/version2.test: Add AC_INIT in `configure.in'.
Akim Demaille [Sat, 20 Oct 2001 11:15:10 +0000 (11:15 +0000)]
* automake.in (&scan_autoconf_traces): Add support for
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.
Akim Demaille [Sat, 20 Oct 2001 11:14:51 +0000 (11:14 +0000)]
* automake.in (&scan_one_autoconf_file): `%generalize' is new, and
factors dedicated $libsources assignments.
Akim Demaille [Sat, 20 Oct 2001 11:14:37 +0000 (11:14 +0000)]
* m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
Remove, since Autoconf 2.52 has them.
* automake.in, aclocal.in, automake.texi: Adjust.
Akim Demaille [Fri, 19 Oct 2001 17:07:03 +0000 (17:07 +0000)]
* automake.in (&read_main_am_file): s/generated automatically/
generated/.
Insert @configure_input@, since 2.50 no longer output this
automatically for Makefiles.
Akim Demaille [Fri, 19 Oct 2001 10:13:32 +0000 (10:13 +0000)]
* lib/am/check.am (check-TESTS): Add an "else true" to work with
Ultrix 4.5 /bin/sh when $(TESTS) is empty.
Alexandre Duret-Lutz [Wed, 17 Oct 2001 17:20:50 +0000 (17:20 +0000)]
* tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
* tests/nobase.test: New file. Based on a bug report
from Martin Frydl <martin@idoox.com>.
Alexandre Duret-Lutz [Wed, 17 Oct 2001 17:00:39 +0000 (17:00 +0000)]
* automake.in (am_install_var): Don't strip nobase_ from $X, do
this with $nodir_name only. Use $nodir_name where appropriate.
Alexandre Duret-Lutz [Mon, 15 Oct 2001 09:38:29 +0000 (09:38 +0000)]
* automake.in (handle_languages, handle_single_transform_list,
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.
Akim Demaille [Mon, 15 Oct 2001 07:52:52 +0000 (07:52 +0000)]
* m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
normally, what is wrong is that automake outputs a variable
definition for it, hence...
* automake.in (scan_one_autoconf_file): don't.
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
from...
(AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
Use AC_CONFIG_COMMANDS.
(_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
Akim Demaille [Mon, 15 Oct 2001 07:52:33 +0000 (07:52 +0000)]
* m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
Akim Demaille [Mon, 15 Oct 2001 07:52:18 +0000 (07:52 +0000)]
* automake.in (&variable_conditions): Be deterministic and Perl
version independent: sort the result.
(&variable_output, &variable_pretty_output): Sort all the @conds,
not only when defaulted.
* tests/cond3.test: Adjust.
Akim Demaille [Mon, 15 Oct 2001 07:52:03 +0000 (07:52 +0000)]
* automake.in: Formatting changes.
Akim Demaille [Mon, 15 Oct 2001 07:51:49 +0000 (07:51 +0000)]
* aclocal.in: Use Automake::General and Automake::XFile.
Use find_configure_ac.
Output the Emacs tags for Autoconf mode selection.
Akim Demaille [Wed, 10 Oct 2001 14:06:27 +0000 (14:06 +0000)]
* lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
from master copies.
Akim Demaille [Wed, 10 Oct 2001 13:05:13 +0000 (13:05 +0000)]
Do not use Autoconf internals.
* tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
* m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
m4_regexp and m4_patsubst, since the latter are reserved for ERE
macro in GNU M4 1.5.
Akim Demaille [Mon, 8 Oct 2001 11:54:06 +0000 (11:54 +0000)]
Regen.
Akim Demaille [Mon, 8 Oct 2001 11:53:44 +0000 (11:53 +0000)]
* m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
changed its name.
Akim Demaille [Mon, 8 Oct 2001 11:53:16 +0000 (11:53 +0000)]
* automake.in (scan_autoconf_files): Use find_configure_ac from
General.
Akim Demaille [Tue, 2 Oct 2001 17:17:45 +0000 (17:17 +0000)]
* lib/Automake/Struct.pm: Update from Autoconf.
* lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
Autoconf.
* automake.in: Use them.
(&uniq, $me): Remove, as they are provided by Automake::General.
Alexandre Duret-Lutz [Tue, 2 Oct 2001 16:00:04 +0000 (16:00 +0000)]
* Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
* lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
* lib/am/dejagnu.am (check-DEJAGNU): Likewise.
* lib/am/distdir.am (distcheck): Likewise.
* lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
using cd so we don't have to fiddle with CDPATH.
* lib/am/header-vars.am (am__cd): Define so as to support Zsh and
DOSish path separator.
Alexandre Duret-Lutz [Tue, 2 Oct 2001 15:33:59 +0000 (15:33 +0000)]
* lib/am/python.am (install-%DIR%PYTHON,
uninstall-%DIR%PYTHON): Strip path of source file.
(clean-python): Comment out.
Alexandre Duret-Lutz [Tue, 2 Oct 2001 15:29:40 +0000 (15:29 +0000)]
* automake.in (handle_python): Use require_conf_file_with_conf_line
instead of require_file_with_conf_line, so that elisp-comp and
py-compile are installed in the aux-directory.
(handle_emacs_lisp): Likewise. Define elisp_comp.
* lib/am/lisp.am (.el.elc): Use elisp_comp.
Akim Demaille [Mon, 1 Oct 2001 07:09:01 +0000 (07:09 +0000)]
* lib/am/distdir.am (distcheck): Report the trailing files.
Run `dist-gzip', not `dist', as it may leave other distribution
flavors.
Paul Eggert [Mon, 1 Oct 2001 06:38:06 +0000 (06:38 +0000)]
Propagate new version of lib/mkinstalldirs.
Paul Eggert [Mon, 1 Oct 2001 06:34:38 +0000 (06:34 +0000)]
Don't invoke mkdir if the directories all already exist.
This saves unnecessary output of "mkdir -p -- FOO" when
FOO already exists.
Paul Eggert [Sat, 29 Sep 2001 06:01:15 +0000 (06:01 +0000)]
Propagate new version of lib/mkinstalldirs.
Paul Eggert [Sat, 29 Sep 2001 05:53:02 +0000 (05:53 +0000)]
* lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
bugs when making file names with unusual characters. Quote chmod
arg "$dirmode", in case it contains white space.
Incorporate the following change from autoconf mkinstalldirs:
1999-04-10 Ben Elliston <bje@cygnus.com>
Add `-m' flag to specify the mode of a newly created
directory. Add command line usage and `-h', `--help' options.
Contributed by Jeff Garzik.
Paul Eggert [Sat, 29 Sep 2001 05:50:16 +0000 (05:50 +0000)]
Use "mkdir -p" if it works, as that fixes bugs when making file names
with unusual characters. Quote chmod arg "$dirmode", in case it
contains white space.
Incorporate the following change from autoconf mkinstalldirs:
1999-04-10 Ben Elliston <bje@cygnus.com>
* mkinstalldirs: Add `-m' flag to specify the mode of a newly created
directory. Add command line usage and `-h', `--help' options.
Contributed by Jeff Garzik.
Akim Demaille [Thu, 27 Sep 2001 09:01:05 +0000 (09:01 +0000)]
* m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
Akim Demaille [Thu, 27 Sep 2001 08:37:54 +0000 (08:37 +0000)]
* lib/am/distdir.am (dist): Rename as...
(dist-gzip): this.
(dist): Additional name for dist-all.
* automake.texi (Options, Dist): Adjust.
Alexandre Duret-Lutz [Tue, 25 Sep 2001 17:13:16 +0000 (17:13 +0000)]
* aclocal.in (obsolete_macros): Update AM_EXEEXT message.
* automake.in (obsolete_macros): Likewise.
(seen_objext): Remove (unused).
(scan_one_autoconf_file): Don't handle AC_OBJEXT.
* lib/am/header-vars.am (EXEEXT, OBJEXT,
PATH_SEPARATOR): New variables.
* tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
* lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
Tim Van Holder [Sun, 23 Sep 2001 10:16:51 +0000 (10:16 +0000)]
* m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
neutralize CDPATH for us.
* m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
* lib/am/texibuild.am: Use @PATH_SEPARATOR@, not ':' to build
TEXINPUTS.
Akim Demaille [Sat, 22 Sep 2001 16:29:23 +0000 (16:29 +0000)]
* configure.in, NEWS: Bump to 1.5a.
Require 2.52.
Akim Demaille [Sat, 22 Sep 2001 16:05:36 +0000 (16:05 +0000)]
* ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
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.
Akim Demaille [Mon, 17 Sep 2001 14:32:08 +0000 (14:32 +0000)]
* lib/missing (autom4te): New.
(aclocal, autoconf, automake, autoheader, help2man): Propagate
actual failures.
Tom Tromey [Tue, 28 Aug 2001 05:00:34 +0000 (05:00 +0000)]
* automake.texi (A Shared Library): Clarify installation
requirement.
(Install): Typo. From Adrian Bunk.
Tom Tromey [Tue, 28 Aug 2001 04:50:15 +0000 (04:50 +0000)]
* automake.texi (Macros): Typo fix.
From Christian Cornelssen
Tom Tromey [Tue, 28 Aug 2001 04:45:20 +0000 (04:45 +0000)]
* tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
tests/cond4.test, tests/cond16.test, tests/cond18.test,
tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
tests/lex3.test, tests/pr87.test, tests/subobj3.test,
tests/substref.test: Clear CFLAGS.
Tom Tromey [Tue, 28 Aug 2001 04:32:52 +0000 (04:32 +0000)]
* automake.texi (Yacc and Lex): Mention lex, not yacc.
From Alexey Mahotkin.
Tom Tromey [Tue, 28 Aug 2001 04:30:44 +0000 (04:30 +0000)]
* tests/yacc7.test: Use test -f, not test -e.
Tom Tromey [Tue, 28 Aug 2001 04:28:24 +0000 (04:28 +0000)]
2001-08-27 Adrian Bunk <bunk@fs.tum.de>
* automake.texi (etags): Typo fix.
Tom Tromey [Tue, 28 Aug 2001 03:53:10 +0000 (03:53 +0000)]
2001-08-27 Guido Draheim <guidod@gmx.de>
* automake.in : restrict ansi2knr option to be a filepath
Richard Boulton [Thu, 23 Aug 2001 15:05:36 +0000 (15:05 +0000)]
* tests/yacc7.test: Actually add this file: was accidentally omitted.