Index: configure.in =================================================================== RCS file: /cvs/hal/PolicyKit/configure.in,v retrieving revision 1.8 diff -p -u -r1.8 configure.in --- configure.in 6 Jun 2006 14:48:27 -0000 1.8 +++ configure.in 9 Jun 2006 01:11:47 -0000 @@ -150,8 +150,6 @@ AC_CHECK_FUNCS(getgrouplist) # DocBook Documentation -AC_PATH_PROG(XMLTO, xmlto, no) - AC_MSG_CHECKING([whether to build DocBook documentation]) if test x$DOCBOOK = xno ; then @@ -172,6 +170,10 @@ if test x$enable_docbook_docs = xyes; th if test x$have_docbook = xno; then AC_MSG_ERROR([Building DocBook docs explicitly required, but DocBook not found]) fi + AC_PATH_PROG(XMLTO, xmlto, no) + if test x"$XMLTO" = xno; then + AC_MSG_ERROR([xmlto executable not found; needed for building DocBook docs]) + fi fi AM_CONDITIONAL(DOCBOOK_DOCS_ENABLED, test x$enable_docbook_docs = xyes)