Add log entry for configure check on MPICXX libs

fix-sludist7
Salvatore Filippone 3 years ago
parent 90657b706f
commit 4f9254ebb0

7
configure vendored

@ -5139,10 +5139,17 @@ fi
# Check if we need extra libs (e.g. for OpenMPI)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Extra mpicxx libs?" >&5
$as_echo_n "checking Extra mpicxx libs?... " >&6; }
xtrlibs=`mpicxx --showme:link 2>/dev/null`;
if (( $? == 0 ))
then
EXTRA_LIBS="$EXTRA_LIBS $xtrlibs";
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xtrlibs" >&5
$as_echo "$xtrlibs" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
$as_echo "none" >&6; }
fi

@ -231,10 +231,14 @@ PAC_ARG_WITH_FLAGS(module-path,MODULE_PATH)
PAC_ARG_WITH_EXTRA_LIBS
# Check if we need extra libs (e.g. for OpenMPI)
AC_MSG_CHECKING([Extra mpicxx libs?])
xtrlibs=`mpicxx --showme:link 2>/dev/null`;
if (( $? == 0 ))
then
EXTRA_LIBS="$EXTRA_LIBS $xtrlibs";
AC_MSG_RESULT([$xtrlibs])
else
AC_MSG_RESULT([none])
fi

Loading…
Cancel
Save