summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d0a052f..98516b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,12 +15,12 @@ if test -z $PACKAGE_VERSION; then
fi
# Minimum package versions
-LIBIRECOVERY_VERSION=1.2.0
+LIBIRECOVERY_VERSION=1.2.1
LIBIMOBILEDEVICE_VERSION=1.3.0
LIBUSBMUXD_VERSION=2.0.2
LIBPLIST_VERSION=2.6.0
LIMD_GLUE_VERSION=1.3.0
-LIBTATSU_VERSION=1.0.3
+LIBTATSU_VERSION=1.0.4
LIBZIP_VERSION=1.0
LIBCURL_VERSION=7.0
@@ -56,6 +56,7 @@ if test x$ac_cv_func_strsep != xyes; then
fi
fi
+AC_SEARCH_LIBS([ceil], [m])
AC_CHECK_HEADER(endian.h, [ac_cv_have_endian_h="yes"], [ac_cv_have_endian_h="no"])
if test "x$ac_cv_have_endian_h" = "xno"; then
@@ -149,6 +150,16 @@ if test "$ac_cv_reverse_proxy" = "yes"; then
AC_DEFINE(HAVE_REVERSE_PROXY, 1, [Define if libimobiledevice has a reverse proxy implementation])
fi
+AC_ARG_WITH([limera1n],
+ [AS_HELP_STRING([--with-limera1n],
+ [build with support for limera1n exploit (default is yes)])],
+ [have_limera1n=$withval],
+ [have_limera1n=yes])
+if test "x$have_limera1n" = "xyes"; then
+ AC_DEFINE(HAVE_LIMERA1N, 1, [Define if limera1n support is available])
+fi
+AM_CONDITIONAL([HAVE_LIMERA1N],[test "x$have_limera1n" = "xyes"])
+
CFLAGS="$CACHED_CFLAGS"
AC_SUBST(GLOBAL_CFLAGS)