diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c3b1ff34..2d16e6d3 100644 --- a/configure.ac +++ b/configure.ac @@ -129,11 +129,11 @@ AC_ARG_ENABLE([gtk-doc], AS_IF([test "x$enable_gtk_doc" != xno], [AC_CHECK_TOOL(GI_DOCGEN, [gi-docgen], [no]) - AS_IF([test "x$GI_DOCGEN" = no], + AS_IF([test "x$GI_DOCGEN" = xno], [AS_CASE(["$enable_gtk_doc"], [yes], [AC_MSG_ERROR([gi-docgen not found - cannot build docs])], [auto], [AC_MSG_WARN([gi-docgen not found - not building docs])]) - enable_gtk_doc=no] + enable_gtk_doc=no], [enable_gtk_doc=yes])]) AM_CONDITIONAL(ENABLE_GTK_DOC, [test "x$enable_gtk_doc" = xyes]) |