From de42acd3fd51e94064ab0eea7514f18cfae9eb0d Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 28 Jan 2026 09:34:35 +0100 Subject: [PATCH] core: print whether CLAT support is compiled in At startup, print whether CLAT support is compiled in; it is useful when debugging. --- src/core/main.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index 8d519c00f0..911aeba9a3 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -461,14 +461,8 @@ main(int argc, char *argv[]) /* the first access to State causes the file to be read (and possibly print a warning) */ nm_config_state_get(config); - nm_log_dbg(LOGD_CORE, - "WEXT support is %s", -#if HAVE_WEXT - "enabled" -#else - "disabled" -#endif - ); + nm_log_dbg(LOGD_CORE, "WEXT support is %s", HAVE_WEXT ? "enabled" : "disabled"); + nm_log_dbg(LOGD_CORE, "CLAT support is %s", HAVE_CLAT ? "enabled" : "disabled"); if (!_dbus_manager_init(config)) goto done_no_manager;