From 89af5d058f8551bc2f8ffdc08569e81d7f190a6b Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Wed, 21 Feb 2024 10:15:57 +0100 Subject: [PATCH] m4: ACX_PROG_MPIRUN: redirect stderr to config.log. --- m4/acx_prog_mpirun.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/m4/acx_prog_mpirun.m4 b/m4/acx_prog_mpirun.m4 index cab6ccf..41ae42c 100644 --- a/m4/acx_prog_mpirun.m4 +++ b/m4/acx_prog_mpirun.m4 @@ -122,9 +122,10 @@ m4_define([_ACX_PROG_MPIRUN], for acx_candidate in "$[@]"; do _AS_ECHO_LOG( [acx_exec_result=`$acx_candidate -n m4_default([$6], [2]) dnl -./conftest$ac_exeext 2>/dev/null`]) +./conftest$ac_exeext 2>&AS_MESSAGE_LOG_FD`]) acx_exec_result=dnl -`$acx_candidate -n m4_default([$6], [2]) ./conftest$ac_exeext 2>/dev/null` +`$acx_candidate -n m4_default([$6], [2]) dnl +./conftest$ac_exeext 2>&AS_MESSAGE_LOG_FD` acx_status=$? _AS_ECHO_LOG([\$? = $acx_status]) AS_IF([test $acx_status -eq 0],