Blob Blame History Raw
--- setup.py	2008-07-11 16:18:34.000000000 -0800
+++ setup.py	2008-12-11 23:40:17.000000000 -0900
@@ -45,11 +45,11 @@
 
 if GEOS_dir is None:
     # if GEOS_dir not set, check a few standard locations.
-    GEOS_dirs = ['/usr/local','/sw','/opt','/opt/local',os.path.expanduser('~')]
+    GEOS_dirs = ['/usr','/usr/local','/sw','/opt','/opt/local',os.path.expanduser('~')]
     for direc in GEOS_dirs:
         geos_version = checkversion(direc)
         print 'checking for GEOS lib in %s ....' % direc
-        if geos_version != '"2.2.3"':
+        if geos_version is not None:
             continue
         else:
             print 'GEOS lib found in %s' % direc