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 68
68
for flag in $ofi_possible_flags ; do
69
69
if test " $ofi_module_flag " = " " ; then
70
70
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 ],
73
72
dnl try and see if we need to link in a possible object file
74
73
[OPAL_LOG_COMMAND([$FC $FCFLAGS $FCFLAGS_f90 conftest.f90 subdir/conftest-module.o \
75
74
${flag} subdir $LDFLAGS $LIBS ],
76
- [AS_VAR_SET(fortran_inc_var, [$flag ])
77
- ofi_module_flag= " $flag " ],[])])
75
+ [ofi_module_flag= $flag ])])
78
76
fi
79
77
done
78
+ AS_IF([test -n " $ofi_module_flag " ],
79
+ [AS_VAR_SET(fortran_inc_var, [$ofi_module_flag ])])
80
80
cd ..
81
81
rm -rf conftest.$$
82
82
])
You can’t perform that action at this time.
0 commit comments