File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1366,10 +1366,13 @@ OPAL_SETUP_WRAPPER_FINAL
1366
1366
# autoconf macro defines in mpi.h. Since AC sometimes changes whether
1367
1367
# things are defined as null tokens or an integer result, two projects
1368
1368
# with different versions of AC can cause problems.
1369
- if test $ac_cv_header_stdc = yes; then
1370
- AC_DEFINE(OPAL_STDC_HEADERS, 1,
1371
- [Do not use outside of mpi.h. Define to 1 if you have the ANSI C header files.])
1372
- fi
1369
+
1370
+ # According to the autoconf 2.67 documentation the AC_HEADER_STDC macro,
1371
+ # and therefore the ac_cv_header_stdc cache variable, is obsolescent, as
1372
+ # current systems have conforming header files. Instead of removing the
1373
+ # protection completely, let's just make sure it is always on.
1374
+ AC_DEFINE(OPAL_STDC_HEADERS, 1,
1375
+ [Do not use outside of mpi.h. Define to 1 if you have the ANSI C header files.])
1373
1376
if test $ac_cv_header_sys_time_h = yes ; then
1374
1377
AC_DEFINE(OPAL_HAVE_SYS_TIME_H, 1,
1375
1378
[Do not use outside of mpi.h. Define to 1 if you have the < sys/time.h> header file.])
You can’t perform that action at this time.
0 commit comments