Allow also --disable-python on macOS

Change-Id: I27cdd86a730a042d6e846c90319c306f5a3b35ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98159
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
Tor Lillqvist
2020-07-06 10:12:40 +02:00
committed by Tor Lillqvist
parent dc7e7b94a7
commit 0a08f981a6
+2 -2
View File
@@ -8839,8 +8839,8 @@ AC_SUBST(XMLLINT)
# Optionally user can pass an option to configure, i. e.
# ./configure PYTHON=/usr/bin/python
# =====================================================================
if test $_os = Darwin -a "$enable_python" != fully-internal -a "$enable_python" != internal; then
# Only allowed choices for macOS are 'internal' (default) and 'fully-internal'
if test $_os = Darwin -a "$enable_python" != no -a "$enable_python" != fully-internal -a "$enable_python" != internal; then
# Only allowed choices for macOS are 'no', 'internal' (default), and 'fully-internal'
enable_python=internal
fi
if test "$build_os" != "cygwin" -a "$enable_python" != fully-internal; then