]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Document that $((expression)) is not portable.
authorBenoit Sigoure <tsuna@lrde.epita.fr>
Sun, 11 Nov 2007 17:41:58 +0000 (18:41 +0100)
committerBenoit Sigoure <tsuna@lrde.epita.fr>
Mon, 12 Nov 2007 08:42:37 +0000 (09:42 +0100)
* doc/autoconf.texi (Shell Substitutions): Here.

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
ChangeLog
doc/autoconf.texi

index 69e6990f5abc747ce9c51232e20494ec9b143b1a..d8c5b9404c18f99134f054776e9ad9e627efa736 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-11  Benoit Sigoure  <tsuna@lrde.epita.fr>
+
+       Document that $((expression)) is not portable.
+       * doc/autoconf.texi (Shell Substitutions): Here.
+
 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Ignore configure --help* errors due to LINENO-impaired shells.
index 421056e0305c285c0be2d41af9a5f5684267de63..acc80cf43c1a1676240ba768857e547a4fc2c238 100644 (file)
@@ -13061,6 +13061,14 @@ mishandle them.  For example, Bash 3.1, @samp{ksh88}, @command{pdksh}
 echo $(case x in x) echo hello;; esac)
 @end example
 
+
+@item $((@var{expression}))
+@cindex $((@var{expression}))
+Arithmetic expansion is not portable as some shells (most
+notably Solaris 10 @command{/bin/sh}) don't support it.
+
+
+
 @item ^
 @cindex ^ quoting
 Always quote @samp{^}, otherwise traditional shells such as