[rygel] build: Check whether we can generate the manpages
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] build: Check whether we can generate the manpages
- Date: Tue, 14 Jun 2016 20:24:09 +0000 (UTC)
commit 1fafc4ba0179e3efcd43111c56d7691f7affd993
Author: Jens Georg <mail jensge org>
Date: Tue Jun 14 22:01:25 2016 +0200
build: Check whether we can generate the manpages
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=767458
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4f6327c..fd85125 100644
--- a/configure.ac
+++ b/configure.ac
@@ -458,6 +458,12 @@ AM_SILENT_RULES([yes])
dnl documenation
AC_PATH_PROG([XSLTPROC], [xsltproc])
+AS_IF([test "x$XSLTPROC" != "x"],
+ [
+ AC_MSG_CHECKING([whether $XSLTPROC can create manpages])
+ $XSLTPROC -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl >/dev/null
2>&1
+ AS_IF([test "$?" = 0], [AC_MSG_RESULT([yes])], [XSLTPROC=""; AC_MSG_RESULT([no])])
+ ])
AM_CONDITIONAL([HAVE_XSLTPROC], [test x"$XSLTPROC" != x])
dnl Use valadoc and gtk-doc for API documentation:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]