summaryrefslogtreecommitdiff
path: root/legacy/eina/m4/doxygen.m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-08-27 13:34:04 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-08-27 13:34:04 +0000
commit9824a1a86c5cb146f76df2087637c64b49645b06 (patch)
tree414cf94307fb2581d968a4d119fffd1e6677fc1d /legacy/eina/m4/doxygen.m4
parent394c787dde01be40598fc4cd61147433a3db39df (diff)
Update documentation:
* run 'make doc' to generate the documentation. Hence gendoc disappear. Doxyfile is moved to doc/ * update main page and doc of hash table, but it has to be filled. SVN revision: 35692
Diffstat (limited to '')
-rw-r--r--legacy/eina/m4/doxygen.m482
1 files changed, 82 insertions, 0 deletions
diff --git a/legacy/eina/m4/doxygen.m4 b/legacy/eina/m4/doxygen.m4
new file mode 100644
index 0000000000..8b2897179b
--- /dev/null
+++ b/legacy/eina/m4/doxygen.m4
@@ -0,0 +1,82 @@
1dnl Configure script for doxygen
2dnl Vincent Torri 2008-08-25
3dnl
4dnl EFL_CHECK_DOXYGEN([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
5dnl Test for the doxygen program, and define DOXYGEN.
6dnl
7AC_DEFUN([EFL_CHECK_DOXYGEN],
8[
9
10DOXYGEN="doxygen"
11
12dnl
13dnl Disable the build of the documentation
14dnl
15AC_ARG_ENABLE([doc],
16 AC_HELP_STRING(
17 [--disable-doc],
18 [Disable the build of the documentation]),
19 [if test "${disable_doc}" = "yes" ; then
20 enable_doc="no"
21 else
22 enable_doc="yes"
23 fi],
24 [enable_doc="yes"]
25)
26
27dnl
28dnl Specify the full file name, with path
29dnl
30AC_ARG_WITH([doxygen],
31 AC_HELP_STRING(
32 [--with-doxygen=FILE],
33 [doxygen program to use @<:@default=doxygen@:>@]),
34 dnl
35 dnl Check the given doxygen program.
36 dnl
37 [DOXYGEN=${withval}
38 AC_CHECK_PROG([BUILD_DOCS],
39 [${DOXYGEN}],
40 [yes],
41 [no])
42 if test "x${BUILD_DOCS}" = "xno" ; then
43 echo "WARNING:"
44 echo "The doxygen program you specified:"
45 echo "$DOXYGEN"
46 echo "was not found. Please check the path and make sure "
47 echo "the program exists and is executable."
48 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
49 fi
50 ],
51 [AC_CHECK_PROG([BUILD_DOCS],
52 [${DOXYGEN}],
53 [yes],
54 [no])
55 if test "x${BUILD_DOCS}" = "xno" ; then
56 echo "WARNING:"
57 echo "The doxygen program was not found in your execute"
58 echo "You may have doxygen installed somewhere not covered by your path."
59 echo ""
60 echo "If this is the case make sure you have the packages installed, AND"
61 echo "that the doxygen program is in your execute path (see your"
62 echo "shell manual page on setting the \$PATH environment variable), OR"
63 echo "alternatively, specify the program to use with --with-doxygen."
64 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
65 fi
66 ]
67)
68
69dnl
70dnl Substitution
71dnl
72AC_SUBST([DOXYGEN])
73
74if test "x${BUILD_DOCS}" = "xyes" ; then
75 ifelse([$1], , :, [$1])
76else
77 ifelse([$2], , :, [$2])
78fi
79
80])
81
82dnl End of doxygen.m4