diff options
author | 2025-03-20 15:10:16 +0100 | |
---|---|---|
committer | 2025-03-20 15:10:16 +0100 | |
commit | 2ee5021f36a26f7344b63d3321cda78899edc319 (patch) | |
tree | a63c723d0db8513144b505e5e52c3f2aa1f7d53e /configure.ac | |
parent | b05d50cf41900ea3cf8606d018450a67bdbb4a47 (diff) | |
download | idevicerestore-2ee5021f36a26f7344b63d3321cda78899edc319.tar.gz idevicerestore-2ee5021f36a26f7344b63d3321cda78899edc319.tar.bz2 |
Allow building without support for limera1n
Use --without-limera1n at configure time to disable this feature.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9c27a7b..98516b7 100644 --- a/configure.ac +++ b/configure.ac @@ -150,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) |