mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
python: Always run with the same version of Python as we build against.
This commit is contained in:
parent
693221cfdf
commit
05a9d0266f
@ -41,7 +41,11 @@ dnl $PYTHON_CFLAGS
|
||||
dnl $PYTHON_LDFLAGS
|
||||
AC_DEFUN([AC_SAMBA_PYTHON_DEVEL],
|
||||
[
|
||||
AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
|
||||
if test -z "$PYTHON_VERSION"; then
|
||||
AC_PATH_PROGS([PYTHON], [python2.6 python2.5 python2.4 python])
|
||||
else
|
||||
AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
|
||||
fi
|
||||
if test -z "$PYTHON"; then
|
||||
working_python=no
|
||||
AC_MSG_WARN([No python found])
|
||||
|
Loading…
Reference in New Issue
Block a user