From eb818d86dfa33948b5b11589efa1da4be61c88c3 Mon Sep 17 00:00:00 2001 From: lins05_win Date: Thu, 1 Dec 2011 22:32:45 +0800 Subject: [PATCH] [conf] also set pkgpythondir pkgpyexecdir in windows --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f1754dd..897d9ef 100644 --- a/configure.ac +++ b/configure.ac @@ -91,7 +91,11 @@ if test x${compile_python} = xyes; then AM_PATH_PYTHON([2.4]) if test "$bwin32" = true; then if test x$PYTHON_DIR != x; then - pyexecdir=$PYTHON_DIR/Lib/site-packages + # set pyexecdir to somewhere like /c/Python26/Lib/site-packages + pyexecdir=${PYTHON_DIR}/Lib/site-packages + pythondir=${pyexecdir} + pkgpyexecdir=${pyexecdir}/${PACKAGE} + pkgpythondir=${pythondir}/${PACKAGE} fi fi AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])