X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=m4%2Fpython.m4;h=7d2f4dea0fbf601282f1da7cc0c0a3a6f288f8a2;hb=ccc5f82c2bb8e14ff3941d862e0e5a6feb722201;hp=ccbc95b20706d10207ba634a2701136bf259fed5;hpb=60efc7c6385000b61fb0aeb7d8053a0bdb847894;p=swftools.git diff --git a/m4/python.m4 b/m4/python.m4 index ccbc95b..7d2f4de 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -17,11 +17,12 @@ 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_LIB="-framework Python /Library/Python/2.$v/PIL/_imaging.so" + PYTHON_INCLUDES="-I/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/" fi done fi