commit a3c8bf22fb1e48b74bbe14ceb723a7f708470916
parent 5bcd843d0b74ba924a5dbee9d6b64ee213ec9e7f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 10 Oct 2021 21:44:08 +0300
A small addition for 5bcd843d0b74ba924a5dbee9d6b64ee213ec9e7f
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -2913,7 +2913,8 @@ int main(void)
AS_IF([test -z "${enabled_sanitizers}"],
[AC_MSG_ERROR([cannot find any sanitizer supported by $CC])])
AC_MSG_CHECKING([whether to enable user memory poisoning])
- AS_IF([test "x${mhd_cv_cc_sanitizer_address}" = "xyes" && test "x${ac_cv_header_sanitizer_asan_interface_h}" = "xyes" && \
+ AS_IF([test "x${mhd_cv_cc_sanitizer_address}" = "xyes" && test "x${mhd_cv_cc_sanitizer_pointer_compare}" = "xyes" && \
+ test "x${ac_cv_header_sanitizer_asan_interface_h}" = "xyes" && \
(test "x${mhd_cv_func_attribute_nosanitize_ptr}" = "xyes" || test "x${mhd_cv_func_attribute_nosanitize_addr}" = "xyes")],
[
AC_DEFINE([MHD_ASAN_POISON_ACTIVE], [1], [Define to '1' if user memory poison is used])