[postgis-tickets] r16134 - Turn off interrupt tests by default,

Regina Obe lr at pcorp.us
Wed Dec 6 11:34:58 PST 2017


Author: robe
Date: 2017-12-06 11:34:58 -0800 (Wed, 06 Dec 2017)
New Revision: 16134

Modified:
   trunk/configure.ac
Log:
Turn off interrupt tests by default, 
but add to configure an Additional Info section that lists if it's on or off and how to turn it on if its disabled
References #3827 for PostGIS 2.5

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2017-12-05 22:33:43 UTC (rev 16133)
+++ trunk/configure.ac	2017-12-06 19:34:58 UTC (rev 16134)
@@ -1186,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 +1477,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