From ef493c8c5023d4d320233e7f6b697696aedcb461 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Thu, 21 Jun 2001 13:03:51 -0500 Subject: [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) --- fortran/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 <