On 02/17/2010 04:41 PM, Joern Rennecke wrote:
Quoting Ralf Wildenhues <ralf.wildenh...@gmx.de>:
sed alternation \| is not portable.

I've replaced it now with a pair of substitutions. I also fixed
the ',' substitution to give yield on opening bracket for the next cast,
and to apply for all commas.

+ $[]as_decl_type

What is this variable? It doesn't seem to be defined anywhere.

Oops, that's a remnant from a previous implementation approach - I
originally intended of declaring a variable with the type of the
argument. That might work for more cases than casting 0 to the desired
type, but supporting multiple arguments would be much messier.

Maybe we can use this in AC_CHECK_DECLS instead of having a new separate macro. If there is a parenthesis in the name call the new version, if there is none, call the old one.

If it is fine, I can do the patch using Joern's work; thanks for it.

Paolo


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to