]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
configure: Add --enable-devel-checks=fast to enable DEBUG_FAST
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 3 Feb 2026 16:25:49 +0000 (18:25 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 6 Feb 2026 14:34:18 +0000 (14:34 +0000)
configure.ac

index a4b5ecc02d77551d40d874d971842702bf002e47..f1e739064f2e9356c02076dec6a700f12d5e1259 100644 (file)
@@ -31,9 +31,12 @@ AC_SUBST(ACLOCAL_AMFLAGS)
 AM_ICONV
 
 AC_ARG_ENABLE(devel-checks,
-AS_HELP_STRING([--enable-devel-checks], [Enable some extra expensive checks for developers]),
+AS_HELP_STRING([--enable-devel-checks@<:@=fast@:>@], [Enable some extra expensive checks for developers (fast enables only some of them)]),
        if test x$enableval = xyes; then
                AC_DEFINE(DEBUG,, [Build with extra debugging checks])
+               AC_DEFINE(DEBUG_FAST,, [Build with extra fast debugging checks])
+       elif test x$enableval = xfast; then
+               AC_DEFINE(DEBUG_FAST,, [Build with extra fast debugging checks])
        fi)
 
 AC_ARG_ENABLE(static-checker,