if test $ac_cv_c_weak_attribute = yes; then
AC_DEFINE(HAVE_ATTR_WEAK, 1, [Whether the C compiler accepts the "weak" attribute])
AC_DEFINE(ATTR_WEAK, [__attribute__((weak))], [apply the weak attribute to a symbol])
+else
+ AC_DEFINE(ATTR_WEAK,[], [apply the weak attribute to a symbol])
fi
])dnl End of CHECK_WEAK_ATTRIBUTE
fallthrough attribute annotations.
- Fix compile when the compiler does not support the noreturn
attribute.
+ - Fix to have empty definition when not supported for weak attribute.
19 July 2024: Wouter
- Add dnstap-sample-rate that logs only 1/N messages, for high volume