diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-08-10 16:18:30 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-10 12:43:42 -0400 |
commit | 7d8ef8effd511d4e0b66d735eb0ae68a80ef633a (patch) | |
tree | 67fc1294f21725630b1107b5c5849b851c135d2f /server/configure.ac | |
parent | 00aa07816bfd4305ac94780a8c2b9e6609be39ea (diff) | |
download | sssd_unused-7d8ef8effd511d4e0b66d735eb0ae68a80ef633a.tar.gz sssd_unused-7d8ef8effd511d4e0b66d735eb0ae68a80ef633a.tar.xz sssd_unused-7d8ef8effd511d4e0b66d735eb0ae68a80ef633a.zip |
Add configure checks for docbook XSL templates and XML tools
Changes the configure process so that configure errors out if lacks the
tools necessary to build manual pages (like xsltproc). Also adds a check
for required URI of the docbook XSL templates using the xmlcatalog tool.
Diffstat (limited to 'server/configure.ac')
-rw-r--r-- | server/configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/server/configure.ac b/server/configure.ac index 1abaa15c..9cd30e20 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -57,6 +57,7 @@ m4_include([external/ldap.m4]) m4_include([external/libpcre.m4]) m4_include([external/krb5.m4]) m4_include([external/libcares.m4]) +m4_include([external/docbook.m4]) m4_include([util/signal.m4]) PKG_CHECK_MODULES([DBUS],[dbus-1]) @@ -72,9 +73,10 @@ fi PKG_CHECK_MODULES([NSS],[nss]) if test x$HAVE_MANPAGES != x; then - AC_CHECK_FILE($SGML_CATALOG_FILES, [], [AC_MSG_ERROR([could not find XML catalog])]) - AC_PATH_PROG([XSLTPROC], [xsltproc]) - AC_PATH_PROG([XMLLINT], [xmllint]) + CHECK_XML_TOOLS + CHECK_STYLESHEET([$SGML_CATALOG_FILES], + [http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl], + [Docbook XSL templates]) fi AC_CHECK_HEADERS([sys/inotify.h]) |