On Thu, Aug 24, 2006 at 10:50:06AM -0400, nash wrote:
> Does anyone happen to have a check to determine if variadic macros
> with no named args are supported in C99 mode? The following works fine
> under gcc, but flames out with a nasty-gram under AIX's c99 compiler:
> 
>  #define my_debug_macro(...) some_debug_function(__FILE__, __LINE__,
> __VA_ARGS__)

glib has this in configure.in:
  # check for flavours of varargs macros
  AC_MSG_CHECKING(for ISO C99 varargs macros in C)
  ...

-- 
albert chin ([EMAIL PROTECTED])


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

Reply via email to