diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-31 04:59:57 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-31 04:59:57 (GMT) |
commit | 5373a907eeb17e6e91ed98d85be29db887062f21 (patch) | |
tree | 44212cccf5a29da558005e4c0f673cd96d6a1068 /fortran | |
parent | 30225caaed9eb23a18dd67a81c44bd973e018ed1 (diff) | |
download | hdf5-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 'fortran')
-rw-r--r-- | fortran/config/intel-fflags | 2 | ||||
-rw-r--r-- | fortran/config/intel-flags | 2 |
2 files changed, 2 insertions, 2 deletions
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 |