summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-01-31 20:18:51 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-01-31 20:18:51 +0000
commit6364a1b9daecced443860400baa884c126c9491f (patch)
treeb41b622212a0973a268d983fdafad39abe9dc87d /legacy
parent29b0f87503bfa1635b94139bf4761de1fce1b260 (diff)
check doxygen availability only if we enable documentation build
SVN revision: 38866
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eet/m4/efl_doxygen.m481
1 files changed, 42 insertions, 39 deletions
diff --git a/legacy/eet/m4/efl_doxygen.m4 b/legacy/eet/m4/efl_doxygen.m4
index 37acb3acc2..eaac9933e0 100644
--- a/legacy/eet/m4/efl_doxygen.m4
+++ b/legacy/eet/m4/efl_doxygen.m4
@@ -28,50 +28,53 @@ AC_ARG_ENABLE([doc],
28 [efl_enable_doc="yes"] 28 [efl_enable_doc="yes"]
29) 29)
30 30
31if test "x${efl_enable_doc}" = "xyes" ; then
32
31dnl 33dnl
32dnl Specify the full file name, with path 34dnl Specify the full file name, with path
33dnl 35dnl
34 36
35efl_doxygen="doxygen" 37 efl_doxygen="doxygen"
36 38
37AC_ARG_WITH([doxygen], 39 AC_ARG_WITH([doxygen],
38 [AC_HELP_STRING( 40 [AC_HELP_STRING(
39 [--with-doxygen=FILE], 41 [--with-doxygen=FILE],
40 [doxygen program to use @<:@default=doxygen@:>@])], 42 [doxygen program to use @<:@default=doxygen@:>@])],
41 dnl 43dnl
42 dnl Check the given doxygen program. 44dnl Check the given doxygen program.
43 dnl 45dnl
44 [DOXYGEN=${withval} 46 [DOXYGEN=${withval}
45 AC_CHECK_PROG([efl_have_doxygen], 47 AC_CHECK_PROG([efl_have_doxygen],
46 [${efl_doxygen}], 48 [${efl_doxygen}],
47 [yes], 49 [yes],
48 [no]) 50 [no])
49 if test "x${efl_have_doxygen}" = "xno" ; then 51 if test "x${efl_have_doxygen}" = "xno" ; then
50 echo "WARNING:" 52 echo "WARNING:"
51 echo "The doxygen program you specified:" 53 echo "The doxygen program you specified:"
52 echo "$efl_doxygen" 54 echo "$efl_doxygen"
53 echo "was not found. Please check the path and make sure " 55 echo "was not found. Please check the path and make sure "
54 echo "the program exists and is executable." 56 echo "the program exists and is executable."
55 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built]) 57 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
56 fi 58 fi
57 ], 59 ],
58 [AC_CHECK_PROG([efl_have_doxygen], 60 [AC_CHECK_PROG([efl_have_doxygen],
59 [${efl_doxygen}], 61 [${efl_doxygen}],
60 [yes], 62 [yes],
61 [no]) 63 [no])
62 if test "x${efl_have_doxygen}" = "xno" ; then 64 if test "x${efl_have_doxygen}" = "xno" ; then
63 echo "WARNING:" 65 echo "WARNING:"
64 echo "The doxygen program was not found in your execute" 66 echo "The doxygen program was not found in your execute"
65 echo "You may have doxygen installed somewhere not covered by your path." 67 echo "You may have doxygen installed somewhere not covered by your path."
66 echo "" 68 echo ""
67 echo "If this is the case make sure you have the packages installed, AND" 69 echo "If this is the case make sure you have the packages installed, AND"
68 echo "that the doxygen program is in your execute path (see your" 70 echo "that the doxygen program is in your execute path (see your"
69 echo "shell manual page on setting the \$PATH environment variable), OR" 71 echo "shell manual page on setting the \$PATH environment variable), OR"
70 echo "alternatively, specify the program to use with --with-doxygen." 72 echo "alternatively, specify the program to use with --with-doxygen."
71 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built]) 73 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
72 fi 74 fi
73 ] 75 ]
74) 76 )
77fi
75 78
76dnl 79dnl
77dnl Substitution 80dnl Substitution