-
-
dnl SG_COMPILE_FLAGS
dnl Turn on many useful compiler warnings
dnl For now, only sets extra flags on GCC
+
+dnl Copyright (C) 2004, 2005, 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.
+
+
AC_DEFUN([SG_COMPILE_FLAGS],[
AC_ARG_ENABLE(compile-warnings,
AS_HELP_STRING([--enable-compile-warnings], [use compiler warnings (default=no, unless in maintainer mode)]),
dnl You may want to check for version >= 2.5.31 (the one breaking posix compatibility)
+
+dnl Copyright (C) 2005. 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.
+
+
AC_DEFUN([_AC_PROG_FLEX_HELPER_TOO_OLD],[
AC_MSG_NOTICE([Found flex is too old. Parsers won't get updated (Found v$FLEX_VERSION < v$1)])
LEX="$SHELL $missing_dir/missing flex";
-# 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).
dnl AC_CHECK_PRINTF_NULL: Check whether printf("%s",NULL) works or segfault
-
dnl it uses AC_RUN and assume the worse while cross-compiling
dnl Then, you can:
dnl # define PRINTF_STR(a) (a)
dnl #endif
+dnl Copyright (C) 2005. Martin Quinson. All rights reserved.
+
+dnl This file is part of the SimGrid project. This is free software: You can
+dnl redistribute and/or modify it under the terms of GNU LGPL (v2.1) licence.
+
+
+
+
AC_DEFUN([AC_CHECK_PRINTF_NULL],
[
AC_MSG_CHECKING([whether printf("%s",NULL) works...])