mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-08-01 04:57:11 +00:00
[conf] also set pkgpythondir pkgpyexecdir in windows
This commit is contained in:
parent
883ae12eb4
commit
eb818d86df
@ -91,7 +91,11 @@ if test x${compile_python} = xyes; then
|
|||||||
AM_PATH_PYTHON([2.4])
|
AM_PATH_PYTHON([2.4])
|
||||||
if test "$bwin32" = true; then
|
if test "$bwin32" = true; then
|
||||||
if test x$PYTHON_DIR != x; 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
|
||||||
fi
|
fi
|
||||||
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||||
|
Loading…
Reference in New Issue
Block a user