summaryrefslogtreecommitdiffstats
path: root/config/linux-gnulibc1
diff options
context:
space:
mode:
Diffstat (limited to 'config/linux-gnulibc1')
-rw-r--r--config/linux-gnulibc118
1 files changed, 2 insertions, 16 deletions
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1
index 719b915..11c51f7 100644
--- a/config/linux-gnulibc1
+++ b/config/linux-gnulibc1
@@ -109,19 +109,5 @@ if test -z "$CXX"; then
CXX_BASENAME=g++
fi
-# We know that for mpich 1.2.5 and previous version, complicated derived datatype is
-# supported, we need to set the macro to hdf5_mpi_complex_derived_datatype_works to no.
-# Notice that this fix will only work if the compiler name is mpicc and mpi package is
-# mpich 1.x.x.
-
-if [ -z "$hdf5_mpi_complex_derived_datatype_works" -a \( $CC_BASENAME = mpicc -o $CC_BASENAME = mpiicc \) ]; then
- ccversion=`$CC -v 2>&1 | sed -e 's/.*for //p'`
- ccversion1=`echo $ccversion | cut -f1 -d.`
- ccversion2=`echo $ccversion | cut -f2 -d.`
- ccversiontemp=`echo $ccversion | cut -f3 -d.`
- ccversion3=`echo $ccversiontemp | cut -c1`
- ccversionval=`expr $ccversion1 \* 100 + $ccversion2 \* 10 + $ccversion3`
- if [ $ccversionval -lt 126 ]; then
- hdf5_mpi_complex_derived_datatype_works='no'
- fi
-fi
+# Check MPICH settings
+. $srcdir/config/mpich