From: kramm Date: Wed, 27 Oct 2004 10:40:20 +0000 (+0000) Subject: fixed python MacOS X detection. X-Git-Tag: release-0-6-3~248 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=14ad22896392f531f5aad7a2551bfc8dbe73ee44 fixed python MacOS X detection. --- 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