summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-25 15:13:35 (GMT)
committerGitHub <noreply@github.com>2020-06-25 15:13:35 (GMT)
commitad7a66731f2681c626f32f097e1e91cdc02330ab (patch)
tree00f7c390d88b6aab038b89a81eae041e0f662179
parentc4dfcb28f7d466de152db75e7bae9de694bf0f0e (diff)
downloadcpython-ad7a66731f2681c626f32f097e1e91cdc02330ab.zip
cpython-ad7a66731f2681c626f32f097e1e91cdc02330ab.tar.gz
cpython-ad7a66731f2681c626f32f097e1e91cdc02330ab.tar.bz2
BPO-41100: Support macOS 11 when building (GH-21113)
(cherry picked from commit 8ea6353f60625c96ce96588c70ff24a77f8c71f9) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
-rw-r--r--Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst1
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 3 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst b/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
new file mode 100644
index 0000000..ded66b5
--- /dev/null
+++ b/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
@@ -0,0 +1 @@
+Support macOS 11 when building.
diff --git a/configure b/configure
index ca18d2f..9411d7d 100755
--- a/configure
+++ b/configure
@@ -3422,7 +3422,7 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][0-9].*)
define_xopen_source=no;;
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
diff --git a/configure.ac b/configure.ac
index bb327f6..7bbceb1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -510,7 +510,7 @@ case $ac_sys_system/$ac_sys_release in
# has no effect, don't bother defining them
Darwin/@<:@6789@:>@.*)
define_xopen_source=no;;
- Darwin/1@<:@0-9@:>@.*)
+ Darwin/@<:@[12]@:>@@<:@0-9@:>@.*)
define_xopen_source=no;;
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined