2008-09-24 16:43:39 +02:00
|
|
|
--- configure.ac
|
|
|
|
+++ configure.ac
|
2010-03-18 22:58:41 +01:00
|
|
|
@@ -1056,7 +1056,7 @@
|
2008-09-24 16:43:39 +02:00
|
|
|
if test "x$PYTHON" = "x"; then
|
|
|
|
use_python="No (python not available)"
|
|
|
|
else
|
|
|
|
- PYTHON_VERSION=`$PYTHON -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
|
|
|
|
+ PYTHON_VERSION=`python -c "import sys; print '%d.%d' % (sys.version_info[[0:2]])"`
|
|
|
|
if test "x$PYTHON_VERSION" = "x"; then
|
|
|
|
PYTHON=
|
|
|
|
else
|