summaryrefslogtreecommitdiff
path: root/legacy/elementary/m4
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2009-05-19 09:29:20 +0000
committerCarsten Haitzler <raster@rasterman.com>2009-05-19 09:29:20 +0000
commit9d7db8278275b0f871547dfe55f7d623f84b8cc7 (patch)
treef587e6f73ebd74e832e156bc8c69d6fcb725fc59 /legacy/elementary/m4
parentb68636289b7df7815e12151c628f05802b9c86e3 (diff)
documentation... more! build! look vaguely ok
SVN revision: 40734
Diffstat (limited to 'legacy/elementary/m4')
-rw-r--r--legacy/elementary/m4/efl_doxygen.m423
1 files changed, 12 insertions, 11 deletions
diff --git a/legacy/elementary/m4/efl_doxygen.m4 b/legacy/elementary/m4/efl_doxygen.m4
index 0c1452f..dd6bc3e 100644
--- a/legacy/elementary/m4/efl_doxygen.m4
+++ b/legacy/elementary/m4/efl_doxygen.m4
@@ -25,13 +25,15 @@ AC_ARG_ENABLE([doc],
25 efl_enable_doc="no" 25 efl_enable_doc="no"
26 fi 26 fi
27 ], 27 ],
28 [efl_enable_doc="yes"] 28 [efl_enable_doc="yes"])
29) 29
30AC_MSG_CHECKING([whether to build documentation])
31AC_MSG_RESULT([${efl_enable_doc}])
30 32
31if test "x${efl_enable_doc}" = "xyes" ; then 33if test "x${efl_enable_doc}" = "xyes" ; then
32 34
33dnl 35dnl
34dnl Specify the full file name, with path 36dnl Specify the file name, without path
35dnl 37dnl
36 38
37 efl_doxygen="doxygen" 39 efl_doxygen="doxygen"
@@ -51,10 +53,10 @@ dnl
51 if test "x${efl_have_doxygen}" = "xno" ; then 53 if test "x${efl_have_doxygen}" = "xno" ; then
52 echo "WARNING:" 54 echo "WARNING:"
53 echo "The doxygen program you specified:" 55 echo "The doxygen program you specified:"
54 echo "$efl_doxygen" 56 echo "${efl_doxygen}"
55 echo "was not found. Please check the path and make sure " 57 echo "was not found. Please check the path and make sure "
56 echo "the program exists and is executable." 58 echo "the program exists and is executable."
57 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built]) 59 AC_MSG_WARN([no doxygen detected. Documentation will not be built])
58 fi 60 fi
59 ], 61 ],
60 [AC_CHECK_PROG([efl_have_doxygen], 62 [AC_CHECK_PROG([efl_have_doxygen],
@@ -63,17 +65,16 @@ dnl
63 [no]) 65 [no])
64 if test "x${efl_have_doxygen}" = "xno" ; then 66 if test "x${efl_have_doxygen}" = "xno" ; then
65 echo "WARNING:" 67 echo "WARNING:"
66 echo "The doxygen program was not found in your execute" 68 echo "The doxygen program was not found in your execute path."
67 echo "You may have doxygen installed somewhere not covered by your path." 69 echo "You may have doxygen installed somewhere not covered by your path."
68 echo "" 70 echo ""
69 echo "If this is the case make sure you have the packages installed, AND" 71 echo "If this is the case make sure you have the packages installed, AND"
70 echo "that the doxygen program is in your execute path (see your" 72 echo "that the doxygen program is in your execute path (see your"
71 echo "shell manual page on setting the \$PATH environment variable), OR" 73 echo "shell manual page on setting the \$PATH environment variable), OR"
72 echo "alternatively, specify the program to use with --with-doxygen." 74 echo "alternatively, specify the program to use with --with-doxygen."
73 AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built]) 75 AC_MSG_WARN([no doxygen detected. Documentation will not be built])
74 fi 76 fi
75 ] 77 ])
76 )
77fi 78fi
78 79
79dnl 80dnl
@@ -88,9 +89,9 @@ fi
88AM_CONDITIONAL(EFL_BUILD_DOC, test "x${efl_enable_doc}" = "xyes") 89AM_CONDITIONAL(EFL_BUILD_DOC, test "x${efl_enable_doc}" = "xyes")
89 90
90if test "x${efl_enable_doc}" = "xyes" ; then 91if test "x${efl_enable_doc}" = "xyes" ; then
91 ifelse([$1], , :, [$1]) 92 m4_default([$1], [:])
92else 93else
93 ifelse([$2], , :, [$2]) 94 m4_default([$2], [:])
94fi 95fi
95 96
96]) 97])