From 4eed3443945a9d1443ec688efd835f46ed9adfc9 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Fri, 25 Jun 2010 14:52:25 -0400 Subject: XORG_CHECK_SGML_DOCTOOLS: add interface for xorg stylesheet Add STYLESHEET_SRCDIR for directory location and XSL_STLESHEET for the name of the xorg style sheet Reviewed-by: Alan Coopersmith Signed-off-by: Gaetan Nadon --- xorg-macros.m4.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index a1a0961..0e84d5b 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -216,13 +216,20 @@ PKG_CHECK_EXISTS([xorg-sgml-doctools m4_ifval([$1],[>= $1])], fi]) ]) +# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing +# the path and the name of the doc stylesheet if test "x$XORG_SGML_PATH" != "x" ; then AC_MSG_RESULT([$XORG_SGML_PATH]) + STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11 + XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl else AC_MSG_RESULT([no]) fi AC_SUBST(XORG_SGML_PATH) +AC_SUBST(STYLESHEET_SRCDIR) +AC_SUBST(XSL_STYLESHEET) +AM_CONDITIONAL([HAVE_STYLESHEETS], [test "x$XSL_STYLESHEET" != "x"]) ]) # XORG_CHECK_SGML_DOCTOOLS # XORG_CHECK_LINUXDOC -- cgit v1.2.3