From: nasm-bot f. C. G. <gor...@gm...> - 2013-07-04 21:36:22
|
Commit-ID: ce074db7c2bfab688fe87a63bbc89ca875b5a86f Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=ce074db7c2bfab688fe87a63bbc89ca875b5a86f Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Fri, 5 Jul 2013 01:33:09 +0400 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Fri, 5 Jul 2013 01:33:09 +0400 autoconf: Warn a user if no asciidoc/xmlto found It's been noticed on nasm forum that we don't complain if no asciidoc/xmlto package installed on a system while they are required for man pages generation. So warn a user then, but still allow to build nasm. Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index da2154d..8571973 100644 --- a/configure.in +++ b/configure.in @@ -74,6 +74,14 @@ AC_CHECK_PROGS(ACRODIST, acrodist, false) AC_CHECK_PROGS(PS2PDF, ps2pdf, false) AC_CHECK_PROGS(PSTOPDF, pstopdf, false) +dnl Check for progs needed for manpage generation +if test $ASCIIDOC = false; then + AC_MSG_WARN([No acsciidoc package found]) +fi +if test $XMLTO = false; then + AC_MSG_WARN([No xmlto package found]) +fi + dnl Checks for header files. AC_HEADER_STDC if test $ac_cv_header_stdc = no; then |