Make sure PYTHON is absolute.
* m4/pypath.m4: Here. This is needed because PYTHON is used as she-bang line in scripts.
This commit is contained in:
parent
43d1be09d5
commit
1319e18e1d
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
|||
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;]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue