From a95976b17403b1e68977a59a557686afb3369dd5 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 16 Aug 2019 17:17:51 +0200 Subject: Improve logging of mex detection to config.log --- build/linux/acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/linux/acinclude.m4 b/build/linux/acinclude.m4 index 135c1c6..92f263a 100644 --- a/build/linux/acinclude.m4 +++ b/build/linux/acinclude.m4 @@ -38,7 +38,7 @@ extern "C" void mexFunction() { } _ACEOF $CXX -fPIC -c -o conftest.o conftest.cc -$MEX -cxx -output conftest conftest.o >/dev/null 2>&1 +ASTRA_RUN_LOGOUTPUT([$MEX -cxx -output conftest conftest.o]) for suffix in $1; do if test -f "conftest.$suffix"; then $2="$suffix" @@ -58,7 +58,7 @@ extern "C" void mexFunction() { } _ACEOF $CXX -fPIC -c -o conftest.o conftest.cc -$MEX $1 -cxx -output conftest conftest.o >/dev/null 2>&1 +ASTRA_RUN_LOGOUTPUT([$MEX $1 -cxx -output conftest conftest.o]) AS_IF([test -f "conftest.$2"],[ rm -f "conftest.$2" $3],[$4]) -- cgit v1.2.3