Expand the PYTHON_PREFIX autoconf variable before using.
This commit is contained in:
parent
99ab22c78c
commit
74c9ccb7f8
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ if test "x$want_python" = "xyes"; then
|
|||
AC_SUBST(libev_CFLAGS)
|
||||
AC_SUBST(libev_LIBS, [-lev]),
|
||||
AC_MSG_ERROR([Python bindings require libev (try installing your 'libev-devel' or 'libev-dev' package)])))
|
||||
AC_SUBST(pyprefix, `./python-prefix.py ${PYTHON_PREFIX}`)
|
||||
AC_SUBST(pyprefix, `eval ./python-prefix.py ${PYTHON_PREFIX}`)
|
||||
if test "${pyprefix}" != "${PYTHON_PREFIX}"; then
|
||||
pythondir=`echo ${pythondir} | sed -e 's,[$][{]prefix[}],${pyprefix},g'`
|
||||
pyexecdir=`echo ${pyexecdir} | sed -e 's,[$][{]exec_prefix[}],${pyprefix},g'`
|
||||
|
|
Loading…
Add table
Reference in a new issue