summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-06-25 14:52:25 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-06-25 18:47:13 -0400
commit4eed3443945a9d1443ec688efd835f46ed9adfc9 (patch)
tree74b345e740bf014781e27be2148d4742821664e6
parent01ef7c69d91259e5904f26b6b4630243d548232a (diff)
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 <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--xorg-macros.m4.in7
1 files changed, 7 insertions, 0 deletions
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