mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 02:08:01 +02:00
automake: Fix Linux build with --disable-apm --disable-acpi
Fixes: accd32a4 (xorg: Remove the XF86PM define.)
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
89901e14d2
commit
2bd631810d
1 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,12 @@ APM_SRCS = lnx_apm.c
|
|||
XORG_CFLAGS += -DHAVE_APM
|
||||
endif
|
||||
|
||||
if !LNXAPM
|
||||
if !LNXACPI
|
||||
ACPI_SRCS = $(srcdir)/../shared/pm_noop.c
|
||||
endif
|
||||
endif
|
||||
|
||||
if SYSTEMD_LOGIND
|
||||
LOGIND_SRCS = systemd-logind.c
|
||||
XORG_CFLAGS += $(DBUS_CFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue