From 7504ba0946c1654e471d2b7afaf0661f97a089d7 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Wed, 6 Feb 2013 09:39:34 +0800 Subject: [PATCH] Don't try to build the documentation if doxygen isn't found 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 --- 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") -- 2.7.4