Opened 18 years ago

Closed 17 years ago

#1896 closed defect (fixed)

Detect GEOS 2.2.2+ in configure

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone: 5.0 release
Component: Build Problems Version: 4.10
Severity: normal Keywords:
Cc:

Description (last modified by dmorissette)

MapServer requires GEOS 2.2.2 or more recent for some functions that were not in the 2.2.1 C API.

We should look at the possibility of detecting the GEOS version in configure and report an error at configure time if the version of GEOS is older than 2.2.2.

Apparently GDAL's configure has some code that could help with that.

Change History (5)

comment:1 by dmorissette, 18 years ago

Milestone: 5.0 release
Setting target milsesont to 5.0 release

comment:2 by dmorissette, 17 years ago

Description: modified (diff)
Status: newassigned

Hooward pointed out the nice self-contained geos.m4 in GDAL's source tree:

http://trac.osgeo.org/gdal/browser/trunk/gdal/m4/geos.m4

comment:3 by dmorissette, 17 years ago

Description: modified (diff)

comment:4 by dmorissette, 17 years ago

Fixed in r6528.

configure script now does some version checks for GEOS and produces an error if it's less than 2.2.2.

I also did a bit of cleanup to remove redundant code in the --with-geos configure block.

comment:5 by dmorissette, 17 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.