scummvm random work
[patches.git] / shadow-abort-when-man-support-fails.patch
CommitLineData
5e993f12 1Index: configure.in
2===================================================================
3RCS file: /cvsroot/shadow/configure.in,v
4retrieving revision 1.142
5diff -u -p -r1.142 configure.in
6--- configure.in 1 Jun 2006 21:07:27 -0000 1.142
7+++ configure.in 10 Jun 2006 21:44:08 -0000
8@@ -246,14 +246,14 @@ if test "$enable_man" = "yes"; then
9 dnl
10 AC_PATH_PROG([XSLTPROC], [xsltproc])
11 if test -z "$XSLTPROC"; then
12- enable_man=no
13+ AC_MSG_ERROR(man support requested but no xsltproc found)
14 fi
15
16 dnl check for DocBook DTD and stylesheets in the local catalog.
17 JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
18- [DocBook XML DTD V4.1.2], [], enable_man=no)
19+ [DocBook XML DTD V4.1.2], [], [AC_MSG_ERROR(man support requested but no docbook xml found)])
20 JH_CHECK_XML_CATALOG([http://docbook.sf.net/release/xsl/current/manpages/docbook.xsl],
21- [DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
22+ [DocBook XSL Stylesheets >= 1.70.1], [], [AC_MSG_ERROR(man support requested but no docbook xsl found)])
23 fi
24 AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
25