ax_check_a2x_to_man.m4: verbose output diagnostics from a2x

a2x now is run with option '--verbose' to provide more diagnostic
output. In case of an error, the output generated by a2x is written
into config.log.
This commit is contained in:
Olaf Bergmann committed 2018-05-04 15:41:46 +02:00
1 parent 797f09d51e
commit a073078b3d
1 file changed
+2 -1
+2 -1
View File
@@ -41,12 +41,13 @@ AUTHORS
-------
author
EOF
$A2X --doctype manpage --format manpage conftestman.txt >conftest.out 2>&1
$A2X --verbose --doctype manpage --format manpage conftestman.txt >conftest.out 2>&1
if test "$?" = 0; then
ac_cv_a2x_man=yes
$1
else
ac_cv_a2x_man=no
cat conftest.out >&AS_MESSAGE_LOG_FD 2>&1
$2
fi
rm -f conftestman.txt conftest.out foo.7