Backed out changeset 6946b5d25ac3

--HG--
extra : rebase_source : 4f3a2e8b05b7e0ba2ac6795a765b49fd04faf51e
This commit is contained in:
Gavin Sharp 2010-10-14 14:29:54 -04:00
Родитель 2d662a46d4
Коммит e62cd4af6c
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -982,7 +982,7 @@ else
AC_MSG_RESULT([yes])
fi
MOZ_PATH_PROGS(PYTHON, $PYTHON python2.7 python2.6 python2.5 python)
MOZ_PATH_PROGS(PYTHON, $PYTHON python2.6 python2.5 python2.4 python)
if test -z "$PYTHON"; then
AC_MSG_ERROR([python was not found in \$PATH])
fi
@ -1828,6 +1828,8 @@ case "$host" in
;;
*cygwin*|*mingw*|*mks*|*msvc*|*wince|*winmo)
# we need Python 2.5 on Windows
PYTHON_VERSION=2.5
if test -n "$_WIN32_MSVC"; then
HOST_AR=lib
HOST_AR_FLAGS='-NOLOGO -OUT:"$@"'
@ -1901,7 +1903,8 @@ case "$host" in
;;
esac
dnl We require version 2.5 or newer of Python to build.
dnl We require version 2.4 or newer of Python to build,
dnl and 2.5 or newer on Windows.
AC_MSG_CHECKING([for minimum required Python version >= $PYTHON_VERSION])
changequote(,)
$PYTHON -c "import sys; sys.exit(sys.version[:3] < sys.argv[1])" $PYTHON_VERSION