From 9ff653f28a3e739bd5f993f301db3546438b47d2 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 20 Oct 2005 22:14:04 +0000 Subject: [PATCH] let's be optimistic and assume that things are ok when we cross-compile (it does when the target is win) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1778 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- acmacro/va_copy.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acmacro/va_copy.m4 b/acmacro/va_copy.m4 index 54ec0fb7d0..2ea0096ef5 100644 --- a/acmacro/va_copy.m4 +++ b/acmacro/va_copy.m4 @@ -67,7 +67,8 @@ m4_define(__va_copy_check, [ [/* Predefined possible va_copy() implementation (id: $1) */ #define __VA_COPY_USE_$1(d, s) $2]) if test ".$ac_cv_va_copy" = .; then - AC_TRY_RUN(__va_copy_test($2), [ac_cv_va_copy="$1"]) + AC_TRY_RUN(__va_copy_test($2), [ac_cv_va_copy="$1"],,[ac_cv_va_copy="$1"]) + dnl Let's be optimistic and use C99 version when cross-compiling fi ]) -- 2.20.1