Fix configry redirect check to dev/null

fix-sludist7
Salvatore Filippone 3 years ago
parent 873f190961
commit 23a39a6c54

2
configure vendored

@ -5139,7 +5139,7 @@ fi
# Check if we need extra libs (e.g. for OpenMPI) # Check if we need extra libs (e.g. for OpenMPI)
xtrlibs=`mpicxx --showme:link`; xtrlibs=`mpicxx --showme:link 2>/dev/null`;
if (( $? == 0 )) if (( $? == 0 ))
then then
EXTRA_LIBS="$EXTRA_LIBS $xtrlibs"; EXTRA_LIBS="$EXTRA_LIBS $xtrlibs";

@ -231,7 +231,7 @@ PAC_ARG_WITH_FLAGS(module-path,MODULE_PATH)
PAC_ARG_WITH_EXTRA_LIBS PAC_ARG_WITH_EXTRA_LIBS
# Check if we need extra libs (e.g. for OpenMPI) # Check if we need extra libs (e.g. for OpenMPI)
xtrlibs=`mpicxx --showme:link`; xtrlibs=`mpicxx --showme:link 2>/dev/null`;
if (( $? == 0 )) if (( $? == 0 ))
then then
EXTRA_LIBS="$EXTRA_LIBS $xtrlibs"; EXTRA_LIBS="$EXTRA_LIBS $xtrlibs";

Loading…
Cancel
Save