Since 6eff6fae62 Python needed on Windows

Change-Id: Id49730b7ad2f7122a2c9b0415330b6fb803ec21c
This commit is contained in:
Tor Lillqvist
2013-01-07 14:40:51 +02:00
committed by Tor Lillqvist
parent 91dda10001
commit 37c6106f3a

View File

@@ -7415,12 +7415,18 @@ AC_MSG_CHECKING([which Python to use])
case "$enable_python" in
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
AC_MSG_RESULT([none])
DISABLE_PYTHON=TRUE
;;
""|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])
enable_python=no
DISABLE_PYTHON=TRUE