From 74c9ccb7f8fefdf07477a5e8c42918c644ef8e39 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Thu, 19 Feb 2015 02:00:27 +0000 Subject: [PATCH] Expand the PYTHON_PREFIX autoconf variable before using. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cf26bf72..96f85480 100644 --- a/configure.ac +++ b/configure.ac @@ -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'`