1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00
Andrew Tridgell eaa11475cd r6830: put header checks in config.m4 so when it is included by other projects the right
configure checks are done
(This used to be commit 57c8db4f9aecd161d61cf0011e960edc718d7cf0)
2007-10-10 13:16:48 -05:00

11 lines
378 B
Plaintext

AC_CACHE_CHECK([for va_copy],samba_cv_HAVE_VA_COPY,[
AC_TRY_LINK([#include <stdarg.h>
va_list ap1,ap2;], [va_copy(ap1,ap2);],
samba_cv_HAVE_VA_COPY=yes,samba_cv_HAVE_VA_COPY=no)])
if test x"$samba_cv_HAVE_VA_COPY" = x"yes"; then
AC_DEFINE(HAVE_VA_COPY,1,[Whether va_copy() is available])
fi
AC_CHECK_TYPES(intptr_t)
AC_CHECK_HEADERS(stdint.h stdarg.h unistd.h sys/types.h)