summaryrefslogtreecommitdiffstats
path: root/config/intel-flags
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)
commitc9874681a6b5056598a5170faecad9b29640fbba (patch)
treefc9b59096e6bb0b564ebe6d8851fc673ec8ecc04 /config/intel-flags
parenteec27da1dfc81d197bae71a7c3ae90e9ef910816 (diff)
downloadhdf5-c9874681a6b5056598a5170faecad9b29640fbba.zip
hdf5-c9874681a6b5056598a5170faecad9b29640fbba.tar.gz
hdf5-c9874681a6b5056598a5170faecad9b29640fbba.tar.bz2
[svn-r9491] 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)
Diffstat (limited to 'config/intel-flags')
-rw-r--r--config/intel-flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/intel-flags b/config/intel-flags
index e67328c..f5e0348 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