summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2001-06-21 18:03:51 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2001-06-21 18:03:51 (GMT)
commitef493c8c5023d4d320233e7f6b697696aedcb461 (patch)
tree5b1c017ec77ca6983a3c20868ca3bdbda7ef0fb0
parent4402923400e705eac6d28f97518bf18c536f6c80 (diff)
downloadhdf5-ef493c8c5023d4d320233e7f6b697696aedcb461.zip
hdf5-ef493c8c5023d4d320233e7f6b697696aedcb461.tar.gz
hdf5-ef493c8c5023d4d320233e7f6b697696aedcb461.tar.bz2
[svn-r4041]
Purpose: Bug bypass Description: Fortran configure checks flags where to find F90 modules in the order "M", "I" and "p". On IBM SP "M" is a reserved flag, configure does not understand compiler's warning and uses it to specify module directories. Then tests and examples compilation fails since module directory is not specified correctly on the compilation line. Solution: Changed the order of flags to be "I", "M", "p", so configure on IBM SP finds the correct flag first. Platforms tested: NERSC IBM SP (gseaborg)
-rwxr-xr-xfortran/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/configure b/fortran/configure
index 13d4576..b0eb835 100755
--- a/fortran/configure
+++ b/fortran/configure
@@ -1938,7 +1938,7 @@ cd ..
echo $ac_n "checking how $F9X finds modules""... $ac_c" 1>&6
echo "configure:1940: checking how $F9X finds modules" >&5
-for flag in "-M" "-I" "-p"; do
+for flag in "-I" "-M" "-p"; do
cat >conftest.$ac_ext <<EOF
program conftest
use module