- added --without docbook

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1201 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
okir 2003-06-15 11:54:40 +00:00
parent 0b85e180d7
commit 9fd1ceefb5
1 changed files with 10 additions and 0 deletions

View File

@ -1113,7 +1113,17 @@ if (test x$enable_debug = xyes); then
fi
dnl Check for SGML processor
AC_ARG_WITH(docbook,
[ --without-docbook do no generate html manual (needs docbook)],
with_docbook=$withval)
AC_CHECK_PROG(XSLTPROC, xsltproc, xsltproc)
if test "x$XSLTPROC" = "x"; then
if test "x$with_docbook" = "xyes"; then
AC_MSG_ERROR([Docbook support requested, but cannot find xsltproc])
fi
with_docbook=no
fi
AM_CONDITIONAL(HAVE_DOCBOOK, test "x$with_docbook" != "xno")
CPPFLAGS="-I\${top_builddir}/src/include $CPPFLAGS"