1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r6812: more talloc portability tweaks

(This used to be commit 450ac2e4de)
This commit is contained in:
Andrew Tridgell 2005-05-16 06:33:37 +00:00 committed by Gerald (Jerry) Carter
parent fc748e650f
commit 3fd2a38e62
3 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,3 @@
if test x"$experimental" = x"yes"; then
SMB_LIBRARY_ENABLE(libtalloc,YES)
fi
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);],
@ -10,3 +6,4 @@ 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)

View File

@ -1,5 +1,4 @@
AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
AC_PREREQ(2.50)
AC_INIT(talloc.h)
AC_PROG_CC
if test "x$GCC" = "xyes"; then

View File

@ -32,6 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_STDARG_H
#include <stdarg.h>