fixed va_copy test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-11-15 13:46:33 +00:00
parent 00e086a7f0
commit 5886b072a8
2 changed files with 8 additions and 0 deletions

4
configure vendored
View File

@ -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

View File

@ -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