mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
675f81eed3
type is always available, which means we need less #ifdefs
(This used to be commit d4af4b11ae
)
11 lines
397 B
Plaintext
11 lines
397 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_TYPE(intptr_t, unsigned long long)
|
|
AC_CHECK_HEADERS(stdint.h stdarg.h unistd.h sys/types.h)
|