mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
PL/Python should build portably now, if you can get over the fact that
there's no shared libpython. Test suite works as well. Also, add some documentation.
This commit is contained in:
13
configure.in
13
configure.in
@ -409,11 +409,8 @@ AC_SUBST(with_perl)
|
||||
# Optionally build Python interface module
|
||||
#
|
||||
AC_MSG_CHECKING([whether to build Python modules])
|
||||
PGAC_ARG_BOOL(with, python, no, [ --with-python build Python interface module],
|
||||
[AC_MSG_RESULT(yes)
|
||||
PGAC_PROG_PYTHON
|
||||
PGAC_PATH_PYTHONDIR],
|
||||
[AC_MSG_RESULT(no)])
|
||||
PGAC_ARG_BOOL(with, python, no, [ --with-python build Python interface module])
|
||||
AC_MSG_RESULT([$with_python])
|
||||
AC_SUBST(with_python)
|
||||
|
||||
#
|
||||
@ -659,6 +656,12 @@ if test "$with_tk" = yes; then
|
||||
test -z "$WISH" && AC_MSG_ERROR(['wish' is required for Tk support])
|
||||
fi
|
||||
|
||||
if test "$with_python" = yes; then
|
||||
PGAC_PATH_PYTHON
|
||||
PGAC_CHECK_PYTHON_MODULE_SETUP
|
||||
PGAC_CHECK_PYTHON_EMBED_SETUP
|
||||
fi
|
||||
|
||||
|
||||
##
|
||||
## Libraries
|
||||
|
Reference in New Issue
Block a user