From 5a88b90d367fe89c31eba4f87f1e5fc367a5130f Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 31 Aug 2015 14:46:09 +0200 Subject: configure: properly show "epub backend: no" in summary if it's off Thanks to @monsta for reporting the problem. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9785e2da..42af4e67 100644 --- a/configure.ac +++ b/configure.ac @@ -587,6 +587,7 @@ AC_ARG_ENABLE(epub, [enable_epub=$enableval], [enable_epub=yes]) +have_webkit="no" if test "x$enable_epub" = "xyes"; then case "$with_gtk" in 2.0) @@ -609,7 +610,6 @@ esac if test "x$have_webkit" = "xyes"; then AC_DEFINE([ENABLE_EPUB], [1], [Enable support for ePub documents.]) else - have_webkit="no" AC_MSG_WARN(["ePub support is disabled."]) fi fi -- cgit v1.2.1