summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-08-16 17:17:51 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-08-16 17:17:51 +0200
commita95976b17403b1e68977a59a557686afb3369dd5 (patch)
tree94256b7ea2b8acd43087353042ba52dba87ca179 /build
parent4a396a608aefc3282baea76bc4e1965faa99b4f8 (diff)
downloadastra-a95976b17403b1e68977a59a557686afb3369dd5.tar.gz
astra-a95976b17403b1e68977a59a557686afb3369dd5.tar.bz2
astra-a95976b17403b1e68977a59a557686afb3369dd5.tar.xz
astra-a95976b17403b1e68977a59a557686afb3369dd5.zip
Improve logging of mex detection to config.log
Diffstat (limited to 'build')
-rw-r--r--build/linux/acinclude.m44
1 files changed, 2 insertions, 2 deletions
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])