* Bug Fixes and Enchantments
- #4071, ST_ClusterKMeans crash on NULL/EMPTY fixed (Darafei Praliaskouski)
-
+ - #4074, Disable interrupt tests by default (Regina Obe)
PostGIS 2.3.7
2018/04/06
PGSQL_MAJOR_VERSION=`echo $PGSQL_FULL_VERSION | sed 's/[[^0-9]]*\([[0-9]]*\).*/\1/'`
PGSQL_MINOR_VERSION=`echo $PGSQL_FULL_VERSION | sed 's/[[^\.]]*\.\([[0-9]]*\).*/\1/'`
PGSQL_MINOR_VERSION=`echo $PGSQL_MINOR_VERSION | sed 's/.*devel.*/0/'`
-
+
if test $PGSQL_MAJOR_VERSION -gt 9; then
dnl ==================================================================
dnl Starting with PostgreSQL 10, major is the new minor
dnl===================================================================
PGSQL_MINOR_VERSION=0
fi
-
+
POSTGIS_PGSQL_VERSION="$PGSQL_MAJOR_VERSION$PGSQL_MINOR_VERSION"
PGSQL_PKGLIBDIR=`$PG_CONFIG --pkglibdir`
[Disable the interrupt tests (for CI servers)])],
[], [])
-if test "x$with_interrupt_tests" != "xno"; then
- INTERRUPTTESTS="yes"
+AC_ARG_WITH([interrupt-tests],
+ [AS_HELP_STRING([--with-interrupt-tests],
+ [Enable interrupt tests])],
+ [INTERRUPTTESTS="yes"], [])
+
+if test "x$with_interrupt_tests" = "xno"; then
+ INTERRUPTTESTS="no"
fi
AC_SUBST([INTERRUPTTESTS])
+
dnl ===========================================================================
dnl SRID stuff
dnl ===========================================================================