summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2007-02-17 19:36:53 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2007-02-17 19:36:53 (GMT)
commit1a2ddc096608d22d27ae0c261accf2c125fea892 (patch)
treefaf432eac5f8eb4c9f6a3c3b8ca027ddb6ad9e51 /config
parent68541fee67ed6d65291fbe88202cdcac042d6f2e (diff)
downloadhdf5-1a2ddc096608d22d27ae0c261accf2c125fea892.zip
hdf5-1a2ddc096608d22d27ae0c261accf2c125fea892.tar.gz
hdf5-1a2ddc096608d22d27ae0c261accf2c125fea892.tar.bz2
[svn-r13324] Changed the default Fortran compiler for gcc from pgf90 to g95.
Diffstat (limited to 'config')
-rw-r--r--config/linux-gnulibc18
1 files changed, 6 insertions, 2 deletions
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1
index 33253b2..5ece750 100644
--- a/config/linux-gnulibc1
+++ b/config/linux-gnulibc1
@@ -35,10 +35,14 @@ fi
# Figure out Intel C compiler flags
. $srcdir/config/intel-flags
-# The default Fortran 90 compiler
+# Use default Fortran 90 compiler according to what C compiler is used.
if test "X-" = "X-$FC"; then
case $CC_BASENAME in
- gcc*|pgcc*)
+ gcc*)
+ FC=g95
+ FC_BASENAME=g95
+ ;;
+ pgcc*)
FC=pgf90
FC_BASENAME=pgf90
;;