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.
Tom Tromey [Thu, 23 Aug 2001 05:12:16 +0000 (05:12 +0000)]
Mention real home page
Tom Tromey [Thu, 23 Aug 2001 05:10:51 +0000 (05:10 +0000)]
* automake.texi (Conditionals): Mention that conditionals must
always be invoked. For PR automake/220.
Tom Tromey [Thu, 23 Aug 2001 05:00:34 +0000 (05:00 +0000)]
2001-08-22 Richard Boulton <richard@tartarus.org>
Tom Tromey <tromey@redhat.com>
* automake.in (lang_yacc_target_hook): Make header file depend on
.c file, not .y file.
* lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
.c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
* tests/yacc7.test: New file.
* tests/Makefile.am (TESTS): Added yacc7.test.
Tom Tromey [Thu, 23 Aug 2001 04:39:27 +0000 (04:39 +0000)]
thanks
Tom Tromey [Thu, 23 Aug 2001 03:57:04 +0000 (03:57 +0000)]
2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
* m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
Tom Tromey [Sat, 18 Aug 2001 22:52:54 +0000 (22:52 +0000)]
* automake.texi (Dist): Mention dist-all.
Tom Tromey [Sat, 18 Aug 2001 20:21:03 +0000 (20:21 +0000)]
* tests/cond3.test: Use portable sed expression.
From Richard Boulton.
Richard Boulton [Mon, 13 Aug 2001 09:37:49 +0000 (09:37 +0000)]
* automake.in (handle_source_transform): Call
define_objects_from_sources() instead of calling
variable_value_as_list(), handle_single_transform_list() and
define_pretty_variable() directly.
(handle_single_transform_list): Add $topparent parameter, used for
error messages. Improved error message.
(define_objects_from_sources): New function.
(subobjname): New function.
(variable_conditions_recursive): New name for variable conditions.
(variable_value_as_list_recursive): New name for variable_value_as_list.
(variable_value_as_list_worker): Renamed to ...
(variable_value_as_list_recursive_worker): ... this.
(variable_conditions_sub): Renamed to ...
(variable_conditions_recursive_sub): ... this.
(variable_conditions): Rewritten: now doesn't recurse subvariables.
(variable_value_as_list): Rewritten: now doesn't recurse subvariables.
(substfroms): New global.
(substtos): New global.
(substnums): New global.
* tests/cond3.test: Update to work with new method of defining _OBJECTS.
* tests/cond4.test: Update to work with new method of defining _OBJECTS.
* tests/sourcesub2.test: New test.
* tests/Makefile.am (TEST): Added sourcesub2.test.
Tom Tromey [Sat, 11 Aug 2001 21:31:43 +0000 (21:31 +0000)]
* configure.in: Upped to 1.4s.
Richard Boulton [Sat, 11 Aug 2001 00:30:28 +0000 (00:30 +0000)]
* automake.in (handle_single_transform_list): Use new global,
`%linkers_used', to store the linkers used, rather than an internal
variable. Enables correct linker to be calculated across a group
of calls to &handle_single_transform_list. Return only list of
objects, since linker to be used is now externally determined.
(handle_source_transform): adapted for new calling conventions of
handle_single_transform_list. Calls resolve_linker() on a set of
all the linkers used for any prefix, rather than for each prefix in
turn.
(linkers_used): New global.
* tests/link_dist.test: New test.
* tests/Makefile.am (TESTS): Added link_dist.test.
Raja R Harinath [Wed, 8 Aug 2001 21:43:59 +0000 (21:43 +0000)]
Dissociate testsuite 'make' invocations from outer 'make'.
* tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
environment variables.
* tests/cond16.test: Use '$MAKE -s', and avoid GNU make
dependency.
* tests/substref.test: Likewise.
Richard Boulton [Wed, 8 Aug 2001 17:42:26 +0000 (17:42 +0000)]
2001-08-08 Richard Boulton <richard@tartarus.org>
* tests/cond18.test: New file.
* tests/cond19.test: New file.
* tests/cond20.test: New file.
* tests/cond4.test: Updated to check the generated _OBJECTS more
thoroughly.
* tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
cond20.test
Richard Boulton [Wed, 8 Aug 2001 16:44:05 +0000 (16:44 +0000)]
* automake.in (file_contents_internal): if a rule is conditionally
defined, define the standard automake definition for it for those
conditions which are not conditionally defined.
(invert_conditions): New function: invert a list of conditionals.
* tests/cond14.test: New file.
* tests/cond15.test: New file.
* tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
Tom Tromey [Sun, 5 Aug 2001 22:02:33 +0000 (22:02 +0000)]
* tests/Makefile.am (TESTS): Added dejagnu2.test.
* tests/dejagnu2.test: New file.
* lib/am/dejagnu.am (site.exp): Don't conditionalize.
* automake.in (handle_scripts): Removed dead code.
(handle_tests_dejagnu): Don't handle site.exp generation
specially.
Richard Boulton [Sat, 4 Aug 2001 13:28:49 +0000 (13:28 +0000)]
* tests/cond17.test: New file: test for being able to define an
object to be generated in different ways according to a
conditional.
* tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
(TESTS): Added cond17.test.
Tom Tromey [Sat, 4 Aug 2001 04:02:42 +0000 (04:02 +0000)]
2001-08-02 Richard Boulton <richard@tartarus.org>
* automake.in (variable_conditions_sub): Handle variable
substitution refs when computing conditions based on subvariable
conditions. Fixes substitution refs of system variables when sub
variable is conditional.
(SUBST_REF_PATTERN): New global.
* tests/cond16.test: New file: regression test for variable
substitution refs.
* test/Makefile.am (TESTS): Added cond16.test.
Tom Tromey [Sat, 4 Aug 2001 03:47:50 +0000 (03:47 +0000)]
* tests/substref.test: Require GNU make; backed out previous
change.
Tom Tromey [Fri, 3 Aug 2001 18:40:44 +0000 (18:40 +0000)]
* tests/substref.test: Handle entering/leaving directory
messages.
Richard Boulton [Fri, 3 Aug 2001 11:57:16 +0000 (11:57 +0000)]
2001-08-03 Richard Boulton <richard@tartarus.org>
* automake.in (value_to_list): Check for whether $from is defined,
rather than whether it is true, so that empty $froms are allowed in
substitution reference patterns.
* tests/substref.test: New file: test behavior of substitution
references when the $from side of the substitution is empty.
* tests/Makefile.am (TESTS): Added substref.test.
Alexandre Duret-Lutz [Fri, 3 Aug 2001 08:28:21 +0000 (08:28 +0000)]
* m4/install-sh.m4: New file.
* m4/Makefile.am (m4data_DATA): Add install-sh.m4.
* m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
* m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
for install.sh any longer, always use install-sh, don't even
fall back to missing. Use $am_aux_dir, making $install_sh absolute.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
is absolute.
* m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
Tom Tromey [Thu, 2 Aug 2001 22:40:25 +0000 (22:40 +0000)]
2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
* automake.texi (EXEEXT): Clarify.
Alexandre Duret-Lutz [Wed, 1 Aug 2001 16:23:55 +0000 (16:23 +0000)]
* m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
Alexandre Duret-Lutz [Wed, 1 Aug 2001 16:19:57 +0000 (16:19 +0000)]
* m4/auxdir.m4: More comments.
Tom Tromey [Wed, 1 Aug 2001 06:04:16 +0000 (06:04 +0000)]
2001-07-31 Richard Boulton <richard@tartarus.org>
Raja R Harinath <harinath@cs.umn.edu>
* automake.in (variable_conditions_sub): Remove @parent_conds
argument. This was old logic - duplicate or impossible
conditionals are removed later by &variable_conditions_reduce().
Fixes tests/cond13.test.
(conditionals_true_when): Removed.
* tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
Tom Tromey [Tue, 31 Jul 2001 16:39:38 +0000 (16:39 +0000)]
* tests/Makefile.am (TESTS): Added cond13.test.
(XFAIL_TESTS): Likewise.
* tests/cond13.test: New file.
Tom Tromey [Tue, 31 Jul 2001 06:09:19 +0000 (06:09 +0000)]
* configure.in: Upped to version 1.4k.
Tom Tromey [Tue, 31 Jul 2001 05:45:25 +0000 (05:45 +0000)]
* configure.in: Released 1.4j.
Tom Tromey [Tue, 31 Jul 2001 05:37:31 +0000 (05:37 +0000)]
* lib/config.guess: Updated from master sources.
* lib/config.sub: Likewise.
Tom Tromey [Tue, 31 Jul 2001 05:22:13 +0000 (05:22 +0000)]
* automake.texi (A Program): Typo. Added subsections and more
text about conditional compilation.
(A Shared Library): Moved earlier.
(Program variables): Updated LINK text. Added AM_CFLAGS.
(C++ Support): Added AM_CXXFLAGS.
(Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
(EXEEXT): New node.
Tom Tromey [Tue, 31 Jul 2001 04:22:07 +0000 (04:22 +0000)]
* tests/Makefile.am (TESTS): Added aclibobj.test.
* tests/aclibobj.test: New file.
* automake.in (handle_lib_objects_cond): Avoid undefined variable
error.
(scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
Tom Tromey [Mon, 30 Jul 2001 22:00:07 +0000 (22:00 +0000)]
* automake.texi (Dist): Mention other distribution types.
(Install): Updates.
Tom Tromey [Sun, 29 Jul 2001 17:51:41 +0000 (17:51 +0000)]
* automake.texi (Program and Library Variables): Texinfo fix.
From Alexey Mahotkin.
Tom Tromey [Sat, 28 Jul 2001 19:34:10 +0000 (19:34 +0000)]
* automake.texi (Strictness): Mention Cygnus mode.
(Cygnus): Updated.
(Uniform): Likewise.
(Canonicalization): Likewise.
(Install): Add `nobase_' to example; typo fix.
(Clean): Typo.
(Dist): Expand on putting a directory into EXTRA_DIST. Insert
section markers.
(Options): Texinfo fixes; some text updates.
(Tags): Update.
Tom Tromey [Fri, 27 Jul 2001 15:34:14 +0000 (15:34 +0000)]
* automake.texi (Invoking Automake): Document --Werror and
--Wno-error.
Tom Tromey [Fri, 27 Jul 2001 03:36:55 +0000 (03:36 +0000)]
* tests/nolink.test: Added no-exeext.
Tom Tromey [Fri, 27 Jul 2001 02:34:40 +0000 (02:34 +0000)]
* automake.in (check_variable_defined_unconditionally): Don't call
macro_dump.
Tom Tromey [Fri, 27 Jul 2001 02:29:42 +0000 (02:29 +0000)]
* automake.texi (Optional): Don't mention ALL_LINGUAS.
(gettext): Likewise.
* automake.in (seen_linguas, all_linguas, all_linguas_line):
Removed.
(handle_gettext): Don't do any checking of the languages.
(scan_one_autoconf_file): Don't look for ALL_LINGUAS.
Tom Tromey [Fri, 27 Jul 2001 00:02:43 +0000 (00:02 +0000)]
* automake.in (am_print_error): New function.
(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.
Tom Tromey [Wed, 25 Jul 2001 15:27:36 +0000 (15:27 +0000)]
From Nicolas Joly:
* tests/pr9.test: Require GNU make.
* tests/dirname.test: Don't use `-u'.
Tom Tromey [Tue, 24 Jul 2001 17:56:33 +0000 (17:56 +0000)]
typo + new comment
Tom Tromey [Mon, 23 Jul 2001 01:01:53 +0000 (01:01 +0000)]
* tests/Makefile.am (TESTS): Added auxdir2.test.
(XFAIL_TESTS): Likewise.
* tests/auxdir2.test: New file.
Tom Tromey [Mon, 23 Jul 2001 00:53:50 +0000 (00:53 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
* automake.in (TARGET_PATTERN): Add `@' as allowable character.
Tom Tromey [Sun, 22 Jul 2001 22:16:30 +0000 (22:16 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
* automake.in (am_install_var): Add $(EXEEXT) even if program name
holds `.'. Don't add $(EXEEXT) if program name already has it.
(handle_programs): Don't add $(EXEEXT) if user already did.
(make_paragraphs): Don't compute EXEEXT.
Tom Tromey [Sun, 22 Jul 2001 22:01:17 +0000 (22:01 +0000)]
* tests/Makefile.am (TESTS): Added exeext.test.
(XFAIL_TESTS): Likewise.
* tests/exeext.test: New file.
Tom Tromey [Sun, 22 Jul 2001 21:50:18 +0000 (21:50 +0000)]
* lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog, not
`prog.exe' on Cygwin with libtool. From Robert Collins.
Tim Van Holder [Sun, 22 Jul 2001 00:27:52 +0000 (00:27 +0000)]
Removed the "SKIP:" message.
Tim Van Holder [Sun, 22 Jul 2001 00:25:35 +0000 (00:25 +0000)]
* tests/dirname.test: Explicitly use $SHELL to run the
script; this avoids failures on DJGPP.
* tests/install2.test: Skip if 'chmod 000' doesn't make
a file unreadable.
Tom Tromey [Sat, 21 Jul 2001 23:46:10 +0000 (23:46 +0000)]
* tests/libtool2.test: Check for libtoolize.