From 14ad22896392f531f5aad7a2551bfc8dbe73ee44 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 27 Oct 2004 10:40:20 +0000 Subject: [PATCH] fixed python MacOS X detection. --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index e0f77a7..4807304 100755 --- a/configure +++ b/configure @@ -22209,11 +22209,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