@item AC_FUNC_GETLOADAVG
@item AC_FUNC_MEMCMP
@item AC_STRUCT_ST_BLOCKS
-@item AM_FUNC_FNMATCH
+@item AC_FUNC_FNMATCH
@item AM_FUNC_STRTOD
@item AC_REPLACE_FUNCS
@item AC_REPLACE_GNU_GETOPT
that Automake does not come with any of the C sources required to use
these macros, so @code{automake -a} will not install the sources.
@xref{A Library} for more information.
-
@cvindex AC_FUNC_ALLOCA
@cvindex AC_FUNC_GETLOADAVG
@cvindex AC_FUNC_MEMCMP
@cvindex AC_STRUCT_ST_BLOCKS
-@cvindex AM_FUNC_FNMATCH
+@cvindex AC_FUNC_FNMATCH
@cvindex AC_FUNC_FNMATCH
@cvindex AC_REPLACE_FUNCS
@cvindex AC_REPLACE_GNU_GETOPT
@section Auto-generating aclocal.m4
The @code{aclocal} program will automatically generate @file{aclocal.m4}
-files based on the contents of @file{configure.in}.
-
-... explain why on earth you'd want to do this
+files based on the contents of @file{configure.in}. This provides a
+convenient way to get @code{automake}-provided macros, without having to
+search around. Also, the @code{aclocal} mechanism is extensible for use
+by other packages.
@code{aclocal} accepts the following options:
@c consider generating this node automatically from m4 files.
@table @code
-@item AC_FUNC_FNMATCH
-If the @code{fnmatch} function is not available, or does not work
-correctly (like the one on SunOS 5.4), add @samp{fnmatch.o} to output
-variable @code{LIBOBJS}.
-
@item AM_FUNC_STRTOD
If the @code{strtod} function is not available, or does not work
correctly (like the one on SunOS 5.4), add @samp{strtod.o} to output
to be named @file{foo.c} (as opposed to @file{y.tab.c}, which is more
traditional).
-Yacc source files must end with the extension @samp{.y}. Lex source
-files must have the extension @samp{.l}. You should never explicitly
-mention the intermediate @samp{.c} file in any @samp{SOURCES} variable;
-only list the source file.
+The extension of a yacc source file is used to determine the extension
+of the resulting @samp{C} or @samp{C++} file. Files with the extension
+@samp{.y} will be turned into @samp{.c} files; likewise, @samp{.yy} will
+become @samp{.cc}; @samp{.y++}, @samp{c++}; and @samp{.yxx},
+@samp{.cxx}. Likewise, lex source files can be used to generate
+@samp{C} or @samp{C++}; the extensions @samp{.l}, @samp{.ll},
+@samp{.l++}, and @samp{.lxx} are recognized.
+
+You should never explicitly mention the intermediate (@samp{C} or
+@samp{C++}) file in any @samp{SOURCES} variable; only list the source
+file.
The intermediate files generated by yacc (or lex) will be included in
any distribution that is made. That way the user doesn't need to have
in @var{srcdir} and @file{.}. The number of failures will be printed at
the end of the run. The variable @code{TESTS_ENVIRONMENT} can be used
to set environment variables for the test run; the environment variable
-@code{srcdir} is set in the rule.
+@code{srcdir} is set in the rule. If all your test programs are
+scripts, you can also set @code{TESTS_ENVIRONMENT} to an invocation of
+the shell (eg @samp{$(SHELL) -x}); this can be useful for debugging the
+tests.
@vindex TESTS
@vindex TESTS_ENVIRONMENT
-# Makefile.in generated automatically by automake 1.1l from Makefile.am
+# Makefile.in generated automatically by automake 1.1g from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-PACKAGE = @PACKAGE@
PERL = @PERL@
TAR = @TAR@
-VERSION = @VERSION@
AUTOMAKE_OPTIONS = gnits
-TESTS = mdate.test vtexi.test acoutput.test instexec.test checkall.test \
-acoutnoq.test acouttbs.test libobj.test proginst.test acoutqnl.test \
-confincl.test spelling.test prefix.test badprog.test depend.test exdir.test \
-canon.test installsh.test empty.test rulepat.test insh.test canon2.test \
-target.test extra.test noinst.test instman.test mkinstall.test auxdir.test \
-canon3.test mdate2.test subdir.test backsl.test package.test number.test \
-insh2.test outdir.test fpinstall.test fpinst2.test texinfo.test dejagnu.test \
-yacc.test mkinst2.test texinfo2.test ansi.test depacl.test depacl2.test \
-error.test colon.test vtexi2.test tags.test comment.test ansi2.test \
-man.test info.test obsolete.test lex.test scripts.test subdir2.test \
-exsource.test canon4.test dup.test defun.test cxxlink.test cxxnoc.test \
-order.test libobj2.test interp.test block.test libobj3.test dup2.test \
-gnits.test interp2.test colneq.test implicit.test spell.test spell2.test \
-confsub.test primary.test primary2.test depend2.test spell3.test \
-comment2.test vpath.test symlink.test discover.test acinclude.test req.test \
-acsilent.test distdir.test lex2.test libobj4.test libobj5.test version.test \
-ranlib.test confvar.test confvar2.test stdlib.test cxxo.test colon2.test \
-colon3.test remake.test output.test output2.test remake2.test output3.test \
-output4.test colneq2.test subst.test defun2.test
+TESTS = mdate.test vtexi.test acoutput.test instexec.test \
+checkall.test acoutnoq.test acouttbs.test libobj.test proginst.test \
+acoutqnl.test confincl.test spelling.test prefix.test badprog.test \
+depend.test exdir.test canon.test installsh.test empty.test \
+rulepat.test insh.test canon2.test target.test extra.test noinst.test \
+instman.test mkinstall.test auxdir.test canon3.test mdate2.test \
+subdir.test backsl.test package.test number.test insh2.test \
+outdir.test fpinstall.test fpinst2.test texinfo.test dejagnu.test \
+yacc.test mkinst2.test texinfo2.test ansi.test depacl.test \
+depacl2.test error.test colon.test vtexi2.test tags.test comment.test \
+ansi2.test man.test info.test obsolete.test lex.test scripts.test \
+subdir2.test exsource.test canon4.test dup.test defun.test \
+cxxlink.test cxxnoc.test order.test libobj2.test interp.test \
+block.test libobj3.test dup2.test gnits.test interp2.test colneq.test \
+implicit.test spell.test spell2.test confsub.test primary.test \
+primary2.test depend2.test spell3.test comment2.test vpath.test \
+symlink.test discover.test acinclude.test req.test acsilent.test \
+distdir.test lex2.test libobj4.test libobj5.test version.test \
+ranlib.test confvar.test confvar2.test stdlib.test cxxo.test \
+colon2.test colon3.test remake.test output.test output2.test \
+remake2.test output3.test output4.test colneq2.test subst.test \
+defun2.test yaccpp.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
DIST_COMMON = ChangeLog Makefile.am Makefile.in
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
$(TEXINFOS) $(MANS) $(EXTRA_DIST)
default: all
-.SUFFIXES:
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
- cd $(top_srcdir) && automake --gnits tests/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
+ cd $(top_srcdir) && automake --strictness=gnits $(subdir)/Makefile
+
+Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
tags: TAGS
TAGS:
fi
info:
dvi:
-check: all
- $(MAKE) check-TESTS
+check: all check-TESTS
installcheck:
install-exec:
$(NORMAL_INSTALL)
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean: mostlyclean-generic
-clean: clean-generic mostlyclean
+clean: clean-generic mostlyclean
-distclean: distclean-generic clean distclean-local
+distclean: distclean-generic clean
rm -f config.status
-maintainer-clean: maintainer-clean-generic distclean
+maintainer-clean: maintainer-clean-generic distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
-.PHONY: default tags distdir check-TESTS info dvi installcheck \
+.PHONY: default tags distdir check-TESTS info dvi check installcheck \
install-exec install-data install uninstall all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
distclean-local:
rm -rf testSubdir
+.SUFFIXES:
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.