mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 15:10:02 +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> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1642>
31 lines
604 B
Meson
31 lines
604 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')
|
|
],
|
|
)
|
|
|
|
if build_xorg
|
|
install_data(hdrs_present, install_dir: xorgsdkdir)
|
|
endif
|