summaryrefslogtreecommitdiffstats
path: root/fortran/config
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)
commit30225caaed9eb23a18dd67a81c44bd973e018ed1 (patch)
tree18514df8a0723d142eb8472e55a3282ce45a9d07 /fortran/config
parent7463866f873ed76b0551a817429d21911ff349cd (diff)
downloadhdf5-30225caaed9eb23a18dd67a81c44bd973e018ed1.zip
hdf5-30225caaed9eb23a18dd67a81c44bd973e018ed1.tar.gz
hdf5-30225caaed9eb23a18dd67a81c44bd973e018ed1.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 'fortran/config')
-rw-r--r--fortran/config/linux-gnulibc134
1 files changed, 21 insertions, 13 deletions
diff --git a/fortran/config/linux-gnulibc1 b/fortran/config/linux-gnulibc1
index 5edcbda..bbd2735 100644
--- a/fortran/config/linux-gnulibc1
+++ b/fortran/config/linux-gnulibc1
@@ -39,19 +39,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
#