Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ralph Giles
Opusfile
Commits
bc1985a1
Commit
bc1985a1
authored
Oct 23, 2012
by
Ralph Giles
Browse files
Don't build the API docs if doxygen isn't available.
Updates the configure check to match the one in the Opus repository.
parent
cfd4e2c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
bc1985a1
...
...
@@ -84,16 +84,12 @@ AC_ARG_ENABLE([doc],
AS_HELP_STRING([--disable-doc], [Do not build API documentation]),,
[enable_doc=yes]
)
if test "x$enable_doc" != "xno"; then
AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
if test "x$HAVE_DOXYGEN" = "xfalse" -a "x$enable_doc" = "xyes" ; then
AC_MSG_ERROR([*** Doxygen not found. Cannot build API documentation. ***])
fi
else
HAVE_DOXYGEN=false
AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, yes, no)
if test "$HAVE_DOXYGEN" != "yes" -o "$enable_doc" != "yes" ; then
HAVE_DOXYGEN="no"
enable_doc="no"
fi
AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN)
AM_CONDITIONAL(HAVE_DOXYGEN,
[test
$HAVE_DOXYGEN
= yes]
)
AC_OUTPUT([
Makefile
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment