summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2024-07-16 10:49:36 (GMT)
committerGitHub <noreply@github.com>2024-07-16 10:49:36 (GMT)
commitf27593a87c344f3774ca73644a11cbd5614007ef (patch)
tree50a8804246dacc33103d252fbd95f99b531b8093 /configure
parent8549559f383dfcc0ad0c32496f62a4b737c05b4f (diff)
downloadcpython-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')
-rwxr-xr-xconfigure73
1 files changed, 0 insertions, 73 deletions
diff --git a/configure b/configure
index d4fd7d4..73d3bda 100755
--- a/configure
+++ b/configure
@@ -980,9 +980,6 @@ IPHONEOS_DEPLOYMENT_TARGET
EXPORT_MACOSX_DEPLOYMENT_TARGET
CONFIGURE_MACOSX_DEPLOYMENT_TARGET
_PYTHON_HOST_PLATFORM
-APP_STORE_COMPLIANCE_PATCH_FLAGS
-APP_STORE_COMPLIANCE_PATCH_TARGET
-APP_STORE_COMPLIANCE_PATCH
INSTALLTARGETS
FRAMEWORKINSTALLAPPSPREFIX
FRAMEWORKUNIXTOOLSPREFIX
@@ -1078,7 +1075,6 @@ enable_universalsdk
with_universal_archs
with_framework_name
enable_framework
-with_app_store_compliance
with_emscripten_target
enable_wasm_dynamic_linking
enable_wasm_pthreads
@@ -1858,10 +1854,6 @@ Optional Packages:
specify the name for the python framework on macOS
only valid when --enable-framework is set. see
Mac/README.rst (default is 'Python')
- --with-app-store-compliance=[PATCH-FILE]
- Enable any patches required for compiliance with app
- stores. Optional PATCH-FILE specifies the custom
- patch to apply.
--with-emscripten-target=[browser|node]
Emscripten platform
--with-suffix=SUFFIX set executable suffix to SUFFIX (default is empty,
@@ -4437,71 +4429,6 @@ fi
printf "%s\n" "#define _PYTHONFRAMEWORK \"${PYTHONFRAMEWORK}\"" >>confdefs.h
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-app-store-compliance" >&5
-printf %s "checking for --with-app-store-compliance... " >&6; }
-
-# Check whether --with-app_store_compliance was given.
-if test ${with_app_store_compliance+y}
-then :
- withval=$with_app_store_compliance;
- 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=
- ;;
- *) as_fn_error $? "no default app store compliance patch available for $ac_sys_system" "$LINENO" 5 ;;
- esac
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying default app store compliance patch" >&5
-printf "%s\n" "applying default app store compliance patch" >&6; }
- ;;
- *)
- APP_STORE_COMPLIANCE_PATCH="${withval}"
- APP_STORE_COMPLIANCE_PATCH_TARGET="build/app-store-compliant"
- APP_STORE_COMPLIANCE_PATCH_FLAGS=
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying custom app store compliance patch" >&5
-printf "%s\n" "applying custom app store compliance patch" >&6; }
- ;;
- esac
-
-else $as_nop
-
- 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=
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying default app store compliance patch" >&5
-printf "%s\n" "applying default app store compliance patch" >&6; }
- ;;
- 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"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: checking (not applying) default app store compliance patch" >&5
-printf "%s\n" "checking (not applying) default app store compliance patch" >&6; }
- ;;
- *)
- # No app compliance patching on any other platform
- APP_STORE_COMPLIANCE_PATCH=
- APP_STORE_COMPLIANCE_PATCH_TARGET=
- APP_STORE_COMPLIANCE_PATCH_FLAGS=
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not patching for app store compliance" >&5
-printf "%s\n" "not patching for app store compliance" >&6; }
- ;;
- esac
-
-fi
-
-
-
-
-
if test "$cross_compiling" = yes; then
case "$host" in