From: Regina Obe Date: Wed, 6 Dec 2017 20:00:21 +0000 (+0000) Subject: Turn off interrupt tests in configure by default. X-Git-Tag: 2.4.3rc1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce64e978423c2d06e76ceeb14024f0fb5b857bcd;p=postgis 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 git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16135 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/NEWS b/NEWS index 107d7ad78..6cc0c7d1c 100644 --- 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 diff --git a/configure.ac b/configure.ac index b9432df49..f0ba0f816 100644 --- a/configure.ac +++ b/configure.ac @@ -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}])