Mercurial > octave
changeset 28338:70908e5d8865
configure.ac: Remove obsolete, unused --enable-bounds-check option.
* configure.ac: Delete AC_ARG_ENABLE macro for "bounds-check".
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 May 2020 17:15:34 -0700 |
parents | 8d2f9cfc16bc |
children | 8abd3d8a9a2b |
files | configure.ac |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Wed May 20 13:17:00 2020 -0700 +++ b/configure.ac Wed May 20 17:15:34 2020 -0700 @@ -536,20 +536,6 @@ AC_DEFINE_UNQUOTED(OCTAVE_IDX_TYPE, [$OCTAVE_IDX_TYPE], [Define to the type of octave_idx_type (64 or 32 bit signed integer).]) -### Enable bounds checking on element references within Octave's array and -### matrix classes. -dnl This slows down some operations a bit, so it is turned off by default. - -ENABLE_BOUNDS_CHECK=no -AC_ARG_ENABLE([bounds-check], - [AS_HELP_STRING([--enable-bounds-check], - [OBSOLETE: use --enable-address-sanitizer-flags instead])], - [if test "$enableval" = yes; then ENABLE_BOUNDS_CHECK=yes; fi], []) -if test $ENABLE_BOUNDS_CHECK = yes; then - warn_bounds_check="--enable-bounds-check is obsolete; use --enable-address-sanitizer-flags instead" - OCTAVE_CONFIGURE_WARNING([warn_bounds_check]) -fi - ### Check for pthread library AX_PTHREAD