mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-19 18:16:25 +00:00
Improved python installation on win32.
This commit is contained in:
23
configure.ac
23
configure.ac
@@ -79,7 +79,7 @@ if test "$bwin32" != true; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(python,
|
AC_ARG_ENABLE(python,
|
||||||
AC_HELP_STRING([--enable-python],[build ccnet python binding]),
|
AC_HELP_STRING([--enable-python],[build seafile python binding]),
|
||||||
[compile_python=$enableval],
|
[compile_python=$enableval],
|
||||||
[compile_python=yes])
|
[compile_python=yes])
|
||||||
|
|
||||||
@@ -223,17 +223,16 @@ AC_SUBST(ZLIB_CFLAGS)
|
|||||||
AC_SUBST(ZLIB_LIBS)
|
AC_SUBST(ZLIB_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"
|
||||||
|
Reference in New Issue
Block a user