]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/scew/scew-0.3.1/m4.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / scew / scew-0.3.1 / m4.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- /dev/null
7 +++ scew-0.3.1/m4/doxygen.m4
8 @@ -0,0 +1,62 @@
9 +#
10 +# $Id: doxygen.m4,v 1.1 2003/07/09 21:56:03 aleix Exp $
11 +#
12 +# Author: Aleix Conchillo Flaque <aleix@member.fsf.org>
13 +# Start date: Sun Jul 06, 2003 04:41
14 +#
15 +# Copyright (C) 2003 Aleix Conchillo Flaque
16 +#
17 +
18 +# Locate doxygen and auxiliary programs.
19 +# SCEW_DOXYGEN declares the configure arguments
20 +#     doxygen
21 +#     dot
22 +#     html-docs
23 +#     latex-docs
24 +# The conditional macro DOC marks whether doxygen is enabled
25 +# (or found, if not disabled). In the doxyfile.in file,
26 +#     @enable_dot@
27 +#     @enable_html_docs@
28 +#     @enable_latex_docs@
29 +# can be used to setup the documentation's generation.
30 +
31 +AC_DEFUN(SCEW_DOXYGEN,
32 +[
33 +AC_ARG_ENABLE(doxygen,
34 +[  --enable-doxygen        enable documentation generation with doxygen (auto)])
35 +AC_ARG_ENABLE(dot,
36 +[  --enable-dot            use 'dot' to generate graphs in doxygen (auto)])
37 +AC_ARG_ENABLE(html-docs,
38 +[  --enable-html-docs      enable HTML generation with doxygen (yes)], [], [ enable_html_docs=yes])
39 +AC_ARG_ENABLE(latex-docs,
40 +[  --enable-latex-docs     enable LaTeX documentation generation with doxygen (no)], [], [ enable_latex_docs=no])
41 +
42 +if test "x$enable_doxygen" = xno; then
43 +        enable_doc=no
44 +else
45 +        AC_PATH_PROG(DOXYGEN, doxygen, , $PATH)
46 +        if test x$DOXYGEN = x; then
47 +                if test "x$enable_doxygen" = xyes; then
48 +                        AC_MSG_ERROR([could not find doxygen])
49 +                fi
50 +                enable_doc=no
51 +        else
52 +                enable_doc=yes
53 +                AC_PATH_PROG(DOT, dot, , $PATH)
54 +        fi
55 +fi
56 +AM_CONDITIONAL(DOC, test x$enable_doc = xyes)
57 +
58 +if test x$DOT = x; then
59 +        if test "x$enable_dot" = xyes; then
60 +                AC_MSG_ERROR([could not find dot])
61 +        fi
62 +        enable_dot=no
63 +else
64 +        enable_dot=yes
65 +fi
66 +AC_SUBST(enable_dot)
67 +AC_SUBST(enable_html_docs)
68 +AC_SUBST(enable_latex_docs)
69 +])
70 +