Prechádzať zdrojové kódy

A small addition for 5bcd843d0b74ba924a5dbee9d6b64ee213ec9e7f

Evgeny Grin (Karlson2k) 4 rokov pred
rodič
commit
a3c8bf22fb
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      configure.ac

+ 2 - 1
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])