diff options
| author | 2015-01-28 02:55:25 +0100 | |
|---|---|---|
| committer | 2015-01-28 02:55:25 +0100 | |
| commit | e8417d6b44efe2047805388836fffbc31b6a65a3 (patch) | |
| tree | 2c300d69339249dbbbb991cccd1c1885a9e72bcc /configure.ac | |
| parent | 24acd595323ab6c57339a901fcf67735c75becfb (diff) | |
| download | ideviceinstaller-e8417d6b44efe2047805388836fffbc31b6a65a3.tar.gz ideviceinstaller-e8417d6b44efe2047805388836fffbc31b6a65a3.tar.bz2 | |
Port code and bump dependency on libimobiledevice >= 1.2.0
This also drops compatibility with older releases but cleans up the code.
Listing apps is also now more efficient due to use of pagination callbacks.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 0060140..ed19a7c 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -15,23 +15,7 @@ AM_PROG_CC_C_O | |||
| 15 | AC_PROG_LIBTOOL | 15 | AC_PROG_LIBTOOL |
| 16 | 16 | ||
| 17 | # Checks for libraries. | 17 | # Checks for libraries. |
| 18 | PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= 0.9.7) | 18 | PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= 1.2.0) |
| 19 | PKG_CHECK_MODULES(libimobiledevice100, libimobiledevice-1.0 >= 1.0.0, libimobiledevice_1_0=yes, libimobiledevice_1_0=no) | ||
| 20 | if test x"$libimobiledevice_1_0" = xyes; then | ||
| 21 | AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_0], 1, [Define if libimobiledevice is using 1.0.0 API]) | ||
| 22 | fi | ||
| 23 | PKG_CHECK_MODULES(libimobiledevice110, libimobiledevice-1.0 >= 1.1.0, libimobiledevice_1_1=yes, libimobiledevice_1_1=no) | ||
| 24 | if test x"$libimobiledevice_1_1" = xyes; then | ||
| 25 | AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1], 1, [Define if libimobiledevice is using 1.1.0 API]) | ||
| 26 | fi | ||
| 27 | PKG_CHECK_MODULES(libimobiledevice112, libimobiledevice-1.0 >= 1.1.2, libimobiledevice_1_2=yes, libimobiledevice_1_2=no) | ||
| 28 | if test x"$libimobiledevice_1_2" = xno; then | ||
| 29 | PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1) | ||
| 30 | fi | ||
| 31 | PKG_CHECK_MODULES(libimobiledevice115, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no) | ||
| 32 | if test x"$libimobiledevice_1_1_5" = xyes; then | ||
| 33 | AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1_5], 1, [Define if libimobiledevice is using 1.1.5 API]) | ||
| 34 | fi | ||
| 35 | PKG_CHECK_MODULES(libplist, libplist >= 0.15) | 19 | PKG_CHECK_MODULES(libplist, libplist >= 0.15) |
| 36 | PKG_CHECK_MODULES(libzip, libzip >= 0.8) | 20 | PKG_CHECK_MODULES(libzip, libzip >= 0.8) |
| 37 | 21 | ||
