Akim Demaille [Wed, 11 Sep 2002 08:00:10 +0000 (08:00 +0000)]
* lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
it was already supported when --pdf support was added.
Alexandre Duret-Lutz [Tue, 10 Sep 2002 20:45:58 +0000 (20:45 +0000)]
* lib/Automake/Channels.pm (_default_options): Add `backtrace'.
(msg): Die with backtrace if requested.
* automake.in: Enable `backtrace' on the `automake' channel.
Alexandre Duret-Lutz [Tue, 10 Sep 2002 13:55:30 +0000 (13:55 +0000)]
* automake.in (process_option_list): Mention `Automake' in
version-mismatch error.
Suggested by Akim Demaille.
Alexandre Duret-Lutz [Tue, 10 Sep 2002 09:50:23 +0000 (09:50 +0000)]
* tests/Makefile.am ($(TESTS)): Replace by ...
(check_SCRIPTS): ... this.
Suggested by Raja R Harinath.
Alexandre Duret-Lutz [Mon, 9 Sep 2002 08:56:56 +0000 (08:56 +0000)]
* tests/Makefile.am ($(TESTS)): New, depends on defs.
(BUILT_SOURCES): Remove (useless because of PR/359).
Alexandre Duret-Lutz [Mon, 9 Sep 2002 08:27:19 +0000 (08:27 +0000)]
* m4/init.m4: Execute cygpath in a sub-shell.
Alexandre Duret-Lutz [Sun, 8 Sep 2002 19:32:53 +0000 (19:32 +0000)]
typo
Alexandre Duret-Lutz [Sun, 8 Sep 2002 19:28:44 +0000 (19:28 +0000)]
* automake.in (macro_define): Warn about `:=' assignments.
* tests/colneq.test: Check for this warning.
Alexandre Duret-Lutz [Sun, 8 Sep 2002 18:58:28 +0000 (18:58 +0000)]
* automake.texi (Include): Fragments are always distributed.
* NEWS: Likewise.
Alexandre Duret-Lutz [Sun, 8 Sep 2002 13:40:05 +0000 (13:40 +0000)]
2002-09-08 Andreas Buening <andreas.buening@nexgo.de>
Fix for automake/334:
* lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
* m4/init.m4: New make variable CYGPATH_W.
Alexandre Duret-Lutz [Sun, 8 Sep 2002 13:07:56 +0000 (13:07 +0000)]
* configure.in: Check for EGREP and FGREP. Create tests/defs.
* tests/defs: Rename as ...
* tests/defs.in: ... this. Add copyright notice. Use configure's
values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
* tests/Makefile.am (EXTRA_DIST): Remove defs.
(BUILT_SOURCES): New.
* tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
tests/all.test, tests/alpha.test, tests/amassign.test,
tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
tests/ar.test, tests/asm.test, tests/autoheader.test,
tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
tests/backsl.test, tests/backsl2.test, tests/badline.test,
tests/badopt.test, tests/badprog.test, tests/block.test,
tests/canon.test, tests/canon2.test, tests/canon3.test,
tests/canon4.test, tests/canon5.test, tests/ccnoco.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/comment2.test, tests/comment3.test,
tests/comment4.test, tests/comment5.test, tests/comment6.test,
tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
tests/cond11.test, tests/cond12.test, tests/cond13.test,
tests/cond14.test, tests/cond15.test, tests/cond16.test,
tests/cond17.test, tests/cond18.test, tests/cond19.test,
tests/cond2.test, tests/cond20.test, tests/cond21.test,
tests/cond22.test, tests/cond23.test, tests/cond24.test,
tests/cond3.test, tests/cond4.test, tests/cond5.test,
tests/cond6.test, tests/cond7.test, tests/cond8.test,
tests/cond9.test, tests/condd.test, tests/condincl.test,
tests/condincl2.test, tests/condlib.test, tests/condman.test,
tests/condman2.test, tests/conf2.test, tests/confdeps.test,
tests/confdist.test, tests/confh.test, tests/confh4.test,
tests/config.test, tests/confincl.test, tests/confsub.test,
tests/confvar.test, tests/confvar2.test, tests/copy.test,
tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
tests/cygwin32.test, tests/dash.test, tests/defun.test,
tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
tests/depcomp2.test, tests/depdist.test, tests/depend.test,
tests/depend2.test, tests/depend3.test, tests/depend4.test,
tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
tests/discover.test, tests/distcommon.test,
tests/distcommon2.test, tests/distcommon3.test,
tests/distdir.test, tests/distname.test, tests/dollar.test,
tests/double.test, tests/dup2.test, tests/dup3.test,
tests/else.test, tests/empty.test, tests/empty2.test,
tests/empty3.test, tests/empty4.test, tests/error.test,
tests/exdir.test, tests/exdir2.test, tests/exeext.test,
tests/exeext2.test, tests/exsource.test, tests/ext.test,
tests/ext2.test, tests/extra.test, tests/extra2.test,
tests/extra3.test, tests/extra4.test, tests/extra5.test,
tests/extra6.test, tests/extra7.test, tests/flibs.test,
tests/fnoc.test, tests/fo.test, tests/fonly.test,
tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
tests/gcj5.test, tests/getopt.test, tests/gettext.test,
tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
tests/implicit.test, tests/include.test, tests/include2.test,
tests/info.test, tests/insh.test, tests/insh2.test,
tests/install.test, tests/install2.test, tests/installdir.test,
tests/installsh.test, tests/instdata.test, tests/instdata2.test,
tests/instexec.test, tests/insthook.test, tests/instman.test,
tests/instman2.test, tests/interp.test, tests/interp2.test,
tests/java.test, tests/java2.test, tests/javaprim.test,
tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
tests/library.test, tests/library2.test, tests/libtool.test,
tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
tests/link_f_c_cxx.test, tests/link_f_cxx.test,
tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
tests/maintclean.test, tests/make.test, tests/makevars.test,
tests/man.test, tests/man2.test, tests/mclean.test,
tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
tests/nolink.test, tests/nostdinc.test, tests/number.test,
tests/obsolete.test, tests/order.test, tests/outdir.test,
tests/output.test, tests/output2.test, tests/output3.test,
tests/output4.test, tests/output5.test, tests/package.test,
tests/parse.test, tests/percent.test, tests/pluseq.test,
tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
tests/ppf77.test, tests/pr2.test, tests/pr204.test,
tests/pr211.test, tests/pr220.test, tests/pr224.test,
tests/pr229.test, tests/pr243.test, tests/pr266.test,
tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
tests/pr87.test, tests/pr9.test, tests/prefix.test,
tests/primary.test, tests/primary2.test, tests/proginst.test,
tests/python.test, tests/python2.test, tests/ranlib.test,
tests/recurs.test, tests/recurs2.test, tests/remake.test,
tests/remake2.test, tests/remake3.test, tests/req.test,
tests/required.test, tests/required2.test, tests/rulepat.test,
tests/scripts.test, tests/seenc.test, tests/sinclude.test,
tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
tests/specflags.test, tests/specflags2.test,
tests/specflags3.test, tests/specflags6.test,
tests/specflags7.test, tests/specflags8.test,
tests/specflags9.test, tests/spell.test, tests/spell2.test,
tests/spell3.test, tests/spelling.test, tests/stamph.test,
tests/stamph2.test, tests/stdlib.test, tests/strip.test,
tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
tests/subdir7.test, tests/subdirbuiltsources.test,
tests/subdircond.test, tests/subdircond2.test,
tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
tests/subst.test, tests/substref.test, tests/substtarg.test,
tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
tests/symlink3.test, tests/syntax.test, tests/tags.test,
tests/tagsub.test, tests/target-cflags.test, tests/target.test,
tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
tests/texinfo16.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/transform.test, tests/unused.test, tests/vars.test,
tests/vars2.test, tests/vars3.test, tests/vartar.test,
tests/version.test, tests/version2.test, tests/version3.test,
tests/version4.test, tests/version5.test, tests/version6.test,
tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
tests/warnopts.test, tests/werror.test, tests/whoami.test,
tests/xsource.test, tests/yacc.test, tests/yacc2.test,
tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
Source ./defs instead of $srcdir/defs.
Alexandre Duret-Lutz [Thu, 5 Sep 2002 15:08:12 +0000 (15:08 +0000)]
regen
Alexandre Duret-Lutz [Thu, 5 Sep 2002 14:29:45 +0000 (14:29 +0000)]
* lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
distributed files, to workaround Sun make VPATH munging.
This fixes subdircond2.test, subdircond3.test, and subpkg.test
on Solaris.
* tests/extra6.test, tests/lex3.test, tests/pr87.test,
tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
Don't require GNU make.
Alexandre Duret-Lutz [Thu, 5 Sep 2002 10:25:06 +0000 (10:25 +0000)]
* lib/am/distdir.am: Add missing `;'.
Alexandre Duret-Lutz [Thu, 5 Sep 2002 10:06:14 +0000 (10:06 +0000)]
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
Alexandre Duret-Lutz [Wed, 4 Sep 2002 22:08:34 +0000 (22:08 +0000)]
For automake/354:
* lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
Don't use `-o' unless necessary.
Alexandre Duret-Lutz [Tue, 3 Sep 2002 09:03:54 +0000 (09:03 +0000)]
regen with Autoconf 2.53c
Alexandre Duret-Lutz [Sun, 25 Aug 2002 20:45:51 +0000 (20:45 +0000)]
For PR automake/343:
* automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
and pdf.
(output_texinfo_build_rules): Define %DIRSTAMP% when processing
texibuild.am. Return $dirstamp and a list of files to clean.
(handle_texinfo_helper): Process texi-vers.am after the call to
output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
* lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
(%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
* tests/texinfo13.test: New file.
* tests/Makefile.am (TESTS): Add texinfo13.test.
* lib/am/texinfos.am (install-info-am, dist-info): Looks for
info files in build or source directory.
This completes the change from 2002-07-30 (for PR automake/168).
Alexandre Duret-Lutz [Sat, 24 Aug 2002 20:43:02 +0000 (20:43 +0000)]
* automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
(maintainer_clean_files): Replace by ...
(clean_files): ... this new variable.
(initialize_per_input, lang_yacc_target_hook,
lang_lex_target_hook): Use %clean_files instead of
@maintainer_clean_files.
(handle_clean): Rewrite, using %clean_files.
(require_build_directory_maybe): Use %clean_files instead
of %compile_clean_files. This allows using
&require_build_directory_maybe for non-compiling targets.
* lib/am/clean.am (mostlyclean-generic, clean-generic,
distclean-generic, maintainer-clean-generic): Rewrite using
%MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
%MAINTAINER_CLEAN_RMS%.
Alexandre Duret-Lutz [Sat, 24 Aug 2002 12:46:03 +0000 (12:46 +0000)]
For Debian Bug#157778:
* m4/python.m4: Fix output of `python' in checking messages
when no version of Python is required.
Raja R Harinath [Sat, 24 Aug 2002 03:32:12 +0000 (03:32 +0000)]
(%EXT%.lo): Fix typo. Rename the file that
was generated by gcc -MF.
Pavel Roskin [Sat, 24 Aug 2002 01:38:52 +0000 (01:38 +0000)]
* lib/am/progs.am: Exit in case of install failure, otherwise
it is ignored on Cygwin because of the surrounding "for" loop.
Alexandre Duret-Lutz [Fri, 23 Aug 2002 19:11:32 +0000 (19:11 +0000)]
* automake.texi (Top level): More words about conditional
subdirectories. Don't mention AC_PROG_MAKE_SET.
* tests/subdircond2.test, tests/subdircond3.test: New files.
* tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz [Fri, 23 Aug 2002 13:32:55 +0000 (13:32 +0000)]
For PR automake/347:
* automake.in (MACRO_PATTERN): Allow `.' in variable names.
(scan_variable_expansions, check_variable_expansions): New functions.
(macro_define): Call check_variable_expansions.
(read_am_file): Likewise, when outputing rules.
(variable_conditions_recursive_sub): Simplify using
scan_variable_expansions.
* tests/vars3.test: New file.
* tests/Makefile.am (TESTS): Add vars3.test.
* tests/colneq.test: Use -Wno-portability.
Alexandre Duret-Lutz [Fri, 23 Aug 2002 12:24:48 +0000 (12:24 +0000)]
* lib/Automake/Channels.pm (buffering, backlog): New variables.
(buffer_messages, flush_messages): New functions.
(@EXPORT): Add buffer_messages and flush_messages.
* automake.in (generate_makefile): Call buffer_messages and
flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
been read.
Alexandre Duret-Lutz [Thu, 22 Aug 2002 22:57:52 +0000 (22:57 +0000)]
* automake.in (read_am_file): File computation of path to
included file, when $(top_srcdir) is not used.
* tests/include2.test: Augment.
Alexandre Duret-Lutz [Thu, 22 Aug 2002 17:23:03 +0000 (17:23 +0000)]
* automake.in (set_strictness): Never enable 'portability'
warnings for now.
(usage): Adjust `-Wportability' doc.
* automake.texi (Invoking Automake): Likewise.
Suggested by Ralf Corsepius.
Alexandre Duret-Lutz [Wed, 21 Aug 2002 11:33:58 +0000 (11:33 +0000)]
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
so_location files in current directory.
Alexandre Duret-Lutz [Wed, 21 Aug 2002 11:20:11 +0000 (11:20 +0000)]
Fix for PR automake/346:
* automake.texi (Optional): Supress the documentation for
AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
documentation of AC_LIBSOURCE and AC_SUBST to explain this
applies to any macro that calls them.
Tom Tromey [Mon, 19 Aug 2002 22:48:39 +0000 (22:48 +0000)]
For PR automake/348:
* tests/Makefile.am (TESTS): Added include2.test.
* tests/include2.test: New file.
* tests/include.test: Check to make sure include file is
distributed.
* automake.in (read_am_file): Distribute included files.
Alexandre Duret-Lutz [Mon, 19 Aug 2002 13:09:00 +0000 (13:09 +0000)]
Fix for PR automake/345:
* tests/defs: Add support for required=non-root, stolen
from fileutils' test suite.
* tests/destdir.test: Use required=non-root.
Alexandre Duret-Lutz [Mon, 19 Aug 2002 09:03:48 +0000 (09:03 +0000)]
* tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
Tom Tromey [Sun, 18 Aug 2002 22:26:37 +0000 (22:26 +0000)]
For PR automake/347:
* automake.in (rule_define): Given portability warning if "%" seen
in target name.
(TARGET_PATTERN): Added `%'.
* tests/Makefile.am (TESTS): Added percent.test.
* tests/percent.test: New file.
Tom Tromey [Thu, 15 Aug 2002 17:32:12 +0000 (17:32 +0000)]
2002-08-15 Art Haas <ahaas@neosoft.com>
* lib/am/depend2.am: Use correct name for dependency file in
libtool fastdep case.
Tom Tromey [Wed, 14 Aug 2002 16:21:00 +0000 (16:21 +0000)]
2002-08-14 Art Haas <ahaas@neosoft.com>
* lib/am/depend2.am: Added missing `;'.
Alexandre Duret-Lutz [Fri, 2 Aug 2002 19:52:05 +0000 (19:52 +0000)]
* automake.texi (Python): Fix wording.
Alexandre Duret-Lutz [Fri, 2 Aug 2002 16:10:28 +0000 (16:10 +0000)]
* tests/ext2.test: New file. This bug is present in Automake 1.6.3
and was fixed by the change on variable_conditions_permutations
and invert_conditions on 2002-05-16.
* tests/Makefile.am (TESTS): Add ext2.test.
Reported by Ladislav Strojil.
Alexandre Duret-Lutz [Thu, 1 Aug 2002 22:24:33 +0000 (22:24 +0000)]
* aclocal.in (parse_arguments): Add `dirlist' paths add the
very end of the search path, after aclocal-APIVERSION/ and
aclocal/.
* automake.texi (Macro search path): Adjust to reflect the
new ordering.
* tests/dirlist.test: Check for this.
Alexandre Duret-Lutz [Wed, 31 Jul 2002 19:58:26 +0000 (19:58 +0000)]
2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
* aclocal.in (parse_arguments): Add support for extending
default macro search path, using a `dirlist' file within
the aclocal directory.
* automake.texi (Invoking aclocal): Move option descriptions into ...
(aclocal options): ... this new node.
(Macro search path): New node.
* tests/dirlist.test: New file.
* tests/Makefile.am (TESTS): Add dirlist.test.
* m4/dirlist: New file.
* m4/Makefile.am (EXTRA_DIST): Add dirlist.
* tests/defs: Honor any installed dirlist when searching for
libtool.m4 and gettext.m4.
Alexandre Duret-Lutz [Tue, 30 Jul 2002 20:15:32 +0000 (20:15 +0000)]
Build info files in builddir instead of srcdir (for PR automake/168),
and prepare support for info files in subdirecties.
* automake.in (output_texinfo_build_rules): New function.
(handle_texinfo_helper): Use output_texinfo_build_rules, and
prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
* lib/am/texi-vers.am: Build version.texi and stamp-vti in the
current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
file.
* lib/am/texibuild.am: Rewrite to output files in the current
directory, not $(srcdir). Also, support both generic and
non-generic output. Pass `-o $@' to makeinfo, texinfo, and
texi2dvi -- this is a partial fix for PR automake/339.
* tests/texinfo3.test: Make sure the `.texi:' rule is output.
* tests/texinfo10.test: Use set -e, so the checks are not ignored.
* tests/texinfo16.test: New file.
* tests/Makefile.am (TESTS): Add texinfo16.test.
Alexandre Duret-Lutz [Mon, 29 Jul 2002 16:57:38 +0000 (16:57 +0000)]
* aclocal.in (write_aclocal): Don't write the filename ($output_file)
in the aclocal.m4 header.
Alexandre Duret-Lutz [Mon, 29 Jul 2002 16:41:25 +0000 (16:41 +0000)]
* configure.in: Require Autoconf 2.53b.
Alexandre Duret-Lutz [Sun, 28 Jul 2002 19:32:38 +0000 (19:32 +0000)]
* configure.in: Bump version to 1.6c.
Alexandre Duret-Lutz [Sun, 28 Jul 2002 18:47:46 +0000 (18:47 +0000)]
* configure.in: Bump version to 1.6b.
* lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
upstream versions.
* automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
since this file is processed by config.status.
Alexandre Duret-Lutz [Thu, 25 Jul 2002 21:28:41 +0000 (21:28 +0000)]
* automake.in (read_am_file): Escaped newlines in comments are not
portable. If a comment line doesn't start with a `#', add it.
* tests/comment6.test: Ensure this is done.
Alexandre Duret-Lutz [Wed, 24 Jul 2002 21:45:46 +0000 (21:45 +0000)]
Fix failures reported by Patrick Welche on NetBSD.
* tests/gnits2.test, tests/gnits3.test: Don't trust the exit
status of `make -k'.
* tests/obsolete.test: Source obs.1 and obs.2 from current
directory.
Alexandre Duret-Lutz [Tue, 23 Jul 2002 19:10:50 +0000 (19:10 +0000)]
2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
configure.lineno.
Alexandre Duret-Lutz [Tue, 23 Jul 2002 18:58:07 +0000 (18:58 +0000)]
* tests/required2.test: New file.
* tests/Makefile.am (TESTS): Add required2.test.
* automake.in (initialize_per_input): Remove %require_file_found
setting. This reverts my change of 2002-04-19.
(require_file_internal): Use the full name of a file as a
key in %require_file_found, not only the basename.
Reported by Andrew Suffield.
Alexandre Duret-Lutz [Mon, 22 Jul 2002 20:53:03 +0000 (20:53 +0000)]
* automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
* tests/subdir7.test: New file.
* tests/Makefile.am (TESTS): Add subdir7.test.
Alexandre Duret-Lutz [Mon, 22 Jul 2002 17:14:45 +0000 (17:14 +0000)]
* lib/mkinstalldirs: Remove Id keyword.
Alexandre Duret-Lutz [Mon, 22 Jul 2002 17:00:44 +0000 (17:00 +0000)]
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
* automake.texi (Options) <std-options>: Document
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
(Gnits): Reference std-options.
* tests/gnits3.test: New file.
* tests/Makefile.am (TESTS): Add gnits3.test.
Suggested by Jim Meyering.
Alexandre Duret-Lutz [Sat, 20 Jul 2002 15:48:35 +0000 (15:48 +0000)]
* tests/gnits2.test: Use --program-prefix. Test for scripts too.
Replace the sed script by calls to grep, easier to debug.
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
and $(transform).
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
Alexandre Duret-Lutz [Sat, 20 Jul 2002 15:11:50 +0000 (15:11 +0000)]
* lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
Always strip the directory part before applying $(transform),
even for nobase_ targets.
* lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
Likewise.
* tests/nobase.test: Use --program-prefix while testing nobase
support.
Alexandre Duret-Lutz [Fri, 19 Jul 2002 20:23:38 +0000 (20:23 +0000)]
* tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
* tests/Makefile.am (TESTS): Remove dirname.test.
Alexandre Duret-Lutz [Fri, 19 Jul 2002 20:17:59 +0000 (20:17 +0000)]
* m4/init.m4: Require Autoconf 2.53b.
* m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
* m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
* m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
* m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
* m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
* m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
* m4/regex.m4 (fp_WITH_REGEX): Likewise.
* m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
in m4/obsolete.m4.
* m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
AU_DEFUNed in m4/obsolete.m4.
* m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
* m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
and obsolete.m4. Remove termios.m4 and winsz.m4.
* aclocal.in (obsolete, obsolete_rx): Remove.
(scan_configure): Don't grep for obsolete macros.
* tests/defs (AUTOUPDATE): Define.
* Makefile.am (maintainer-check): Check for misuses of autoupdate.
* tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
m4/obsolete.m4.
Alexandre Duret-Lutz [Fri, 19 Jul 2002 11:04:14 +0000 (11:04 +0000)]
Fix for PR automake/338:
* automake.in (seen_gettext_external): New variable.
(handle_gettext): Conditionalize the intl/ check on
$seen_gettext_external. Fix grep usage.
(scan_autoconf_traces): Set $seen_gettext_external if
`external' is passed to AM_GNU_GETTEXT.
* tests/gettext.test, tests/gettext2.test: New files.
* tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
Alexandre Duret-Lutz [Thu, 18 Jul 2002 11:16:40 +0000 (11:16 +0000)]
* m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
_AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
(AM_CONFIG_HEADER): ... this new definition for compatibility.
* m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
(_AC_AM_CONFIG_HEADER_HOOK): New macro.
* tests/confh5.tests: Delete.
* tests/Makefile.am (TESTS): Remove confh5.tests.
Alexandre Duret-Lutz [Tue, 16 Jul 2002 21:51:52 +0000 (21:51 +0000)]
* automake.in (handle_single_transform_list): Typo.
Alexandre Duret-Lutz [Tue, 16 Jul 2002 21:46:59 +0000 (21:46 +0000)]
* lib/Automake/Channels.pm (dup_channel_setup,
drop_channel_setup): New functions.
(@EXPORT): Add them.
* automake.in (generate_makefile): Call dup_channel_setup and
drop_channel_setup.
(process_option_list): Recognize --warnings and -W options.
* automake.texi (Options): Document them.
* tests/pluseq5.test: Check that -Wno-obsolete will disable the
warning.
* tests/warnopts.test: New file.
* tests/Makefile.am (TESTS): Add warnopts.test.
Alexandre Duret-Lutz [Fri, 12 Jul 2002 08:00:57 +0000 (08:00 +0000)]
* automake.in: Register warning channel `gnu'.
(set_strictness): Turn on `gnu' in --gnu and --gnits.
(usage): Mention the `gnu' category.
(%var_is_am): Replace by ...
(%var_owner): ... this, which uses ...
(VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
Adjust all uses of %var_is_am.
(handle_languages): Warn about user variables being overriden.
(require_variables): Also check %configure_vars for the existence
of a required variable.
* automake.texi (Invoking Automake): Document -Wgnu.
* tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
we test YFLAGS.
* tests/gnuwarn.test: New file.
* tests/Makefile.am (TESTS): Add gnuwarn.test.
Alexandre Duret-Lutz [Thu, 11 Jul 2002 20:10:39 +0000 (20:10 +0000)]
Fix for PR automake/337:
* automake.in: Redefine the `flags' attribute of each language
as a list. List CPPFLAGS in `flags' when it is used.
(register_language): Set the default value of 'flags'.
(handle_single_transform_list): Adjust to treat `flags' as a list.
(handle_languages): Likewise. Don't bother defining the
configure variable for `c', this is always done since we trace
configure.ac.
* automake.texi (etags): Use per-executable _CPPFLAGS.
(Program and Library Variables): Mention maude_CPPFLAGS.
(Program variables): Likewise.
* tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
* tests/specflags9.test: New file.
* tests/Makefile.am (TESTS): Add specflag9.test.
Alexandre Duret-Lutz [Wed, 10 Jul 2002 21:21:27 +0000 (21:21 +0000)]
* automake.texi: Use `variable' instead of `macro' everywhere it
designates a Makefile variable.
(Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
`flags', not `macros'. `Macro' means something else in Texinfo.
Also show how to use these flags.
* automake.in (file_contents_internal): s/macro/variable/ in
error message.
Alexandre Duret-Lutz [Wed, 10 Jul 2002 20:30:24 +0000 (20:30 +0000)]
* automake.in (parse_arguments): Call Getopt twice: once to catch
--help or --verbose, and once to process the other arguments.
(usage, verbose): Always exit 0, ignoring $exit_code (which anyway
should always be 0 because of the change to parse_arguments).
* tests/Makefile.am (TESTS): Add getopt.test.
* tests/getopt.test: New file.
Tom Tromey [Wed, 10 Jul 2002 05:36:46 +0000 (05:36 +0000)]
For PR automake/286:
* automake.texi (Tags): Document ctags.
* automake.in (handle_tags): Handle ctags.
* lib/am/tags.am (CTAGS): New macro.
(CTAGSFLAGS): Likewise.
(ctags): New target.
(distclean-tags): Remove `tags'.
Tom Tromey [Wed, 10 Jul 2002 05:33:31 +0000 (05:33 +0000)]
* lib/am/depend2.am: Reworked syntax to avoid parsing problem.
Tom Tromey [Wed, 10 Jul 2002 04:41:55 +0000 (04:41 +0000)]
* lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
before passing to cygpath. Partial fix for PR automake/334.
Alexandre Duret-Lutz [Tue, 9 Jul 2002 20:46:19 +0000 (20:46 +0000)]
* automake.in (generate_makefile): Suggest using AM_CPPFLAGS
instead of INCLUDES.
* tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
Alexandre Duret-Lutz [Tue, 9 Jul 2002 19:45:10 +0000 (19:45 +0000)]
* automake.in (usage, version): Honor $exit_code.
(parse_arguments): Use fatal.
Alexandre Duret-Lutz [Tue, 9 Jul 2002 19:12:32 +0000 (19:12 +0000)]
* automake.texi (Invoking Automake): Document WARNINGS.
* automake.in (switch_warning, parse_WARNINGS): New function.
(setup_warnings): Rename to ...
(parse_warnings): ... this. Move most of the code to switch_warning.
Accept a comma separated list of categories.
* tests/vars2.test: Use a comma separated list of warning categories.
Alexandre Duret-Lutz [Mon, 8 Jul 2002 20:13:38 +0000 (20:13 +0000)]
* NEWS (New in 1.6): Mention that libtoolize is no longer run
by automake.
Alexandre Duret-Lutz [Mon, 8 Jul 2002 19:41:24 +0000 (19:41 +0000)]
Fix for PR automake/291:
* automake.in (macro_define): Catch variable names starting
with `_'.
(handle_installdirs): Rename _am_installdirs to am__installdirs.
* lib/am/data.am, lib/am/install.am, lib/am/libs.am,
lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
lib/am/texinfos.am: Likewise.
* tests/canon5.test: Use -Wno-portability.
* tests/vars2.test: New file.
* tests/Makefile.am (TESTS): Add vars2.test.
Alexandre Duret-Lutz [Mon, 8 Jul 2002 19:11:44 +0000 (19:11 +0000)]
* tests/defs (AUTOMAKE): Add -Wall.
* tests/outdir.test: Use -Wno-obsolete.
Tom Tromey [Sun, 7 Jul 2002 22:38:46 +0000 (22:38 +0000)]
* m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
conditional.
* automake.in (handle_languages): Compute FASTDEP.
* lib/am/depend2.am: Added %FASTDEP% mode.
Tom Tromey [Sun, 7 Jul 2002 21:40:43 +0000 (21:40 +0000)]
* automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
now. Fixes PR automake/332.
Alexandre Duret-Lutz [Sat, 6 Jul 2002 13:06:16 +0000 (13:06 +0000)]
* tests/nobase.test (test-install-exec): Move all the `test -f'
tests in the Makefile so we can use $(EXEEXT) on programs.
Reported by Charles Wilson.
Alexandre Duret-Lutz [Sat, 6 Jul 2002 12:11:12 +0000 (12:11 +0000)]
* m4/header.m4 (AM_CONFIG_HEADER): New macro.
* tests/confh5.test: Make sure that Autoconf complains if
AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
AM_INIT_AUTOMAKE.
Alexandre Duret-Lutz [Sat, 6 Jul 2002 10:21:36 +0000 (10:21 +0000)]
* lib/Automake/Channels.pm: New file.
* 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'.
Tom Tromey [Fri, 5 Jul 2002 22:59:22 +0000 (22:59 +0000)]
* automake.texi (Java Support): Mention --main and _LDFLAGS.
For PR automake/324.
Alexandre Duret-Lutz [Thu, 4 Jul 2002 15:55:22 +0000 (15:55 +0000)]
* tests/asm.test: Erase Autom4te's cache between each test.
Alexandre Duret-Lutz [Wed, 3 Jul 2002 18:50:04 +0000 (18:50 +0000)]
* automake.in (am_macro_for_var): Add LIBTOOL.
(ac_macro_for_var): Add RANLIB.
(seen_libtool): Remove.
(handle_libtool, lang_c_finish, define_compiler_variable,
make_paragraphs): Use
variable_defined ('LIBTOOL') instead of $seen_libtool.
(handle_languages) <%transform>: Don't set 'LIBTOOL', it is
already done in make_paragraphs.
(handle_libraries): Simplify by requiring RANLIB with
&require_variables_for_macro.
(handle_ltlibraries): Simplify by requiring LIBTOOL with
&require_variables_for_macro.
(scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
AM_PROG_LIBTOOL.
* tests/libtool4.test, tests/library2.test: New files.
* tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
Alexandre Duret-Lutz [Tue, 2 Jul 2002 09:27:00 +0000 (09:27 +0000)]
* automake.in (create, keyed_aclocal_warning): Delete, unused.
Alexandre Duret-Lutz [Mon, 1 Jul 2002 16:17:36 +0000 (16:17 +0000)]
* automake.in (ac_macro_for_var): Add YACC.
Alexandre Duret-Lutz [Mon, 1 Jul 2002 16:10:35 +0000 (16:10 +0000)]
Handle multiple suffix rules with the same input extension.
For PR automake/37.
* automake.in (suffix_rules_default): New variable.
(suffix_rules): Redefine as a hash of hashes of pairs.
(initialize_per_input): Setup suffix_rules_default from
suffix_rules on first call, an override suffix_rules
with suffix_rules_default on following calls.
(struct) <output_extensions>: New attribute.
(register_language): Set the default for output_extensions.
Call register_suffix_rule for each suffix.
(derive_suffix, handle_languages): Adjust to the new definition
of $suffix.
(register_suffix_rule): New function.
(rule_define): Call register_suffix_rule.
* tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
New files.
* tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz [Sun, 30 Jun 2002 22:44:13 +0000 (22:44 +0000)]
* automake.in (am_macro_for_var, ac_macro_for_var,
required_variables): New variables.
(am_c_prototypes, seen_prog_lex, am_lispdir_location,
pythondir_location): Remove.
(initialize_per_input): Clear %required_variables.
(require_variables, require_variables_for_macro): New functions.
(handle_languages): Call &require_variables for $lang->config_vars.
(handle_compile): Call &require_variables_for_macro for the
ANSI2KNR and U variables.
(handle_emacs_lisp): Call &require_variables for EMACS and libdir.
(handle_python): Call &require_variables for PYTHON. Don't
explicitly allow `python' as a prefix for PYTHON.
(scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
AM_PATH_LISPDIR, and AM_PATH_PYTHON.
(scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
AMDEPBACKSLASH here...
(define_configure_variable): ... do this here.
(am_primary_prefixes): Probe the existence of ${X}dir using
&require_variables_for_macro. If a standard prefix is not
legitimate, say so. Ignore all configure variables.
* tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
tests/lisp2.test, tests/python2.test: New files
* tests/Makefile.am (TESTS): Add them.
* tests/asm.test: Grep stderr.
* tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
* tests/python.test: Make sure py-compile is installed.
Alexandre Duret-Lutz [Thu, 27 Jun 2002 19:31:59 +0000 (19:31 +0000)]
* automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
Adjust all occurrences.
Alexandre Duret-Lutz [Thu, 27 Jun 2002 19:19:47 +0000 (19:19 +0000)]
* aclocal.in: Add local variables so that Emacs setups GNU style
for perl-mode and cperl-mode.
* automake.in: Likewise.
(WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "$" to please
perl-mode.
Alexandre Duret-Lutz [Thu, 27 Jun 2002 08:46:45 +0000 (08:46 +0000)]
* Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
* lib/config.sub, lib/install-sh: New upstream versions.
Paul Eggert [Thu, 27 Jun 2002 01:28:07 +0000 (01:28 +0000)]
(maintainer-check): Don't assume that egrep exists;
this fixes a portability bug introduced in the 2002-06-08 fix for
PR automake/317.
Paul Eggert [Thu, 27 Jun 2002 01:27:29 +0000 (01:27 +0000)]
* Makefile.am (maintainer-check): Don't assume that egrep exists;
this fixes a portability bug introduced in the 2002-06-08 fix for
PR automake/317.
Alexandre Duret-Lutz [Wed, 26 Jun 2002 19:13:56 +0000 (19:13 +0000)]
* automake.in (required_targets): Add ps and ps-am.
(initialize_per_input): Reset them.
(handle_texinfo_helper): Fill @pss_list, and define the
PSS make variable.
* lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
(ps, ps-am): New targets.
* automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
`make ps' and `make pdf'.
(Texinfo): Document `make ps', `make pdf', and `make dvi'.
(Extending): The `ps' and `pdf' targets support a `-local' version.
Alexandre Duret-Lutz [Wed, 26 Jun 2002 08:37:48 +0000 (08:37 +0000)]
* automake.texi: s/.../@dots{}/.
Alexandre Duret-Lutz [Wed, 26 Jun 2002 08:15:25 +0000 (08:15 +0000)]
* configure.in: Check that ln works, fall back to `cp -p'.
* Makefile.am (install-exec-hook): Use $(LN) instead of ln.
Reported by Andreas Buening.
Alexandre Duret-Lutz [Fri, 21 Jun 2002 20:24:33 +0000 (20:24 +0000)]
* automake.in: Register &lang_lex_target_hook for lex and lexxx.
(lang_lex_target_hook): New function.
* tests/lex3.c: Complete to check that maintainer-clean erases
Lex's output.
Reported by Flavien Astraud. This was lost on 2001-06-23 too.
Alexandre Duret-Lutz [Fri, 21 Jun 2002 19:59:40 +0000 (19:59 +0000)]
* automake.in (lang_yacc_target_hook): Add $output to
@maintainer_clean_files. This was lost on 2001-06-23.
* tests/yacc7.test, tests/yacc4.test: Complete to check
that maintainer-clean erases YACC's output files,
respectively with and without `-d'.
Reported by Flavien Astraud.
Alexandre Duret-Lutz [Wed, 19 Jun 2002 19:57:40 +0000 (19:57 +0000)]
* lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
traced from configure.ac.
* automake.in (macro_define): Don't accept to override an AC_SUBST
or Automake variable in a new condition.
* tests/cond23.test, tests/cond24.test: New file.
* tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
Reported by Patrik Weiskirchre.
Alexandre Duret-Lutz [Wed, 19 Jun 2002 18:31:37 +0000 (18:31 +0000)]
* tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
tests/pr300-ltlib.test, tests/pr300-prog.test,
tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
tests/subobj6.test, tests/subpkg.test, tests/transform.test:
Require gcc.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 20:08:01 +0000 (20:08 +0000)]
* tests/libtool2.test: Use required=libtoolize.
* tests/install2.test: Use required=gzip.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 19:55:58 +0000 (19:55 +0000)]
* tests/defs (required): Handle bison; set YACC automatically.
* tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
tests/yaccvpath.test: Require bison. Don't set YACC.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 19:44:48 +0000 (19:44 +0000)]
* tests/defs (required): Handle `gcc' and `g++'; automatically
export CC and CXX when they are required.
* 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/pr220.test,
tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
configure.
* tests/subobj9.test: Require g++.
Alexandre Duret-Lutz [Tue, 18 Jun 2002 19:08:28 +0000 (19:08 +0000)]
* tests/defs (required): Handle `GNUmake'.
(needs_gnu_make): Don't define anymore.
* tests/cond4.test, tests/cond18.test, tests/cond19.test,
tests/dollar.test, tests/exsource.test, tests/extra6.test,
tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
tests/yaccvpath.test: Use `required=GNUmake' instead of
`$needs_gnu_make'.