+2000-11-14 Akim Demaille <akim@epita.fr>
+
+ * doc/autoconf.texi (autoconf Invocation): Explain `-W error'
+ gives back traces.
+
2000-11-11 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_CHECK_FUNCS): Add missing m4 quotes.
@noindent
If you want to disable @command{autoconf}'s defaults and @code{WARNING}
-but enable the warnings about obsolete constructs, use @samp{-W
+but enable the warnings about obsolete constructs, use @option{-W
none,obsolete}.
+@cindex Back trace
+@cindex Macro invocation stack
+@command{autoconf} displays a back trace for errors, but not for
+warnings; if you want them, just pass @option{-W error}. For instance
+on this @file{configure.in}:
+
+@example
+AC_DEFUN([INNER],
+[AC_TRY_RUN([true])])
+
+AC_DEFUN([OUTTER],
+[INNER])
+
+AC_INIT
+OUTTER
+@end example
+
+@noindent
+you get:
+
+@example
+/tmp % ace -Wcross
+configure.in:8: warning: AC_TRY_RUN called without default to allow \
+cross compiling
+/tmp % ace -Wcross,error
+configure.in:8: error: AC_TRY_RUN called without default to allow \
+cross compiling
+acgeneral.m4:3044: AC_TRY_RUN is expanded from...
+configure.in:2: INNER is expanded from...
+configure.in:5: OUTTER is expanded from...
+configure.in:8: the top level
+@end example
+
@item --trace=@var{macro}[:@var{format}]
@itemx -t @var{macro}[:@var{format}]
Do not create the @code{configure} script, but list the calls to
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
-.TH AUTOSCAN "1" "October 2000" "GNU autoconf 2.49b" FSF
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
+.TH AUTOSCAN "1" "November 2000" "GNU autoconf 2.49b" FSF
.SH NAME
autoscan \- Generate a preliminary configure.in
.SH SYNOPSIS
DISTCLEANFILES = atconfig testsuite
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES = atconfig
-DIST_COMMON = README Makefile.am Makefile.in atconfig.in
+DIST_COMMON = README Makefile.am Makefile.in atconfig.in configure \
+configure.in
PACKAGE = @PACKAGE@