Scons: do not check minor version of 0.96. Require at least 0.97.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26305 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2008-09-05 01:29:27 +00:00
parent 8fde2a6fa7
commit 1c64fe44e8

View File

@ -38,17 +38,8 @@ from scons_manifest import *
# scons asks for 1.5.2, lyx requires 2.3
EnsurePythonVersion(2, 3)
# Please use at least 0.96.92 (not 0.96.1)
EnsureSConsVersion(0, 96)
# also check for minor version number for scons 0.96
from SCons import __version__
# allow the use of snapshot version of scons
__version__ = __version__.split('d')[0]
version = map(int, __version__.split('.'))
if version[0] == 0 and version[1] == 96 and version[2] < 92:
print "Scons >= 0.96.92 is required."
Exit(1)
# Please use at least version 0.97
EnsureSConsVersion(0, 97)
#----------------------------------------------------------
# Global definitions