From aebd1ea43237741bd29878604b742b14cc87d68b Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Wed, 14 Nov 2012 04:52:39 +0000 Subject: [PATCH] Per discussion we will now require a C99 compiant compiler. This change will enable the use of C99 features in Open MPI; subobject naming, restricted pointers, etc. cmr:v1.7 This commit was SVN r27604. --- opal/config/opal_setup_cc.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opal/config/opal_setup_cc.m4 b/opal/config/opal_setup_cc.m4 index 9e44fac0c4..d24d2ad765 100644 --- a/opal/config/opal_setup_cc.m4 +++ b/opal/config/opal_setup_cc.m4 @@ -32,6 +32,9 @@ AC_DEFUN([OPAL_SETUP_CC],[ AC_REQUIRE([_OMPI_PROG_CC]) AC_REQUIRE([AM_PROG_CC_C_O]) + # From Open MPI 1.7 on we require a C99 compiant compiler + AC_REQUIRE([AC_PROG_CC_C99]) + OMPI_C_COMPILER_VENDOR([ompi_c_vendor]) # Check for standard headers, needed here because needed before