blob: 1e9a319dc7532e1e01d0bd21c446e70914b5bf62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- talloc-2.0.0-orig/configure.ac 2009-08-31 02:58:36 +0900
+++ talloc-2.0.0/configure.ac 2009-10-23 11:00:13 +0900
@@ -36,10 +36,15 @@
m4_include(libtalloc.m4)
m4_include(compat/talloc_compat1.m4)
-AC_PATH_PROG(XSLTPROC,xsltproc)
DOC_TARGET=""
-if test -n "$XSLTPROC"; then
- DOC_TARGET=doc
+AC_ARG_WITH([doc],
+ AS_HELP_STRING([--without-doc], [disable manpage generation]),
+ [], [with_doc=yes])
+if test "yes" = "$with_doc"; then
+ AC_PATH_PROG(XSLTPROC,xsltproc)
+ if test -n "$XSLTPROC"; then
+ DOC_TARGET=doc
+ fi
fi
AC_SUBST(DOC_TARGET)
|