Thanks for reporting that.  I installed this patch.

2005-12-29  Paul Eggert  <[EMAIL PROTECTED]>

        * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
        parentheses in $(...).  Problem reported by Eric Blake.

--- doc/autoconf.texi   12 Dec 2005 18:46:51 -0000      1.936
+++ doc/autoconf.texi   29 Dec 2005 21:28:30 -0000      1.937
@@ -10511,6 +10511,15 @@ a different notation @samp{$((@var{expre
 shells is an arithmetic expression not a command.  To avoid the
 confusion, insert a space between the two opening parentheses.
 
+Avoid @var{commands} that contain unbalanced parentheses in
+here-documents, comments, or case statement patterns, as many shells
+mishandle them.  For example, Bash 3.1, @samp{ksh88}, @command{pdksh}
+5.2.14, and Zsh 4.2.6 all mishandle the following valid command:
+
[EMAIL PROTECTED]
+echo $(case x in x) echo hello;; esac)
[EMAIL PROTECTED] example
+
 @end table
 
 


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to