From 6971f4701464b8dda52062134ac9ef03a984ae41 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 27 Oct 2004 10:40:03 +0000 Subject: [PATCH] fixed MacOS X paths. --- m4/python.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/python.m4 b/m4/python.m4 index ccbc95b..4d675c7 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -17,11 +17,11 @@ else PYTHON_INCLUDES="-I/usr/include/python$PY_VERSION" fi # Mac OS X - if test -f "/Library/Python/2.$v/_imaging.so" \ + if test -f "/Library/Python/2.$v/PIL/_imaging.so" \ -a "/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/Python.h";then PY_VERSION=2.$v - PYTHON_LIB="-lpython$PY_VERSION /Library/Python/2.3/_imaging.so" - PYTHON_INCLUDES="-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python$PY_VERSION/" + PYTHON_LIB="-lpython$PY_VERSION /Library/Python/2.$v/PIL/_imaging.so" + PYTHON_INCLUDES="-I/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/" fi done fi -- 1.7.10.4