build: Define USE_XDG_ACTIVATION conditional when Wayland is disabled

This fixes Autotools builds that disable Wayland, such as non-Linux
operating systems and the minimal "udeb" (micro-.deb) package used in
Debian's installer.

Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie
2022-11-18 11:21:18 +00:00
parent f8d26e2acc
commit 20f2c13b2b

View File

@ -480,6 +480,7 @@ if test "$enable_wayland_backend" = "yes"; then
AM_CONDITIONAL(USE_WAYLAND, true)
else
AM_CONDITIONAL(USE_WAYLAND, false)
AM_CONDITIONAL(USE_XDG_ACTIVATION, false)
fi
# strip leading space