summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-08-19 14:33:36 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-08-19 14:33:36 +0200
commita60ea26a48006072a5c41ed6ba96e1ad2d60f05a (patch)
tree78decbafa85b7ca22f881a1b64a094f92cc219f0 /configure.in.in
parent00a0b618492fc8985c4b275ab2dac7a28eac9c88 (diff)
downloadgwenview-master.zip
gwenview-master.tar.gz
Fix FTBFS with exiv2 >= 0.27.HEADmaster
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
index fc75ba2..d071480 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -133,7 +133,11 @@ fi
#
# libexiv2
#
+SAVE_CXXFLAGS=$CXXFLAGS
+CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"
KDE_CHECK_HEADERS(exiv2/image.hpp, have_exiv2=yes, have_exiv2=no)
+KDE_CHECK_HEADERS(exiv2/exiv2.hpp)
+CXXFLAGS=$SAVE_CXXFLAGS
if test "$have_exiv2" = "yes"; then
LIB_EXIV2="-lexiv2"