Since 6eff6fae62
Python needed on Windows
Change-Id: Id49730b7ad2f7122a2c9b0415330b6fb803ec21c
This commit is contained in:
committed by
Tor Lillqvist
parent
91dda10001
commit
37c6106f3a
@@ -7415,12 +7415,18 @@ AC_MSG_CHECKING([which Python to use])
|
|||||||
|
|
||||||
case "$enable_python" in
|
case "$enable_python" in
|
||||||
no|disable)
|
no|disable)
|
||||||
|
if test $build_os = cygwin; then
|
||||||
|
# Python is required to build nss. In theory we could separate the build-time Python
|
||||||
|
# requirement from the choice whether to include Python stuff in the installer, but why
|
||||||
|
# bother?
|
||||||
|
AC_MSG_ERROR([Python is required at build time when building on Windows])
|
||||||
|
fi
|
||||||
enable_python=no
|
enable_python=no
|
||||||
AC_MSG_RESULT([none])
|
AC_MSG_RESULT([none])
|
||||||
DISABLE_PYTHON=TRUE
|
DISABLE_PYTHON=TRUE
|
||||||
;;
|
;;
|
||||||
""|yes|auto)
|
""|yes|auto)
|
||||||
if test "$DISABLE_SCRIPTING" = TRUE; then
|
if test "$DISABLE_SCRIPTING" = TRUE -a $build_os != cygwin; then
|
||||||
AC_MSG_RESULT([no, overridden by --disable-scripting])
|
AC_MSG_RESULT([no, overridden by --disable-scripting])
|
||||||
enable_python=no
|
enable_python=no
|
||||||
DISABLE_PYTHON=TRUE
|
DISABLE_PYTHON=TRUE
|
||||||
|
Reference in New Issue
Block a user