From 4505191405509ae4c5fa26fb7bc593385d9ed9d1 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 25 Jun 2005 20:08:45 +0000 Subject: [PATCH] convert backslashes to forward slashes for python stuff on Win32. 2005-06-25 Manish Singh * configure.in: convert backslashes to forward slashes for python stuff on Win32. --- ChangeLog | 5 +++++ configure.in | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c560b2a12c..ba89634bb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-25 Manish Singh + + * configure.in: convert backslashes to forward slashes for python + stuff on Win32. + 2005-06-25 Sven Neumann * app/widgets/gimpimagepropview.c: use bold and right-aligned diff --git a/configure.in b/configure.in index dfdb1209d7..00e2801ec6 100644 --- a/configure.in +++ b/configure.in @@ -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)