From 7b5d569111c5901cba7e31e3ab9e9a81ab0f306b Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 29 Oct 2002 13:07:18 +0000 Subject: [PATCH] * doc/autoconf.texi (Header Templates): Put also in words what the pictures says to assist free style readers. (Customizing autom4te): s/--cache=/--cache /. --- ChangeLog | 6 ++++++ doc/autoconf.texi | 11 +++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7cf29e9c..099a9888 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-10-29 Akim Demaille + + * doc/autoconf.texi (Header Templates): Put also in words what the + pictures says to assist free style readers. + (Customizing autom4te): s/--cache=/--cache /. + 2002-10-29 Akim Demaille * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and diff --git a/doc/autoconf.texi b/doc/autoconf.texi index acae17bf..45de3c95 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -2471,8 +2471,9 @@ commented out (in case the system predefines that symbol). @end group @end example -You can then decode the configuration header using the preprocessor -directives: +Pay attention that @samp{#undef} is in the first column, and there is +nothing behind @samp{HAVE_UNISTD_H}, not even white spaces. You can +then decode the configuration header using the preprocessor directives: @example @group @@ -2487,7 +2488,9 @@ directives: @end example The use of old form templates, with @samp{#define} instead of -@samp{#undef} is strongly discouraged. +@samp{#undef} is strongly discouraged. Similarly with old templates +with comments on the same line as the @samp{#undef}. Anyway, putting +comments in preprocessor macros has never been a good idea. Since it is a tedious task to keep a template header up to date, you may use @command{autoheader} to generate it, see @ref{autoheader Invocation}. @@ -7679,7 +7682,7 @@ globally, include the following lines in @file{~/.autom4te.cfg}: ## ------------------ ## begin-language: "Autoconf" -args: --cache='' +args: --cache '' end-language: "Autoconf" @end verbatim