mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 21:10:05 +01:00
DragonFly and OpenBSD rely on epoll-shim to provide eventfd.
Move the check for epoll dependency to the root meson.build script so
that we can use that for the <sys/evenfd.h> check as well.
This is preparation work for the following commits, no functional change
intended at this point.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
(cherry picked from commit 673b56e61c)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1702>
27 lines
527 B
Meson
27 lines
527 B
Meson
srcs_present = [
|
|
'present.c',
|
|
'present_event.c',
|
|
'present_execute.c',
|
|
'present_fake.c',
|
|
'present_fence.c',
|
|
'present_notify.c',
|
|
'present_request.c',
|
|
'present_scmd.c',
|
|
'present_screen.c',
|
|
'present_vblank.c',
|
|
]
|
|
|
|
hdrs_present = [
|
|
'present.h',
|
|
'presentext.h',
|
|
]
|
|
|
|
libxserver_present = static_library('libxserver_present',
|
|
srcs_present,
|
|
include_directories: inc,
|
|
dependencies: [
|
|
common_dep,
|
|
epoll_dep,
|
|
dependency('presentproto', version: '>= 1.2')
|
|
],
|
|
)
|