Define the HAVE_DOXYGEN conditional unconditionally so the configure
authorRalph Giles <giles@xiph.org>
Fri, 15 Jan 2010 02:31:15 +0000 (02:31 +0000)
committerRalph Giles <giles@xiph.org>
Fri, 15 Jan 2010 02:31:15 +0000 (02:31 +0000)
script completes even with --disable-docs.

svn path=/trunk/vorbis/; revision=16785

configure.ac

index 0ca65bb..8d56dcb 100644 (file)
@@ -64,13 +64,14 @@ AC_PROG_LIBTOOL
 AM_PROG_CC_C_O
 
 dnl Check for doxygen
+HAVE_DOXYGEN=false
 if test "x$enable_docs" = xyes; then
   AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
-  AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN)
   if test $HAVE_DOXYGEN = "false"; then
     AC_MSG_WARN([*** doxygen not found, API documentation will not be built])
   fi
 fi
+AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN)
 
 dnl latex tools for the specification document
 AC_ARG_ENABLE(docs,