1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-07-31 04:49:43 +00:00

[conf] also set pkgpythondir pkgpyexecdir in windows

This commit is contained in:
lins05_win 2011-12-01 22:32:45 +08:00 committed by lins05
parent 883ae12eb4
commit eb818d86df

View File

@ -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)])