From a96da238fa6ca21dd0c4dffa7d1b63e6a7810fc8 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(-) diff --git a/configure.ac b/configure.ac index 244fddb8..b08974ed 100644 --- a/configure.ac +++ b/configure.ac @@ -695,6 +695,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) @@ -717,7 +718,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