> First of all, I don't get what this #ifndef is doing here in
> Autoconf, it does not test what I need, so AFAIC I'd vote for
>
> char *p = (char *) $1;
>
> or maybe
>
> #undef $1
> char *p = (char *) $1;
>
> A difference I see between Thomas' approach and Autoconf's is that
> Autoconf does not try to force the symbol whose declaration is being
> checked to be a function. AC_CHECK_DECL can them be used for errno,
> sys_siglist and others.
even 'errno' when it's a macro? (no - won't work).
> In this case, Thomas, do you think we still need all the zowie stuff?
yes.
> Akim
--
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey