summaryrefslogtreecommitdiff
path: root/legacy/evil/m4/efl_doxygen.m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-10-05 15:53:22 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-10-05 15:53:22 +0000
commit22d8fefc05e13ecb71ff9fb8cfdb3e5264961b66 (patch)
tree9ad656d772ede9b5cf3a668e25ff98470df45de1 /legacy/evil/m4/efl_doxygen.m4
parentaee5f5cec673f56a1ed4fe5848feeb0aa3af939b (diff)
* m4:
add m4 macro for doxygen, mpatrol and __attribute__ * doc: move Doxyfile from toplevel dir to doc/ * src/bin/Makefile.am * src/lib/Makefile.am * src/lib/dlfcn/Makefile.am remove _DEPENDENCIES, add flags for mpatrol and put defines for EAPI * src/bin: add memcpy for i686. Need an asm expert to modify it * src/bin/memcpy_glibc_arm.S: formatting * src/bin/suite.c: fix seg fault by increasing the size of the buffers * src/bin/test_memcpy.c: add a test with a bigger size for the memory to copy * configure.ac: reorganise a lot, use m4 macro, add mpatrol support * Makefile.am: add doc rule SVN revision: 36446
Diffstat (limited to '')
-rwxr-xr-xlegacy/evil/m4/efl_doxygen.m484
1 files changed, 84 insertions, 0 deletions
diff --git a/legacy/evil/m4/efl_doxygen.m4 b/legacy/evil/m4/efl_doxygen.m4
new file mode 100755
index 0000000000..5f02bb4b0a
--- /dev/null
+++ b/legacy/evil/m4/efl_doxygen.m4
@@ -0,0 +1,84 @@
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
74AM_CONDITIONAL(EFL_BUILD_DOC, test "x${BUILD_DOCS}" = "xyes")
75
76if test "x${BUILD_DOCS}" = "xyes" ; then
77 ifelse([$1], , :, [$1])
78else
79 ifelse([$2], , :, [$2])
80fi
81
82])
83
84dnl End of doxygen.m4