X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b37a6e0bcfee702ca9ec70b28e873238f4dcc9c3..d85949accc8820a54c468fbdf930063be5873296:/acmacro/gras_arch.m4 diff --git a/acmacro/gras_arch.m4 b/acmacro/gras_arch.m4 index d03b52cb4b..9ffccffa6a 100644 --- a/acmacro/gras_arch.m4 +++ b/acmacro/gras_arch.m4 @@ -1,4 +1,3 @@ -# BEGIN OF GRAS ARCH CHECK dnl dnl GRAS_DO_CHECK_SIZEOF: Get the size of a datatype (even in cross-compile) dnl 1: type tested @@ -6,6 +5,15 @@ dnl 2: extra include lines dnl 3: extra sizes to test dnl ("adapted" from openldap) dnl + +dnl Copyright (C) 2004, 2005, 2006, 2007. Martin Quinson. All rights reserved. + +dnl This file is part of the SimGrid project. This is free software: +dnl You can redistribute and/or modify it under the terms of the +dnl GNU LGPL (v2.1) licence. + + +# BEGIN OF GRAS ARCH CHECK AC_DEFUN([GRAS_DO_CHECK_SIZEOF], [changequote(<<, >>)dnl dnl The cache variable name (and of the result). @@ -205,7 +213,7 @@ echo "$as_me:$LINENO: GRAS trace of this machine: $trace" >&AS_MESSAGE_LOG_FD AC_DEFINE_UNQUOTED(GRAS_THISARCH,$gras_arch,[defines the GRAS architecture signature of this machine]) AC_MSG_RESULT($gras_arch ($gras_arch_name)) -AM_CONDITIONAL(GRAS_ARCH_32_BITS,test $gras_size=32) +AM_CONDITIONAL(GRAS_ARCH_32_BITS,[test "$gras_size" = 32]) AC_MSG_CHECKING(the maximal size of scalar) ac_cv_sizeof_max=0