diff options
author | Ned Deily <nad@python.org> | 2024-07-16 10:49:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-16 10:49:36 (GMT) |
commit | f27593a87c344f3774ca73644a11cbd5614007ef (patch) | |
tree | 50a8804246dacc33103d252fbd95f99b531b8093 /configure.ac | |
parent | 8549559f383dfcc0ad0c32496f62a4b737c05b4f (diff) | |
download | cpython-f27593a87c344f3774ca73644a11cbd5614007ef.zip cpython-f27593a87c344f3774ca73644a11cbd5614007ef.tar.gz cpython-f27593a87c344f3774ca73644a11cbd5614007ef.tar.bz2 |
gh-120522: Revert "Add a `--with-app-store-compliance` configure option to patch out problematic code" (gh-120984) (#121844)
This reverts commit 48cd104b0cf05dad8958efa9cb9666c029ef9201 prior
to the release of 3.13.0b4 to allow for additional review time.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/configure.ac b/configure.ac index 190f1f4..00246a1 100644 --- a/configure.ac +++ b/configure.ac @@ -695,64 +695,6 @@ AC_SUBST([INSTALLTARGETS]) AC_DEFINE_UNQUOTED([_PYTHONFRAMEWORK], ["${PYTHONFRAMEWORK}"], [framework name]) -dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output -AC_MSG_CHECKING([for --with-app-store-compliance]) -AC_ARG_WITH( - [app_store_compliance], - [AS_HELP_STRING( - [--with-app-store-compliance=@<:@PATCH-FILE@:>@], - [Enable any patches required for compiliance with app stores. - Optional PATCH-FILE specifies the custom patch to apply.] - )],[ - case "$withval" in - yes) - case $ac_sys_system in - Darwin|iOS) - # iOS is able to share the macOS patch - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" - APP_STORE_COMPLIANCE_PATCH_TARGET="build/app-store-compliant" - APP_STORE_COMPLIANCE_PATCH_FLAGS= - ;; - *) AC_MSG_ERROR([no default app store compliance patch available for $ac_sys_system]) ;; - esac - AC_MSG_RESULT([applying default app store compliance patch]) - ;; - *) - APP_STORE_COMPLIANCE_PATCH="${withval}" - APP_STORE_COMPLIANCE_PATCH_TARGET="build/app-store-compliant" - APP_STORE_COMPLIANCE_PATCH_FLAGS= - AC_MSG_RESULT([applying custom app store compliance patch]) - ;; - esac - ],[ - case $ac_sys_system in - iOS) - # Always apply the compliance patch on iOS; we can use the macOS patch - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" - APP_STORE_COMPLIANCE_PATCH_TARGET="build/app-store-compliant" - APP_STORE_COMPLIANCE_PATCH_FLAGS= - AC_MSG_RESULT([applying default app store compliance patch]) - ;; - Darwin) - # Always *check* the compliance patch on macOS - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" - APP_STORE_COMPLIANCE_PATCH_TARGET="build/app-store-compliant" - APP_STORE_COMPLIANCE_PATCH_FLAGS="--dry-run" - AC_MSG_RESULT([checking (not applying) default app store compliance patch]) - ;; - *) - # No app compliance patching on any other platform - APP_STORE_COMPLIANCE_PATCH= - APP_STORE_COMPLIANCE_PATCH_TARGET= - APP_STORE_COMPLIANCE_PATCH_FLAGS= - AC_MSG_RESULT([not patching for app store compliance]) - ;; - esac -]) -AC_SUBST([APP_STORE_COMPLIANCE_PATCH]) -AC_SUBST([APP_STORE_COMPLIANCE_PATCH_TARGET]) -AC_SUBST([APP_STORE_COMPLIANCE_PATCH_FLAGS]) - AC_SUBST([_PYTHON_HOST_PLATFORM]) if test "$cross_compiling" = yes; then case "$host" in |