]> granicus.if.org Git - postgis/commitdiff
Turn off interrupt tests in configure by default.
authorRegina Obe <lr@pcorp.us>
Wed, 6 Dec 2017 20:00:21 +0000 (20:00 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 6 Dec 2017 20:00:21 +0000 (20:00 +0000)
Also added a section in configure output to note if interrupt tests are enabled or not
Closes #3827 for PostGIS 2.4.3

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

NEWS
configure.ac

diff --git a/NEWS b/NEWS
index 107d7ad78c42f74e01361f32a54a64da993a542f..6cc0c7d1ccd3a39fd79d18728d9ca788e26adae8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,8 @@ PostGIS 2.4.3
 
  * 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
index b9432df491fc67025d3520282e648ca8b82f54af..f0ba0f81618d6830749e1ca5d569c49076c495e6 100644 (file)
@@ -15,6 +15,7 @@ AC_CONFIG_MACRO_DIR([macros])
 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 @@ 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 +1478,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}])