summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-04-02 04:11:02 +0200
committerGravatar Martin Szulecki2010-04-05 19:12:50 +0200
commit5acdb60f197b192f475373a710077c62b6d6f4f3 (patch)
tree0107153406294d8f020b62f4be67d0076ddd3778 /configure.ac
parent1c539d6972f5350821c64d7ad3ab25706db88f34 (diff)
downloadideviceinstaller-5acdb60f197b192f475373a710077c62b6d6f4f3.tar.gz
ideviceinstaller-5acdb60f197b192f475373a710077c62b6d6f4f3.tar.bz2
Add compatibility for libimobiledevice API >= 1.1.0
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ab3945b..4dc3d76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,10 @@ PKG_CHECK_MODULES(libimobiledevice10, libimobiledevice-1.0 >= 1.0.0, libimobiled
if test x"$libimobiledevice_1_0" = xyes; then
AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_0], 1, [Define if libimobiledevice is using 1.0.0 API])
fi
+PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.0, libimobiledevice_1_1=yes, libimobiledevice_1_1=no)
+if test x"$libimobiledevice_1_1" = xyes; then
+ AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1], 1, [Define if libimobiledevice is using 1.1.0 API])
+fi
PKG_CHECK_MODULES(libplist, libplist >= 0.15)
PKG_CHECK_MODULES(libzip, libzip >= 0.8)