Fixed problems with finding libpython on Mac Darwin (Ticket #191).

git-svn-id: http://svn.osgeo.org/geos/trunk@2140 5242fede-7e19-0410-aef8-94bd7d2200fb
svn-3.1
Mateusz Loskot 2008-07-26 20:24:29 +00:00
parent 08744d9ab8
commit 9f42184aef
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
# Check for Python library path
AC_MSG_CHECKING([for Python library path])
for i in "$base_python_path/lib/python$PYTHON_VERSION/config/" "$base_python_path/lib/python$PYTHON_VERSION/" "$base_python_path/lib/python/config/" "$base_python_path/lib/python/" "$base_python_path/" "$base_python_path/libs/" ; do
python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print 2> /dev/null | sed "1q"`
python_path=`find $i -name libpython$PYTHON_VERSION.* -print 2> /dev/null | sed "1q"`
if test -n "$python_path" ; then
break
fi