References #4069
Closes #4142
Closes https://github.com/postgis/postgis/pull/284
git-svn-id: http://svn.osgeo.org/postgis/trunk@16681
b70326c6-7e19-0410-871a-
916f4a2858ee
TOPOLOGY="topology"
AC_MSG_RESULT([TOPOLOGY: Topology support requested])
- if test "$GEOS_NUMERIC_VERSION" -lt 30302; then
- AC_MSG_ERROR([Topology requires GEOS version >= 3.3.2. Use --without-topology or install a newer GEOS.])
- fi
else
AC_MSG_RESULT([TOPOLOGY: Topology support disabled])
fi
static void test_lwgeom_delaunay_triangulation(void)
{
-#if POSTGIS_GEOS_VERSION >= 34
LWGEOM *in, *tmp, *out;
char *wkt, *exp_wkt;
}
CU_ASSERT_STRING_EQUAL(wkt, exp_wkt);
lwfree(wkt);
-
-#endif /* POSTGIS_GEOS_VERSION >= 34 */
}
static void test_lwgeom_voronoi_diagram(void)
clean \
relate_bnr
+# GEOS-3.4 adds:
+# ST_DelaunayTriangles
+TESTS += \
+ delaunaytriangles
-ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 34),1)
- # GEOS-3.4 adds:
- # ST_DelaunayTriangles
- TESTS += \
- delaunaytriangles
-endif
ifeq ($(INTERRUPTTESTS),yes)
# Allow CI servers to configure --with-interrupt-tests
TESTS += \
- interrupt
-
-ifeq ($(shell expr $(GEOS_NUMERIC_VERSION) ">=" 30403),1)
- TESTS += \
- interrupt_relate
-endif
-
-ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 34),1)
- # GEOS-3.4 adds:
- # ST_DelaunayTriangles
- TESTS += \
+ interrupt \
+ interrupt_relate \
interrupt_buffer
endif
-endif
-
ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 35),1)
# GEOS-3.5 adds: