use AC_LINK to check for va_copy, not AC_COMPILE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-02 20:31:34 +00:00
parent 6a8b0d4586
commit ba3d13e1c8
2 changed files with 127 additions and 1 deletions

View File

@@ -1717,7 +1717,7 @@ dnl checks needed to define wxVaCopy
AC_CACHE_CHECK([for va_copy],
wx_cv_func_va_copy,
[
AC_COMPILE_IFELSE([
AC_LINK_IFELSE([
#include <stdarg.h>
void foo(char *f, ...)
{