[folks] Fix the configure output for docs.



commit bdc5313dd94b26c208098ce59a7a6ddcdaad2f4b
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Fri Jun 24 08:21:54 2011 -0700

    Fix the configure output for docs.
    
    Based upon a couple issues raised in bgo#653325

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 432f30d..cc4b50c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -317,6 +317,7 @@ AC_ARG_ENABLE([docs],
               [enable_docs=$enableval], [enable_docs=no])
 AM_CONDITIONAL([ENABLE_DOCS], [test x$enable_docs = xyes])
 
+have_valadoc=no
 AS_IF([test "x$enable_docs" != xno],
       [AC_PATH_PROG([VALADOC], [valadoc], [:])
        AS_IF([test "$VALADOC" != :], have_valadoc=yes)])
@@ -446,7 +447,7 @@ Configure summary:
         C Compiler Flags............:  ${CFLAGS} ${ERROR_CFLAGS}
         Prefix......................:  ${prefix}
         Bugreporting URL............:  ${PACKAGE_BUGREPORT}
-        Documentation...............:  ${HAVE_VALADOC}
+        Documentation...............:  ${have_valadoc}
         Tests.......................:  ${have_tp_glib_for_tests}
         Import tool.................:  ${with_import_tool}
         Inspector tool..............:  ${with_inspect_tool}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]