[gnutls-dev] [PATCH] gnutls fails to compile on PPC

Ivo Timmermans irt@cistron.nl
Mon Nov 12 13:15:01 2001


Nikos Mavroyanopoulos wrote:
> Thanks. This will be included in the next version.

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


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.


	Ivo

-- 
You are just jealous because the little voices are talking to me.