check doxygen availability only if we enable documentation build

SVN revision: 38866
This commit is contained in:
Vincent Torri 2009-01-31 20:18:51 +00:00
parent 29b0f87503
commit 6364a1b9da
1 changed files with 42 additions and 39 deletions

View File

@ -28,19 +28,21 @@ AC_ARG_ENABLE([doc],
[efl_enable_doc="yes"]
)
if test "x${efl_enable_doc}" = "xyes" ; then
dnl
dnl Specify the full file name, with path
dnl
efl_doxygen="doxygen"
efl_doxygen="doxygen"
AC_ARG_WITH([doxygen],
AC_ARG_WITH([doxygen],
[AC_HELP_STRING(
[--with-doxygen=FILE],
[doxygen program to use @<:@default=doxygen@:>@])],
dnl
dnl Check the given doxygen program.
dnl
dnl
dnl Check the given doxygen program.
dnl
[DOXYGEN=${withval}
AC_CHECK_PROG([efl_have_doxygen],
[${efl_doxygen}],
@ -71,7 +73,8 @@ AC_ARG_WITH([doxygen],
AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
fi
]
)
)
fi
dnl
dnl Substitution