Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let's be optimistic and assume that things are ok when we cross-compile (it does...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 20 Oct 2005 22:14:04 +0000 (22:14 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 20 Oct 2005 22:14:04 +0000 (22:14 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1778 48e7efb5-ca39-0410-a469-dd3cf9ba447f

acmacro/va_copy.m4

index 54ec0fb..2ea0096 100644 (file)
@@ -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
 [/* 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
 ])
 
     fi
 ])