From b6b2149e48aa61981ae0199c963d5145a37c258c Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sun, 3 May 2015 08:17:04 -0400 Subject: Fix python_includespec on Windows at configure time By converting to using forward slashes at configure time we avoid having to repeat the logic anywhere that this is needed, such as in transforms modules for plpython. --- config/python.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/python.m4') diff --git a/config/python.m4 b/config/python.m4 index c8f784ed47d..de346fb53aa 100644 --- a/config/python.m4 +++ b/config/python.m4 @@ -44,6 +44,9 @@ if a == b: print(a) else: print(a + ' ' + b)"` +if test "$PORTNAME" = win32 ; then + python_includespec=`echo $python_includespec | sed 's,[\],/,g'` +fi AC_MSG_RESULT([$python_includespec]) AC_SUBST(python_majorversion)[]dnl -- cgit v1.2.3