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 | c9874681a6b5056598a5170faecad9b29640fbba (patch) | |
tree | fc9b59096e6bb0b564ebe6d8851fc673ec8ecc04 /config/linux-gnulibc1 | |
parent | eec27da1dfc81d197bae71a7c3ae90e9ef910816 (diff) | |
download | hdf5-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/linux-gnulibc1')
-rw-r--r-- | config/linux-gnulibc1 | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1 index 225184b..0758a4b 100644 --- a/config/linux-gnulibc1 +++ b/config/linux-gnulibc1 @@ -38,19 +38,27 @@ if test "X-" = "X-$F9X"; then ;; esac else - # Figure out which compiler we are using: pgf90 or Absoft f95 - RM='rm -f' - tmpfile=/tmp/cmpver.$$ - $F9X -V >$tmpfile - if test -s "$tmpfile"; then - if( grep -s 'Absoft' $tmpfile > /dev/null) then - F9X_BASENAME=f95 - fi - if( grep -s 'pgf90' $tmpfile > /dev/null) then - F9X_BASENAME=pgf90 - fi - fi - $RM $tmpfile + case $F9X in + # The PGI and Intel compilers are automatically detected below + ifc*|ifort*|pgf90*) + ;; + + *) + # Figure out which compiler we are using: pgf90 or Absoft f95 + RM='rm -f' + tmpfile=/tmp/cmpver.$$ + $F9X -V >$tmpfile + if test -s "$tmpfile"; then + if( grep -s 'Absoft' $tmpfile > /dev/null) then + F9X_BASENAME=f95 + fi + if( grep -s 'pgf90' $tmpfile > /dev/null) then + F9X_BASENAME=pgf90 + fi + fi + $RM $tmpfile + ;; + esac fi # |