From: Jeremy Harris Date: Sun, 10 Sep 2023 09:06:56 +0000 (+0100) Subject: Feature advertisements for radius and pwcheck X-Git-Tag: exim-4.97-RC1~9 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/445c8a471eefdfc7341a7b53d692650582ade484 Feature advertisements for radius and pwcheck --- diff --git a/src/src/exim.c b/src/src/exim.c index a96d12167..8a78689ff 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1026,47 +1026,53 @@ gstring * g = NULL; DEBUG(D_any) {} else g = show_db_version(g); g = string_cat(g, US"Support for:"); +#ifdef WITH_CONTENT_SCAN + g = string_cat(g, US" Content_Scanning"); +#endif #ifdef SUPPORT_CRYPTEQ g = string_cat(g, US" crypteq"); #endif +#ifdef EXPAND_DLFUNC + g = string_cat(g, US" Expand_dlfunc"); +#endif #if HAVE_ICONV g = string_cat(g, US" iconv()"); #endif #if HAVE_IPV6 g = string_cat(g, US" IPv6"); #endif -#ifdef HAVE_SETCLASSRESOURCES - g = string_cat(g, US" use_setclassresources"); -#endif #ifdef SUPPORT_PAM g = string_cat(g, US" PAM"); #endif #ifdef EXIM_PERL g = string_cat(g, US" Perl"); #endif -#ifdef EXPAND_DLFUNC - g = string_cat(g, US" Expand_dlfunc"); -#endif -#ifdef USE_TCP_WRAPPERS - g = string_cat(g, US" TCPwrappers"); -#endif #ifdef USE_GNUTLS g = string_cat(g, US" GnuTLS"); #endif +#ifdef SUPPORT_MOVE_FROZEN_MESSAGES + g = string_cat(g, US" move_frozen_messages"); +#endif #ifdef USE_OPENSSL g = string_cat(g, US" OpenSSL"); #endif +#if defined(CYRUS_PWCHECK_SOCKET) + g = string_cat(g, US" pwcheck"); +#endif +#if defined(RADIUS_CONFIG_FILE) + g = string_cat(g, US" radius"); +#endif #ifndef DISABLE_TLS_RESUME g = string_cat(g, US" TLS_resume"); #endif #ifdef SUPPORT_TRANSLATE_IP_ADDRESS g = string_cat(g, US" translate_ip_address"); #endif -#ifdef SUPPORT_MOVE_FROZEN_MESSAGES - g = string_cat(g, US" move_frozen_messages"); +#ifdef USE_TCP_WRAPPERS + g = string_cat(g, US" TCPwrappers"); #endif -#ifdef WITH_CONTENT_SCAN - g = string_cat(g, US" Content_Scanning"); +#ifdef HAVE_SETCLASSRESOURCES + g = string_cat(g, US" use_setclassresources"); #endif #ifdef SUPPORT_DANE g = string_cat(g, US" DANE"); diff --git a/src/src/macro_predef.c b/src/src/macro_predef.c index 8fade68ca..1cf1a4742 100644 --- a/src/src/macro_predef.c +++ b/src/src/macro_predef.c @@ -119,6 +119,12 @@ due to conflicts with other common macros. */ #ifdef SUPPORT_PAM builtin_macro_create(US"_HAVE_PAM"); #endif +#ifdef RADIUS_CONFIG_FILE + builtin_macro_create(US"_HAVE_RADIUS"); +#endif +#ifdef CYRUS_PWCHECK_SOCKET + builtin_macro_create(US"_HAVE_PWCHECK"); +#endif #ifdef EXIM_PERL builtin_macro_create(US"_HAVE_PERL"); #endif