File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6868 for flag in $ofi_possible_flags ; do
6969 if test " $ofi_module_flag " = " " ; then
7070 OPAL_LOG_COMMAND([$FC $FCFLAGS $FCFLAGS_f90 conftest.f90 ${flag} subdir $LDFLAGS $LIBS ],
71- [AS_VAR_SET(fortran_inc_var, [$flag ])
72- ofi_module_flag= " $flag " ],
71+ [ofi_module_flag= $flag ],
7372dnl try and see if we need to link in a possible object file
7473 [OPAL_LOG_COMMAND([$FC $FCFLAGS $FCFLAGS_f90 conftest.f90 subdir/conftest-module.o \
7574 ${flag} subdir $LDFLAGS $LIBS ],
76- [AS_VAR_SET(fortran_inc_var, [$flag ])
77- ofi_module_flag= " $flag " ],[])])
75+ [ofi_module_flag= $flag ])])
7876 fi
7977 done
78+ AS_IF([test -n " $ofi_module_flag " ],
79+ [AS_VAR_SET(fortran_inc_var, [$ofi_module_flag ])])
8080 cd ..
8181 rm -rf conftest.$$
8282 ])
You can’t perform that action at this time.
0 commit comments