From 5886b072a86e3b075fe0fca5a63ea4b4a12414a4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 15 Nov 2004 13:46:33 +0000 Subject: [PATCH] fixed va_copy test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 4 ++++ configure.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configure b/configure index 86edb7cae1..498a46d3d3 100755 --- a/configure +++ b/configure @@ -18362,6 +18362,10 @@ else va_end(ap2); va_end(ap1); } + int main() + { + return foo("hi", 17); + } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 diff --git a/configure.in b/configure.in index 8883bbb10e..788a8dd10b 100644 --- a/configure.in +++ b/configure.in @@ -1737,6 +1737,10 @@ AC_CACHE_CHECK([for va_copy], va_copy(ap2, ap1); va_end(ap2); va_end(ap1); + } + int main() + { + return foo("hi", 17); }], wx_cv_func_va_copy=yes, wx_cv_func_va_copy=no