summaryrefslogtreecommitdiffstats
path: root/sss_client/external
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-09-23 17:28:00 +0200
committerSimo Sorce <ssorce@redhat.com>2009-09-23 12:33:02 -0400
commit2d122490cb57fe4e8c4b8968d68576f092eb0e60 (patch)
treebc14f84c4db9a7f6a21fd6132bfd83d4026dc38c /sss_client/external
parent5085072530ead6c81d5e73fe11c41441470eb15b (diff)
downloadsssd-2d122490cb57fe4e8c4b8968d68576f092eb0e60.tar.gz
sssd-2d122490cb57fe4e8c4b8968d68576f092eb0e60.tar.xz
sssd-2d122490cb57fe4e8c4b8968d68576f092eb0e60.zip
add a man page for pam_sss
Diffstat (limited to 'sss_client/external')
-rw-r--r--sss_client/external/docbook.m435
1 files changed, 35 insertions, 0 deletions
diff --git a/sss_client/external/docbook.m4 b/sss_client/external/docbook.m4
new file mode 100644
index 000000000..cae89feb1
--- /dev/null
+++ b/sss_client/external/docbook.m4
@@ -0,0 +1,35 @@
+dnl Checks for tools needed to generate manual pages
+AC_DEFUN([CHECK_XML_TOOLS],
+[
+ AC_PATH_PROG([XSLTPROC], [xsltproc])
+ if test ! -x "$XSLTPROC"; then
+ AC_MSG_ERROR([Could not find xsltproc])
+ fi
+
+ AC_PATH_PROG([XMLLINT], [xmllint])
+ if test ! -x "$XMLLINT"; then
+ AC_MSG_ERROR([Could not find xmllint])
+ fi
+
+ AC_PATH_PROG([XMLCATALOG], [xmlcatalog])
+ if test ! -x "$XMLCATALOG"; then
+ AC_MSG_ERROR([Could not find xmlcatalog])
+ fi
+])
+
+dnl Usage:
+dnl CHECK_STYLESHEET_URI(FILE, URI, [FRIENDLY-NAME])
+dnl Checks if the XML catalog given by FILE exists and
+dnl if a particular URI appears in the XML catalog
+AC_DEFUN([CHECK_STYLESHEET],
+[
+ AC_CHECK_FILE($1, [], [AC_MSG_ERROR([could not find XML catalog])])
+
+ AC_MSG_CHECKING([for ifelse([$3],,[$2],[$3]) in XML catalog])
+ if AC_RUN_LOG([$XMLCATALOG --noout "$1" "$2" >&2]); then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_ERROR([could not find ifelse([$3],,[$2],[$3]) in XML catalog])
+ fi
+])
+