[gnutls-dev] [PATCH] gnutls fails to compile on PPC
Nikos Mavroyanopoulos
nmav@hellug.gr
Mon Nov 12 15:25:02 2001
On Mon, 12 Nov 2001 13:12:44 +0100 Ivo Timmermans <irt@cistron.nl> wrote:
> You have #ifdef USE_VA_COPY, but you don't use HAVE___VA_COPY, which
> is needed at least for me to compile the cvs version. I changed it
> to:
> #ifdef USE_VA_COPY
> #define VA_COPY(a,b) (va_copy((a),(b)))
> #else
> #ifdef HAVE___VA_COPY
> #define VA_COPY(a,b) (__va_copy((a),(b)))
> #else
> #define VA_COPY(a,b) ((a)=(b))
> #endif
> #endif
> And use VA_COPY(_ap,ap) instead of the #ifdef's in gnutls_priority.c
This was not really needed. In defines.h, va_copy, is defined to
__va_copy (tricky). I'll probably use capitals to prevent confusion.
> Also you need to insert AC_PREREQ(2.50) at the top of configure.in to
> automatically use autoconf 2.5x instead of 2.13.
done.
> Ivo
> --
> You are just jealous because the little voices are talking to me.
>
--
Nikos Mavroyanopoulos
mailto:nmav@hellug.gr