From: Eli Schwartz Date: Thu, 11 Apr 2024 23:03:54 +0000 (-0400) Subject: gh-117787: Autoconf: fix bashisms/semantic breakage of iOS checks (#117788) X-Git-Tag: v3.13.0b1~472 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd2bab9d287ef0879568662d4fedeae0a0c61d43;p=thirdparty%2FPython%2Fcpython.git gh-117787: Autoconf: fix bashisms/semantic breakage of iOS checks (#117788) --- diff --git a/configure b/configure index f9647566636e..f9c181ac3805 100755 --- a/configure +++ b/configure @@ -24334,7 +24334,7 @@ if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MA fi # On iOS the shared libraries must be linked with the Python framework -if test "$ac_sys_system" == "iOS"; then +if test "$ac_sys_system" = "iOS"; then MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(PYTHONFRAMEWORKDIR)/\$(PYTHONFRAMEWORK)" fi diff --git a/configure.ac b/configure.ac index e195e15b39ed..47c084d92a30 100644 --- a/configure.ac +++ b/configure.ac @@ -6053,7 +6053,7 @@ if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MA fi # On iOS the shared libraries must be linked with the Python framework -if test "$ac_sys_system" == "iOS"; then +if test "$ac_sys_system" = "iOS"; then MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(PYTHONFRAMEWORKDIR)/\$(PYTHONFRAMEWORK)" fi