Commit 1319e18e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Make sure PYTHON is absolute.

* m4/pypath.m4: Here.  This is needed because PYTHON is used as
she-bang line in scripts.
parent 43d1be09
AC_DEFUN([adl_CHECK_PYTHON],
[AM_PATH_PYTHON([2.0])
case $PYTHON in
[[\\/$]]* | ?:[[\\/]]* );;
*) AC_MSG_ERROR([The PYTHON variable must be set to an absolute filename.]);;
esac
AC_CACHE_CHECK([for $am_display_PYTHON includes directory],
[adl_cv_python_inc],
[adl_cv_python_inc=`$PYTHON -c "import sys; from distutils import sysconfig;]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment