diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-19 19:04:34 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-19 19:04:34 (GMT) |
commit | 00388c4e0f252f29426416b33d2f4d13c1dcdbb6 (patch) | |
tree | 9904834b72c8530adc6fd5ea0dc38c455a3bdcc4 /configure.ac | |
parent | 5565dd5f208c1420097223c9a037fd3deee8d1b4 (diff) | |
download | hdf5-00388c4e0f252f29426416b33d2f4d13c1dcdbb6.zip hdf5-00388c4e0f252f29426416b33d2f4d13c1dcdbb6.tar.gz hdf5-00388c4e0f252f29426416b33d2f4d13c1dcdbb6.tar.bz2 |
Disables memory sanity checks in Autotools debug builds
** ONLY FOR THIS RELEASE BRANCH **
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index c2f5570..25ba5c0 100644 --- a/configure.ac +++ b/configure.ac @@ -2555,7 +2555,8 @@ AC_ARG_ENABLE([memory-alloc-sanity-check], more memory use and somewhat slower allocation. This option is orthogonal to the --enable-using-memchecker option. - [default=yes if debug build, otherwise no] + [default=yes if debug build in a development + branch, otherwise no] ])], [MEMORYALLOCSANITYCHECK=$enableval]) @@ -2565,11 +2566,7 @@ AC_SUBST([MEMORYALLOCSANITYCHECK]) ## Set default if test "X-$MEMORYALLOCSANITYCHECK" = X- ; then - if test "X-$BUILD_MODE" = "X-debug" ; then - MEMORYALLOCSANITYCHECK=yes - else MEMORYALLOCSANITYCHECK=no - fi fi case "X-$MEMORYALLOCSANITYCHECK" in |