summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-04-23 17:36:41 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-04-23 17:36:41 -0700
commit258736fa5371c31bcde7f76f1089f0721c7f2275 (patch)
tree212523e488beb332dd87b8248c4b02acb110bef4 /configure.ac
parentbb772fb6c515bcccbde0947ca9fad03b350ae012 (diff)
downloadxorg-lib-libXcomposite-258736fa5371c31bcde7f76f1089f0721c7f2275.tar.gz
Add libXcomposite man page (converted from protocol specs)
Translate protocol specs + header into library/API documentation in Docbook/XML format Convert XML -> nroff/man at dist time so that only maintainers and developers building from git need xmlto installed.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bedf4d2..62100d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,10 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_LIBTOOL
+AC_ARG_VAR([XMLTO], [Path to xmlto command])
+AC_PATH_PROG([XMLTO], [xmlto])
+AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"])
+
# Check compositeext configuration, strip extra digits from package version to
# find the required protocol version
@@ -56,9 +60,11 @@ PKG_CHECK_MODULES(XCOMPOSITE, [compositeproto >= $COMPOSITEEXT_VERSION] x11 xfix
AC_SUBST(XCOMPOSITE_CFLAGS)
AC_SUBST(XCOMPOSITE_LIBS)
+XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
AC_OUTPUT([Makefile
src/Makefile
+ man/Makefile
xcomposite.pc])