convert backslashes to forward slashes for python stuff on Win32.

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

        * configure.in: convert backslashes to forward slashes for python
        stuff on Win32.
This commit is contained in:
Manish Singh 2005-06-25 20:08:45 +00:00 committed by Manish Singh
parent 259e1d13f3
commit 4505191405
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-06-25 Manish Singh <yosh@gimp.org>
* configure.in: convert backslashes to forward slashes for python
stuff on Win32.
2005-06-25 Sven Neumann <sven@gimp.org>
* app/widgets/gimpimagepropview.c: use bold and right-aligned

View File

@ -1354,8 +1354,11 @@ 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
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
PYLINK_LIBS="-L${py_exec_prefix}/libs -lpython${PYTHON_VERSION}"
PYTHON=`$echo "$PYTHON" | sed -e 's/\\/\//g'`
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}"
fi
AC_SUBST(PYLINK_LIBS)