diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-07-05 01:33:09 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-07-05 01:33:09 +0400 |
commit | ce074db7c2bfab688fe87a63bbc89ca875b5a86f (patch) | |
tree | 6b786b5f1a13e9caecd154d77d9b93fc4c5feb71 /configure.in | |
parent | 1052394ef6e7601973eab7be9cdc098370a56355 (diff) | |
download | nasm-ce074db7c2bfab688fe87a63bbc89ca875b5a86f.tar.gz nasm-ce074db7c2bfab688fe87a63bbc89ca875b5a86f.tar.bz2 nasm-ce074db7c2bfab688fe87a63bbc89ca875b5a86f.zip |
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 <gorcunov@gmail.com>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
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 |