From 4abe81ec2080f0ab46c0e319b8cb0a2cf240dc8f Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Thu, 21 Jun 2001 12:40:37 -0500 Subject: [svn-r4040] 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: IBM SP, Solaris 2.7, Linux, DEC UNIX, HP 11.00, IRIX64 (yes, all of them :-) --- fortran/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fortran/configure b/fortran/configure index c0c2d2f..ac8ef21 100755 --- a/fortran/configure +++ b/fortran/configure @@ -1935,7 +1935,7 @@ cd .. echo $ac_n "checking how $F9X finds modules""... $ac_c" 1>&6 echo "configure:1937: checking how $F9X finds modules" >&5 -for flag in "-M" "-I" "-p"; do +for flag in "-I" "-M" "-p"; do cat >conftest.$ac_ext <