r6804: Add config.h for talloc (and use it)
[samba.git] / source / lib / talloc / config.m4
1 if test x"$experimental" = x"yes"; then
2         SMB_LIBRARY_ENABLE(libtalloc,YES)
3 fi
4
5 AC_CACHE_CHECK([for va_copy],samba_cv_HAVE_VA_COPY,[
6 AC_TRY_LINK([#include <stdarg.h>
7 va_list ap1,ap2;], [va_copy(ap1,ap2);],
8 samba_cv_HAVE_VA_COPY=yes,samba_cv_HAVE_VA_COPY=no)])
9 if test x"$samba_cv_HAVE_VA_COPY" = x"yes"; then
10     AC_DEFINE(HAVE_VA_COPY,1,[Whether va_copy() is available])
11 fi
12