[postgis-tickets] r16135 - Turn off interrupt tests in configure by default.
Regina Obe
lr at pcorp.us
Wed Dec 6 12:00:21 PST 2017
Author: robe
Date: 2017-12-06 12:00:21 -0800 (Wed, 06 Dec 2017)
New Revision: 16135
Modified:
branches/2.4/NEWS
branches/2.4/configure.ac
Log:
Turn off interrupt tests in configure by default.
Also added a section in configure output to note if interrupt tests are enabled or not
Closes #3827 for PostGIS 2.4.3
Modified: branches/2.4/NEWS
===================================================================
--- branches/2.4/NEWS 2017-12-06 19:34:58 UTC (rev 16134)
+++ branches/2.4/NEWS 2017-12-06 20:00:21 UTC (rev 16135)
@@ -3,8 +3,9 @@
* Bug fixes *
- #3713, Support encodings that happen to output a '\' character
+ - #3827, Set configure default to not do interrupt testing,
+ was causing false negatives for many people
-
PostGIS 2.4.2
2017/11/15
Modified: branches/2.4/configure.ac
===================================================================
--- branches/2.4/configure.ac 2017-12-06 19:34:58 UTC (rev 16134)
+++ branches/2.4/configure.ac 2017-12-06 20:00:21 UTC (rev 16135)
@@ -15,6 +15,7 @@
AC_CONFIG_AUX_DIR([build-aux])
AC_PROG_INSTALL
+
dnl Invoke libtool: we do this as it is the easiest way to find the PIC
dnl flags required to build liblwgeom
AC_PROG_LIBTOOL
@@ -1185,8 +1186,13 @@
[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])
@@ -1472,6 +1478,13 @@
AC_MSG_RESULT([ C compiler: ${CC} ${CFLAGS}])
AC_MSG_RESULT([ SQL preprocessor: ${SQLPP}])
AC_MSG_RESULT()
+AC_MSG_RESULT([ -------------- Additional Info ------------- ])
+if test "x$INTERRUPTTESTS" = "xyes"; then
+ AC_MSG_RESULT([ Interrupt Tests: ENABLED])
+else
+ AC_MSG_RESULT([ Interrupt Tests: DISABLED use: --with-interrupt-tests to enable])
+fi
+AC_MSG_RESULT()
AC_MSG_RESULT([ -------------- Dependencies -------------- ])
AC_MSG_RESULT([ GEOS config: ${GEOSCONFIG}])
AC_MSG_RESULT([ GEOS version: ${GEOS_FULL_VERSION}])
More information about the postgis-tickets
mailing list