[geos-commits] r2140 - trunk/macros

svn_geos at osgeo.org svn_geos at osgeo.org
Sat Jul 26 16:24:30 EDT 2008


Author: mloskot
Date: 2008-07-26 16:24:29 -0400 (Sat, 26 Jul 2008)
New Revision: 2140

Modified:
   trunk/macros/ac_python_devel.m4
Log:
Fixed problems with finding libpython on Mac Darwin (Ticket #191).

Modified: trunk/macros/ac_python_devel.m4
===================================================================
--- trunk/macros/ac_python_devel.m4	2008-07-26 19:57:05 UTC (rev 2139)
+++ trunk/macros/ac_python_devel.m4	2008-07-26 20:24:29 UTC (rev 2140)
@@ -45,7 +45,7 @@
         # 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



More information about the geos-commits mailing list