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)
commit5373a907eeb17e6e91ed98d85be29db887062f21 (patch)
tree44212cccf5a29da558005e4c0f673cd96d6a1068 /config/intel-flags
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)
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 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