From 3584c954337a625c93dae692849a53b6793d5a1e Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 4 Jan 2018 18:17:43 +0100 Subject: iOS disable gpgme Disable gpgme called for passing parameters to configure, when called internally (to generate config_build etc). Update the distro-conf, with info on the different supported models Change-Id: I884c8638bf7b1c9fbc8ea4bdaa4dfca019857f45 --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f125bd980be9..ce7598305e54 100644 --- a/configure.ac +++ b/configure.ac @@ -633,6 +633,7 @@ darwin*) # Mac OS X or iOS AC_MSG_NOTICE([sanitized the PATH to $PATH]) fi if test "$host_cpu" = "arm64" -o "$enable_ios_simulator" = "yes"; then + build_for_ios=YES _os=iOS test_gtk=no test_cups=no @@ -4379,6 +4380,7 @@ if test "$cross_compiling" = "yes"; then test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit" test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION" test "$with_system_icu_for_build" = "yes" -o "$with_system_icu_for_build" = "force" && sub_conf_opts="$sub_conf_opts --with-system-icu" + test "$build_for_ios" = "YES" && sub_conf_opts="$sub_conf_opts build_for_ios=YES" sub_conf_opts="$sub_conf_opts $with_build_platform_configure_options" # Don't bother having configure look for stuff not needed for the build platform anyway ./configure \ @@ -10120,7 +10122,10 @@ fi AC_SUBST(ENABLE_PDFIUM) SYSTEM_GPGMEPP= -if test "$_os" = "Linux" -o "$_os" = "Darwin" -o "$_os" = "WINNT" ; then + +if test "$build_for_ios" = "YES"; then + AC_MSG_CHECKING([gpgmepp disabled due to iOS]) +elif test "$_os" = "Linux" -o "$_os" = "Darwin" -o "$_os" = "WINNT" ; then dnl =================================================================== dnl Check for system gpgme dnl =================================================================== -- cgit