From: mquinson Date: Thu, 20 Oct 2005 22:14:04 +0000 (+0000) Subject: let's be optimistic and assume that things are ok when we cross-compile (it does... X-Git-Tag: v3.3~3579 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9ff653f28a3e739bd5f993f301db3546438b47d2 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 --- 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 ])