1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-08-18 04:17:09 +00:00

Improved python installation on win32.

This commit is contained in:
Shuai Lin 2016-12-23 23:31:36 +08:00
parent f5f4e9e4a9
commit d0f0ce7125

View File

@ -207,17 +207,16 @@ AC_SUBST(LIBEVENT_CFLAGS)
AC_SUBST(LIBEVENT_LIBS) AC_SUBST(LIBEVENT_LIBS)
if test x${compile_python} = xyes; then if test x${compile_python} = xyes; then
AM_PATH_PYTHON([2.6]) AM_PATH_PYTHON([2.6])
if test "$bwin32" = true; then
if test "$bwin32" = true; then if test x$PYTHON_DIR != x; then
# set pyexecdir to somewhere like /c/Python26/Lib/site-packages # set pyexecdir to somewhere like /c/Python26/Lib/site-packages
pyexecdir=${PYTHON_DIR}/Lib/site-packages pyexecdir=${PYTHON_DIR}/Lib/site-packages
pythondir=${pyexecdir} pythondir=${pyexecdir}
pkgpyexecdir=${pyexecdir}/${PACKAGE} pkgpyexecdir=${pyexecdir}/${PACKAGE}
pkgpythondir=${pythondir}/${PACKAGE} pkgpythondir=${pythondir}/${PACKAGE}
fi
fi # end for bwin32 fi
fi fi
mysql="yes" mysql="yes"