1
dnl $Id: vacopy.m4 15788 2009-03-17 18:20:58Z moritz $
3
dnl Check for means to copy variable argument lists. After this check,
4
dnl va_copy will at least be defined to something working.
5
dnl This requires stdarg.h, which is assumed to exist.
7
dnl Copyright (c) 2008 Moritz Grimm <mgrimm@mrsserver.net>
9
dnl Permission to use, copy, modify, and distribute this software for any
10
dnl purpose with or without fee is hereby granted, provided that the above
11
dnl copyright notice and this permission notice appear in all copies.
13
dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
14
dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
15
dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
16
dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
17
dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18
dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
19
dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1
dnl # $Id: vacopy.m4 1093 2009-06-21 13:54:56Z mgrimm $
3
dnl # Check for means to copy variable argument lists. After this check,
4
dnl # va_copy will at least be defined to something working.
5
dnl # This requires stdarg.h, which is assumed to exist.
8
dnl # Copyright (c) 2008 Moritz Grimm <mgrimm@mrsserver.net>
10
dnl # Permission to use, copy, modify, and distribute this software for any
11
dnl # purpose with or without fee is hereby granted, provided that the above
12
dnl # copyright notice and this permission notice appear in all copies.
14
dnl # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15
dnl # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16
dnl # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17
dnl # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18
dnl # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19
dnl # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20
dnl # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
26
AC_DEFUN([AX_FUNC_VA_COPY],