auto-detect python version (overrid with PYTHON_VERSION=x.y)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@525 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent 97cd063647
commit 3fe6d07006

@ -11,7 +11,7 @@ TTS ?= y
#
# PYTHON_VERSION might also be 2.2 -- except for the use of GIL
# do a ls /usr/include/python2.3/Python.h to see if it's there
PYTHON_VERSION ?= 2.4
PYTHON_VERSION ?= `python -c 'import sys;print sys.version[0:3]';`
PY_VER = $(PYTHON_VERSION)
PY_EXE = python$(PY_VER)
# adjust to point to python include path

Loading…
Cancel
Save