From c0b4da18e199d1043738c034269f5dd6a4aa7d99 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Wed, 10 Jan 2018 22:39:05 +0100
Subject: [PATCH] Fix ./configure --without-exiv2

Variable names were in error

Bug: https://bugs.gentoo.org/641872
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 30d306e..146b271 100644
--- a/configure.ac
+++ b/configure.ac
@@ -977,8 +977,8 @@ AC_SUBST(LIBSPIRO)
 
 AC_ARG_WITH(exiv2, [  --without-exiv2         build without libexiv2 support])
 
-have_libexiv2="no"
-if test "x$with_libexiv2" != "xno"; then
+have_exiv2="no"
+if test "x$with_exiv2" != "xno"; then
   PKG_CHECK_MODULES(EXIV2, exiv2,
     have_exiv2="yes",
     have_exiv2="no  (exiv2 library not found)")
-- 
2.16.0.rc0

