summaryrefslogtreecommitdiff
path: root/recipes/siproxd/files/no-docs.patch
blob: 499a5bb56b6c57ccf6d728413a37104df5124598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Taken from siproxd snapshot

--- siproxd-0.7.1/configure.in	2008-02-02 20:13:31.000000000 +0300
+++ siproxd-0.7.2/configure.in	2009-03-01 18:41:27.000000000 +0300
@@ -135,6 +141,33 @@
 
 
 dnl **********************************************
+dnl * Building doc
+dnl **********************************************
+
+dnl
+dnl --enable-doc
+dnl
+
+   build_docs="yes";
+   AC_MSG_CHECKING(build documentation)
+   AC_ARG_ENABLE(doc,
+      [  --disable-doc               build pdf/html doc (default=enabled)],
+      if test "x$enableval" = "xno"; then
+         build_docs="no";
+      fi
+      AC_MSG_RESULT($build_docs), AC_MSG_RESULT($build_docs))
+   if test "x$build_docs" = "xyes"; then
+      AC_CHECK_PROG(docbook2pdf,docbook2pdf,yes,)
+      AM_CONDITIONAL(have_docbook2pdf,test "$docbook2pdf" = "yes")
+      AC_CHECK_PROG(docbook2html,docbook2html,yes,)
+      AM_CONDITIONAL(have_docbook2html,test "$docbook2html" = "yes")
+   else
+      AM_CONDITIONAL(have_docbook2pdf,false)
+      AM_CONDITIONAL(have_docbook2html,false)
+   fi
+
+
+dnl **********************************************
 dnl * Selection of static build variants
 dnl **********************************************