summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-12 01:16:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-12 01:16:43 +0200
commit543d6c2a73f5db018c6813d4a6bf46707298d070 (patch)
treefeb4e736a714ed268023dc1229090a6c18bff397 /configure.in
parent5b03c2a0af33ad99d1df62064ff68eb37e7a458c (diff)
downloadkipi-plugins-543d6c2a73f5db018c6813d4a6bf46707298d070.tar.gz
kipi-plugins-543d6c2a73f5db018c6813d4a6bf46707298d070.zip
Add support for gphoto 2.5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0a7fadd..54f2542 100644
--- a/configure.in
+++ b/configure.in
@@ -368,6 +368,10 @@ if test "x$build_gphoto" != "xno"; then
LIB_GPHOTO="`$GPHOTO_CONFIG --libs` `$GPHOTO_PORT_CONFIG --libs`"
AC_SUBST(LIB_GPHOTO)
have_gphoto=yes
+ AC_CHECK_LIB(gphoto2_port, gp_port_info_get_name, have_gphoto2_5=yes, have_gphoto2_5=no)
+ if test "x$have_gphoto2_5" != "xno"; then
+ AC_DEFINE(HAVE_GPHOTO2_5, 1, [have gphoto 2.5])
+ fi
else
AC_MSG_WARN([gPhoto2 not found, some plugins will not be compiled.])
fi