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