summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-31 04:59:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-31 04:59:57 (GMT)
commit5373a907eeb17e6e91ed98d85be29db887062f21 (patch)
tree44212cccf5a29da558005e4c0f673cd96d6a1068
parent30225caaed9eb23a18dd67a81c44bd973e018ed1 (diff)
downloadhdf5-5373a907eeb17e6e91ed98d85be29db887062f21.zip
hdf5-5373a907eeb17e6e91ed98d85be29db887062f21.tar.gz
hdf5-5373a907eeb17e6e91ed98d85be29db887062f21.tar.bz2
[svn-r9492] Purpose:
Bug fix Description: "Teach" the configure scripts about Intel 7.1 compilers, which don't have _quite_ the same compiler flags Platforms tested: Linux 2.4 (eirene)
-rw-r--r--config/intel-flags2
-rw-r--r--fortran/config/intel-fflags2
-rw-r--r--fortran/config/intel-flags2
3 files changed, 3 insertions, 3 deletions
diff --git a/config/intel-flags b/config/intel-flags
index 37af160..9e9a5e8 100644
--- a/config/intel-flags
+++ b/config/intel-flags
@@ -15,7 +15,7 @@ if test X = "X$cc_flags_set"; then
cc_version="`$CC $CFLAGS -V 2>&1 |grep '^Intel'`"
if test X != "X$cc_version"; then
cc_vendor=icc
- cc_version="`$CC $CFLAGS --version 2>&1`"
+ cc_version=`echo $cc_version |sed 's/.*Version \([-a-z0-9\.\-]*\).*/\1/'`
echo "compiler '$CC' is Intel $cc_vendor-$cc_version"
# Some version numbers
diff --git a/fortran/config/intel-fflags b/fortran/config/intel-fflags
index 00e24b5..a3de515 100644
--- a/fortran/config/intel-fflags
+++ b/fortran/config/intel-fflags
@@ -16,7 +16,7 @@ if test X = "X$f9x_flags_set"; then
f9x_version="`$F9X $FFLAGS -V 2>&1 |grep '^Intel'`"
if test X != "X$f9x_version"; then
f9x_vendor=ifort
- f9x_version="`$F9X $FFLAGS -v 2>&1 |sed 's/Version \([-a-z0-9\.\-]*\).*/\1/'`"
+ f9x_version="`echo $f9x_version |sed 's/.*Version \([-a-z0-9\.\-]*\).*/\1/'`"
echo "compiler '$F9X' is Intel $f9x_vendor-$f9x_version"
# Some version numbers
diff --git a/fortran/config/intel-flags b/fortran/config/intel-flags
index 37af160..9e9a5e8 100644
--- a/fortran/config/intel-flags
+++ b/fortran/config/intel-flags
@@ -15,7 +15,7 @@ if test X = "X$cc_flags_set"; then
cc_version="`$CC $CFLAGS -V 2>&1 |grep '^Intel'`"
if test X != "X$cc_version"; then
cc_vendor=icc
- cc_version="`$CC $CFLAGS --version 2>&1`"
+ cc_version=`echo $cc_version |sed 's/.*Version \([-a-z0-9\.\-]*\).*/\1/'`
echo "compiler '$CC' is Intel $cc_vendor-$cc_version"
# Some version numbers