]> granicus.if.org Git - postgis/commitdiff
Turn off interrupt tests by default,
authorRegina Obe <lr@pcorp.us>
Wed, 6 Dec 2017 19:34:58 +0000 (19:34 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 6 Dec 2017 19:34:58 +0000 (19:34 +0000)
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

git-svn-id: http://svn.osgeo.org/postgis/trunk@16134 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index bded8696115f6dbfaea84deba7514e71252b9d19..c694683a002a4159a1b1907dcf37d6e8dc522778 100644 (file)
@@ -1186,8 +1186,13 @@ AC_ARG_WITH([interrupt-tests],
                     [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([ -------------- Compiler Info ------------- ])
 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}])