]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Common Shell Constructs): Rename as...
authorAkim Demaille <akim@epita.fr>
Sun, 23 Sep 2001 17:16:57 +0000 (17:16 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 23 Sep 2001 17:16:57 +0000 (17:16 +0000)
(Programming in M4sh): this.
Promote to @section.

ChangeLog
doc/autoconf.texi

index 46350154483be7da905135bb0938cb3fea0a6a1e..37cbca32dc151630fae73580aa40e331fd5b6362 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-09-23  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Common Shell Constructs): Rename as...
+       (Programming in M4sh): this.
+       Promote to @section.
+
+       
 2001-09-23  Akim Demaille  <akim@epita.fr>
 
        * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
index 2e1a3f7514411b883706e8d46caeff58957fc297..d2632173aa05f4248ab121a384d75992041404df 100644 (file)
@@ -307,6 +307,7 @@ Programming in M4
 
 * M4 Quotation::                Protecting macros from unwanted expansion
 * Programming in M4sugar::      Convenient pure M4 macros
+* Programming in M4sh::         Common Shell Constructs
 
 M4 Quotation
 
@@ -320,7 +321,6 @@ Programming in M4sugar
 
 * Redefined M4 Macros::         M4 builtins changed in M4sugar
 * Forbidden Patterns::          Catching unexpanded macros
-* Common Shell Constructs::     Working around shell portability problems
 
 Writing Autoconf Macros
 
@@ -430,6 +430,17 @@ Copying This Manual
 
 * GNU Free Documentation License::  License for copying this manual
 
+Indices
+
+* Environment Variable Index::  Index of environment variables used
+* Output Variable Index::       Index of variables set in output files
+* Preprocessor Symbol Index::   Index of C preprocessor symbols defined
+* Autoconf Macro Index::        Index of Autoconf macros
+* M4 Macro Index::              Index of M4, M4sugar, and M4sh macros
+* Autotest Macro Index::        Index of Autotest macros
+* Program & Function Index::    Index of those with portability problems
+* Concept Index::               General index
+
 @end detailmenu
 @end menu
 
@@ -6230,6 +6241,7 @@ and their interface might change in the future.  As a matter of fact,
 @menu
 * M4 Quotation::                Protecting macros from unwanted expansion
 * Programming in M4sugar::      Convenient pure M4 macros
+* Programming in M4sh::         Common Shell Constructs
 @end menu
 
 @node M4 Quotation
@@ -6689,8 +6701,6 @@ M4sugar''.
 @menu
 * Redefined M4 Macros::         M4 builtins changed in M4sugar
 * Forbidden Patterns::          Catching unexpanded macros
-* Common Shell Constructs::     Working around shell portability problems
-
 @end menu
 
 @node Redefined M4 Macros
@@ -6794,10 +6804,13 @@ Any token matching @var{pattern} is allowed, including if it matches an
 @code{m4_pattern_forbid} pattern.
 @end defmac
 
-@node Common Shell Constructs
-@subsection Common Shell Constructs
+@node Programming in M4sh
+@section Programming in M4sh
+
+@c FIXME: Eventually will become a chapter, as it is not related to
+@c programming in M4 per se.
 
-M4sugar provides portable alternatives for some common shell constructs
+M4sh provides portable alternatives for some common shell constructs
 that unfortunately are not portable in practice.
 
 @defmac AS_DIRNAME (@var{pathname})
@@ -8823,10 +8836,10 @@ Some implementations, such as Tru64's, fail when comparing to
 @c --------------------
 @prindex @command{dirname}
 Not all hosts have a working @command{dirname}, and you should instead
-use @code{AS_DIRNAME} (@pxref{Common Shell Constructs}).  For example.
+use @code{AS_DIRNAME} (@pxref{Programming in M4sh}).  For example:
 
 @example
-dir=`dirname "$file"` # This is not portable.
+dir=`dirname "$file"`       # This is not portable.
 dir=`AS_DIRNAME(["$file"])` # This is more portable.
 @end example