diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2014-09-09 18:37:15 +0100 |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2014-10-13 22:13:29 +0100 |
commit | 33d1ba069ac55f8fcfe50f67197e09b1285d4350 (patch) | |
tree | 9e38fc742497b2a8eda7d2f40a31457a57107ece /configure.ac | |
parent | 7d3d832326f5114c517100dae6bafbadf5e6648f (diff) | |
download | gvfs-33d1ba069ac55f8fcfe50f67197e09b1285d4350.tar.gz |
Build shared code for gphoto2 and mtp as a convenience lib
Deduplicate code between gphoto2 and mtp by creating a convenience
library call libgvfscommon-gphoto2 which is only built if either libmtp
is used or gphoto2 with gudev is used.
https://bugzilla.gnome.org/show_bug.cgi?id=736285
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 79ea3af2..021bf9de 100644 --- a/configure.ac +++ b/configure.ac @@ -557,6 +557,9 @@ AC_SUBST(LIBMTP_CFLAGS) AC_SUBST(LIBMTP_LIBS) AM_CONDITIONAL(USE_LIBMTP, [test "$msg_libmtp" = "yes"]) +AM_CONDITIONAL(USE_GPHOTO2UTILS, + [test "$msg_libmtp" = "yes" -o \( "$msg_gphoto2" = "yes" -a "$msg_gudev" = "yes" \)]) + dnl ========================================================================== dnl Samba 3.0 |