diff options
author | Nikias Bassen | 2020-06-14 02:56:33 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-14 23:36:23 +0200 |
commit | 974f29c1406e7b89f9eadcdec1a869b5467f44dc (patch) | |
tree | 551e961be4326514ecbef61146d280011f99952b | |
parent | f4dc7be659d45f6d58b938872207e95ec41e8b08 (diff) | |
download | libimobiledevice-974f29c1406e7b89f9eadcdec1a869b5467f44dc.tar.gz libimobiledevice-974f29c1406e7b89f9eadcdec1a869b5467f44dc.tar.bz2 |
configure: Drop feature checks for libusbmuxd and libplist as version requirements already imply them
-rw-r--r-- | configure.ac | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/configure.ac b/configure.ac index fad84c6..68d6c88 100644 --- a/configure.ac +++ b/configure.ac @@ -81,34 +81,6 @@ case ${host_os} in esac AM_CONDITIONAL(WIN32, test x$win32 = xtrue) -AC_SUBST(libusbmuxd_CFLAGS) -AC_SUBST(libusbmuxd_LIBS) -AC_SUBST(libplist_CFLAGS) -AC_SUBST(libplist_LIBS) - -CACHED_CFLAGS="$CFLAGS" -CFLAGS+=" $libusbmuxd_CFLAGS $libplist_CFLAGS" -CACHED_LDFLAGS="$LDFLAGS" -LDFLAGS+=" $libusbmuxd_LIBS $libplist_LIBS" - -AC_CHECK_MEMBER(usbmuxd_device_info_t.conn_type,, AC_MSG_ERROR([libusbmuxd (usbmuxd.h) is not up-to-date; missing conn_type member in usbmuxd_device_info_t. Please update libusbmuxd to build $PACKAGE_NAME]), [#include <usbmuxd.h>]) -AC_TRY_COMPILE([ - #include <usbmuxd.h> -], [ - enum usbmux_connection_type conntypeusb = CONNECTION_TYPE_USB; - enum usbmux_connection_type conntypenet = CONNECTION_TYPE_NETWORK; -],, AC_MSG_ERROR([[libusbmuxd (usbmuxd.h) is not up-to-date; missing enum usbmux_connection_type with CONNECTION_TYPE_USB and CONNECTION_TYPE_NETWORK - Please update libusbmuxd to build $PACKAGE_NAME]])) -AC_TRY_COMPILE([ - #include <usbmuxd.h> -], [ - enum usbmux_lookup_options opts = DEVICE_LOOKUP_USBMUX | DEVICE_LOOKUP_NETWORK | DEVICE_LOOKUP_PREFER_NETWORK; -],, AC_MSG_ERROR([[libusbmuxd (usbmuxd.h) is not up-to-date; missing enum usbmux_lookup_options with DEVICE_LOOKUP_USBMUX, DEVICE_LOOKUP_NETWORK, and DEVICE_LOOKUP_PREFER_NETWORK - Please update libusbmuxd to build $PACKAGE_NAME]])) - -AC_CHECK_LIB([plist-2.0], [plist_string_val_compare],, [AC_MSG_ERROR([[libplist is not up-to-date; missing plist_string_val_compare() etc. functions - Please update libplist to build $PACKAGE_NAME]])]) - -CFLAGS="$CACHED_CFLAGS" -LDFLAGS="$CACHED_LDFLAGS" - AC_CHECK_MEMBER(struct dirent.d_type, AC_DEFINE(HAVE_DIRENT_D_TYPE, 1, [define if struct dirent has member d_type]),, [#include <dirent.h>]) # Cython Python Bindings |