1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

r26666: python: Prefer newer Python versions as they use const properly.

(This used to be commit aa2adf3327)
This commit is contained in:
Jelmer Vernooij
2008-01-05 14:00:07 -06:00
committed by Stefan Metzmacher
parent df70180c0f
commit e652fc802a

View File

@ -13,7 +13,12 @@ if test -z "$PYTHON"; then
AC_MSG_WARN([No python found])
fi
AC_PATH_PROG([PYTHON_CONFIG],[python[$PYTHON_VERSION]-config])
if test -z "$PYTHON_VERSION"; then
AC_PATH_PROGS([PYTHON_CONFIG], [python2.6-config python2.5-config python2.4-config python-config])
else
AC_PATH_PROG([PYTHON_CONFIG], [python[$PYTHON_VERSION]-config])
fi
if test -z "$PYTHON_CONFIG"; then
working_python=no
AC_MSG_WARN([No python-config found])