31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
|
commit dcff536356827548849a1a6923265f7996543be7
|
||
|
Author: George Bosilca <bosilca@icl.utk.edu>
|
||
|
Date: Fri Mar 12 13:38:10 2021 -0500
|
||
|
|
||
|
Always include the stddef.h header.
|
||
|
|
||
|
Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
|
||
|
|
||
|
diff --git configure.ac configure.ac
|
||
|
index 68a839804639..be1b8b3738ca 100644
|
||
|
--- configure.ac
|
||
|
+++ configure.ac
|
||
|
@@ -1302,10 +1302,13 @@ OPAL_SETUP_WRAPPER_FINAL
|
||
|
# autoconf macro defines in mpi.h. Since AC sometimes changes whether
|
||
|
# things are defined as null tokens or an integer result, two projects
|
||
|
# with different versions of AC can cause problems.
|
||
|
-if test $ac_cv_header_stdc = yes; then
|
||
|
- AC_DEFINE(OPAL_STDC_HEADERS, 1,
|
||
|
- [Do not use outside of mpi.h. Define to 1 if you have the ANSI C header files.])
|
||
|
-fi
|
||
|
+
|
||
|
+# According to the autoconf 2.67 documentation the AC_HEADER_STDC macro,
|
||
|
+# and therefore the ac_cv_header_stdc cache variable, is obsolescent, as
|
||
|
+# current systems have conforming header files. Instead of removing the
|
||
|
+# protection completely, let's just make sure it is always on.
|
||
|
+AC_DEFINE(OPAL_STDC_HEADERS, 1,
|
||
|
+ [Do not use outside of mpi.h. Define to 1 if you have the ANSI C header files.])
|
||
|
if test $ac_cv_header_sys_time_h = yes ; then
|
||
|
AC_DEFINE(OPAL_HAVE_SYS_TIME_H, 1,
|
||
|
[Do not use outside of mpi.h. Define to 1 if you have the <sys/time.h> header file.])
|