1
1

Comment out the PAC_C_RESTRICT test from ROMIO's configure.in script.

The top-level OMPI configure script already checks for "restrict" and
will issue a #define for it.  PAC_C_RESTRICT would also check for
restrict, but sometimes come up with a different answer than the
top-level OMPI configure script, thereby resulting in conflicting
#define's for "restrict" (e.g., icc 9.0/9.1 on linux x86-64).

So it's easiest just to remove this test from ROMIO's configure.in
script.

This commit was SVN r14286.
Этот коммит содержится в:
Jeff Squyres 2007-04-10 14:50:47 +00:00
родитель cd5047a9bf
Коммит 0083eba18e

Просмотреть файл

@ -1987,7 +1987,14 @@ else
F77MPIOINC="include 'mpiof.h'"
fi
PAC_C_RESTRICT
# Open MPI: OMPI's top-level configure script already has a check for
# "restrict"; PAC_C_RESTRICT seems to sometimes come up with a
# different answer than the OMPI top-level test, resulting in
# conflicting #define's for the keyword "restrict" (e.g., using icc
# compilers on Linux). So just comment out PAC_C_RESTRICT and use the
# #define from the top-level OMPI configure test.
# #define's for restrict).
dnl PAC_C_RESTRICT
PAC_C_GNU_ATTRIBUTE
#
dnl CFLAGS="$CFLAGS $DEFS"