mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 15:25:14 +03:00
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:
1 parent
797f09d51e
commit
a073078b3d
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user