Skip to content

Commit 1765c6e

Browse files
committed
HLRS/mpi_test_suite: Add check for stdlib.h in configure.
1 parent ab39bd8 commit 1765c6e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ AC_HEADER_STDC
346346

347347
dnl Check for headers used by us
348348
dnl Need to check for sys/types.h since AC_TYPE_PID_T depends on it later!
349-
AC_CHECK_HEADERS([float.h getopt.h limits.h unistd.h sys/time.h sys/types.h values.h pthread.h])
349+
AC_CHECK_HEADERS([float.h getopt.h limits.h stdlib.h unistd.h sys/time.h sys/types.h values.h pthread.h])
350350

351351
dnl Checks for typedefs, structures.
352352
AC_TYPE_PID_T

mpi_test_suite.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ int main (int argc, char * argv[])
189189
MPI_Comm_rank (MPI_COMM_WORLD, &tst_global_rank);
190190
MPI_Comm_size (MPI_COMM_WORLD, &tst_global_size);
191191

192-
/* XXX INC stdlib.h CN Needs stdlib.h so we should check in configure script
193-
*/
194192
{
195193
char * start_delay_str;
196194
/* XXX DOC CN Need to add MPI_TEST_SUITE_START_DELAY environment variable to documentation

0 commit comments

Comments
 (0)