[Libva] [PATCH 1/2] Don't try to build the documentation if doxygen isn't found
Xiang, Haihao
haihao.xiang at intel.com
Tue Feb 5 20:58:56 PST 2013
From: "Xiang, Haihao" <haihao.xiang at intel.com>
Making all in doc
make[2]: Entering directory `/home/xhh/graphics/ex/vaapi/libva/doc'
enable_docs=no Doxyfile
/bin/bash: Doxyfile: command not found
make[2]: *** [html-out/index.html] Error 127
make[2]: Leaving directory `/home/xhh/graphics/ex/vaapi/libva/doc'
Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 0cef554..b296d4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,7 +175,10 @@ AC_SYS_LARGEFILE
# Check for Doxygen
if test "$enable_docs" = "yes"; then
- AC_CHECK_TOOL([DOXYGEN], [doxygen], [enable_docs="no"])
+ AC_CHECK_TOOL([DOXYGEN], [doxygen], [no])
+ if test "$DOXYGEN" = "no"; then
+ enable_docs="no"
+ fi
fi
AM_CONDITIONAL(ENABLE_DOCS, test "$enable_docs" = "yes")
--
1.7.9.5
More information about the Libva
mailing list