Skip to content

Commit 21b6d56

Browse files
author
j
committed
add doxygen build system
svn path=/trunk/vorbis/; revision=16784
1 parent 028fc28 commit 21b6d56

File tree

3 files changed

+1188
-3
lines changed

3 files changed

+1188
-3
lines changed

configure.ac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ AC_LIBTOOL_WIN32_DLL
6363
AC_PROG_LIBTOOL
6464
AM_PROG_CC_C_O
6565

66+
dnl Check for doxygen
67+
if test "x$enable_docs" = xyes; then
68+
AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
69+
AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN)
70+
if test $HAVE_DOXYGEN = "false"; then
71+
AC_MSG_WARN([*** doxygen not found, API documentation will not be built])
72+
fi
73+
fi
74+
6675
dnl latex tools for the specification document
6776
AC_ARG_ENABLE(docs,
6877
AC_HELP_STRING([--enable-docs], [build the documentation]))
@@ -262,6 +271,7 @@ lib/books/coupled/Makefile
262271
lib/books/uncoupled/Makefile
263272
lib/books/floor/Makefile
264273
doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile
274+
doc/Doxyfile
265275
include/Makefile include/vorbis/Makefile
266276
examples/Makefile
267277
test/Makefile

0 commit comments

Comments
 (0)