diff --git a/configure b/configure index 9366022d39..d3d2ecc03b 100755 --- a/configure +++ b/configure @@ -18263,7 +18263,8 @@ else } int main() { - return foo("hi", 17); + foo("hi", 17); + return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext diff --git a/configure.in b/configure.in index d3a3fd1616..3c0ab647ac 100644 --- a/configure.in +++ b/configure.in @@ -1740,7 +1740,8 @@ AC_CACHE_CHECK([for va_copy], } int main() { - return foo("hi", 17); + foo("hi", 17); + return 0; }], wx_cv_func_va_copy=yes, wx_cv_func_va_copy=no