1 $NetBSD: patch-aq,v 1.1 2010/02/10 21:56:41 asau Exp $
4 Reported as applied upstream.
6 --- packages/space/configure.orig 2010-01-17 19:18:27.000000000 +0300
7 +++ packages/space/configure 2010-01-17 19:20:26.000000000 +0300
11 #AC_TRY_LINK([#include <spatialindex/SpatialIndex.h>],[SpatialIndex::Point *p=new SpatialIndex::Point();],[si=1],[si=0])
12 -if test $si == 0; then
13 +if test $si = 0; then
14 { { $as_echo "$as_me:$LINENO: error: \"Cannot find spatialindex. Spatialindex must be installed first (http://trac.gispython.org/spatialindex/)\"" >&5
15 $as_echo "$as_me: error: \"Cannot find spatialindex. Spatialindex must be installed first (http://trac.gispython.org/spatialindex/)\"" >&2;}
16 { (exit 1); exit 1; }; }
21 -if test $si == 0; then
22 +if test $si = 0; then
23 { { $as_echo "$as_me:$LINENO: error: \"Cannot find GEOS library. GEOS must be installed first (http://trac.osgeo.org/geos/)\"" >&5
24 $as_echo "$as_me: error: \"Cannot find GEOS library. GEOS must be installed first (http://trac.osgeo.org/geos/)\"" >&2;}
25 { (exit 1); exit 1; }; }