summaryrefslogtreecommitdiffstats
path: root/fortran/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-12 16:04:14 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-12 16:04:14 (GMT)
commitd70c42c4e54410fd383e266e1996554059d620e9 (patch)
tree9704b708ccfd156cb182ed76437237e8783b0505 /fortran/config
parent03d4b2aa0ccad8fc985c492e74c4773290f4157c (diff)
downloadhdf5-d70c42c4e54410fd383e266e1996554059d620e9.zip
hdf5-d70c42c4e54410fd383e266e1996554059d620e9.tar.gz
hdf5-d70c42c4e54410fd383e266e1996554059d620e9.tar.bz2
[svn-r9404] Purpose:
Code cleanup Description: Default to using mpif90 if CC=mpicc and --enable-fortran flag is given, but no F9X compiler is set. Platforms tested: Linux 2.4 (verbena) Too minor to require h5committest
Diffstat (limited to 'fortran/config')
-rw-r--r--fortran/config/linux-gnulibc14
1 files changed, 4 insertions, 0 deletions
diff --git a/fortran/config/linux-gnulibc1 b/fortran/config/linux-gnulibc1
index f88ddbf..5edcbda 100644
--- a/fortran/config/linux-gnulibc1
+++ b/fortran/config/linux-gnulibc1
@@ -33,6 +33,10 @@ if test "X-" = "X-$F9X"; then
F9X=ifort
F9X_BASENAME=ifort
;;
+ mpicc*)
+ F9X=mpif90
+ F9X_BASENAME=mpif90
+ ;;
esac
else
# Figure out which compiler we are using: pgf90 or Absoft f95