-# 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
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).
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