X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=m4%2Fpython.m4;h=4d675c79efe17d94bca52de0e8b87330459db0f4;hp=ccbc95b20706d10207ba634a2701136bf259fed5;hb=6971f4701464b8dda52062134ac9ef03a984ae41;hpb=d6162e08c1dbc4066ece3612982de8f32f788531 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