Commit 9588588f authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

introduce a notion of runtime path to the python interpreter, for the

2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: introduce a notion of runtime path to the python
        interpreter, for the pygimp.interp file.

        * plug-ins/pygimp/Makefile.am: use it here.
parent 41ed477b
......@@ -1354,13 +1354,16 @@ if test "x$enable_python" != xno; then
dnl not documented so we won't rely on internal implementation
PYLINK_LIBS=
if test "x$platform_win32" = "xyes"; then
PYTHON=`$echo "$PYTHON" | sed -e 's/\\\\/\\//g'`
PYBIN_PATH="$py_exec_prefix\pythonw.exe"
PYTHON_INCLUDES=`$echo "$PYTHON_INCLUDES" | sed -e 's/\\\\/\\//g'`
py_exec_prefix=`echo "$py_exec_prefix" | sed -e 's/\\\\/\\//g'`
pylibversion=`echo $PYTHON_VERSION | sed -e 's/\\.//'`
PYLINK_LIBS="-L${py_exec_prefix}/libs -lpython${pylibversion}"
else
PYBIN_PATH="$PYTHON"
fi
AC_SUBST(PYLINK_LIBS)
AC_SUBST(PYBIN_PATH)
dnl check for PyGTK
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version,,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment