We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b84c60e commit 2157431Copy full SHA for 2157431
config/opal_setup_cc.m4
@@ -169,7 +169,10 @@ AC_DEFUN([OPAL_SETUP_CC],[
169
# AC_MSG_WARNING([Open MPI requires a C11 (or newer) compiler])
170
# AC_MSG_ERROR([Aborting.])
171
# From Open MPI 1.7 on we require a C99 compiant compiler
172
- AC_PROG_CC_C99
+ dnl with autoconf 2.70 AC_PROG_CC makes AC_PROG_CC_C99 obsolete
173
+ m4_version_prereq([2.70],
174
+ [],
175
+ [AC_PROG_CC_C99])
176
# The result of AC_PROG_CC_C99 is stored in ac_cv_prog_cc_c99
177
if test "x$ac_cv_prog_cc_c99" = xno ; then
178
AC_MSG_WARN([Open MPI requires a C99 (or newer) compiler. C11 is recommended.])
0 commit comments