diff options
| author | 2019-11-11 18:08:22 +0100 | |
|---|---|---|
| committer | 2019-11-11 18:10:17 +0100 | |
| commit | 9af2b12552693a47601347e1eafc1e94132d727e (patch) | |
| tree | 8dbde85e4fc217bba6d04894de73318a682e2536 /configure.ac | |
| parent | 24e06d5247c37a7712d85f032ed3ba74d7a039f8 (diff) | |
| download | usbmuxd-9af2b12552693a47601347e1eafc1e94132d727e.tar.gz usbmuxd-9af2b12552693a47601347e1eafc1e94132d727e.tar.bz2 | |
Fix compatibility with latest changes in libimobiledevice
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d0c8201..fb59203 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -35,6 +35,15 @@ if test "x$have_limd" = "xyes"; then | |||
| 35 | AC_DEFINE(HAVE_LIBIMOBILEDEVICE, 1, [Define if you have libimobiledevice support]) | 35 | AC_DEFINE(HAVE_LIBIMOBILEDEVICE, 1, [Define if you have libimobiledevice support]) |
| 36 | AC_SUBST(libimobiledevice_CFLAGS) | 36 | AC_SUBST(libimobiledevice_CFLAGS) |
| 37 | AC_SUBST(libimobiledevice_LIBS) | 37 | AC_SUBST(libimobiledevice_LIBS) |
| 38 | AC_CACHE_CHECK(for enum idevice_connection_type, ac_cv_enum_idevice_connection_type, | ||
| 39 | AC_TRY_COMPILE([ | ||
| 40 | #include <libimobiledevice/libimobiledevice.h> | ||
| 41 | ], [ | ||
| 42 | enum idevice_connection_type conn_type = CONNECTION_USBMUXD; | ||
| 43 | ], ac_cv_enum_idevice_connection_type=yes, ac_cv_enum_idevice_connection_type=no)) | ||
| 44 | if (test "$ac_cv_enum_idevice_connection_type" = "yes"); then | ||
| 45 | AC_DEFINE(HAVE_ENUM_IDEVICE_CONNECTION_TYPE, 1, [Define if enum idevice_connection_type is available]) | ||
| 46 | fi | ||
| 38 | fi | 47 | fi |
| 39 | else | 48 | else |
| 40 | if test "x$with_preflight" == "xyes"; then | 49 | if test "x$with_preflight" == "xyes"; then |
