"Peter O'Gorman" <[EMAIL PROTECTED]> writes: > +#if ! @HAVE_VA_COPY@ > +#define va_copy(a,b) ((a) = (b)) > +#endif
Wouldn't it be simpler to do this? #ifndef va_copy #define va_copy(a,b) ((a) = (b)) #endif After all, if there is already a va_copy, and it disagrees with our substitute, we're probably wrong. Doing this removes the need for generating or substituting HAVE_VA_COPY. va_copy is required to be a macro, so this should be safe.