summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-11-15 18:27:55 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-11-15 18:27:55 (GMT)
commit7111b461a3000177203641ae5451c6fa159b7a20 (patch)
treeccf666f58c52cde678b1d6dc34e70bde9cdb00a6 /fortran
parentfd678a183c27707ebe5daa5c522eaf33492c9152 (diff)
downloadhdf5-7111b461a3000177203641ae5451c6fa159b7a20.zip
hdf5-7111b461a3000177203641ae5451c6fa159b7a20.tar.gz
hdf5-7111b461a3000177203641ae5451c6fa159b7a20.tar.bz2
[svn-r12916] Description:
When mpif90 based on g95 was used, special flag H5_G5 was not set up to compile C stubs. Fixed. Platforms tested: heping with gcc and g95 based MPI I/O
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/linux-gnulibc14
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/config/linux-gnulibc1 b/fortran/config/linux-gnulibc1
index 6f4072f..706b60e 100644
--- a/fortran/config/linux-gnulibc1
+++ b/fortran/config/linux-gnulibc1
@@ -18,7 +18,6 @@
# the various compile modes.
#
# See BlankForm in this directory for details.
-
# The default compiler is `gcc'.
if test -z "$CC"; then
CC=gcc
@@ -71,8 +70,9 @@ fi
# Try both options.
tmpfile=/tmp/cmpver.$$
( $F9X -v; $F9X -V) >$tmpfile 2>&1
- if grep '(g95!)' $tmpfile > /dev/null; then
+ if grep 'g95' $tmpfile > /dev/null; then
F9X_BASENAME=g95
+ CFLAGS="$CFLAGS -DH5_G95"
elif grep 'Absoft' $tmpfile > /dev/null; then
F9X_BASENAME=f95
elif grep 'Portland Group' $tmpfile > /dev/null; then