tools: fix python version checking issue
authorYongjie Ren <yongjie.ren@intel.com>
Thu, 1 Mar 2012 17:23:51 +0000 (17:23 +0000)
committerYongjie Ren <yongjie.ren@intel.com>
Thu, 1 Mar 2012 17:23:51 +0000 (17:23 +0000)
commit05bc2e1195adc33fb2e508c6641a2470a6cc3ed6
treeb42a130c9df4ad99c6929985a31f589b927a048f
parent192c0b406d19b488fe83b055ced358f41de0ccc5
tools: fix python version checking issue

Even if python version is 2.4.3 which is newer than the required
version 2.3, the configure script still raises a version issue.  I
tested my patch with python 2.6.6 and 2.4.3. It will fix a syntax
error like the following.

 checking for python version >= 2.3 ... Traceback (most recent call last):
   File "<string>", line 1, in ?
 TypeError: 'str' object is not callable
 no
 configure: error: Python 2.4.3 is too old, minimum required version is 2.3

Signed-off-by: Yongjie Ren <yongjie.ren@intel.com>
Acked-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/m4/python_version.m4