diff options
author | Lynne <dev@lynne.ee> | 2020-12-30 22:19:16 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-12-30 23:14:46 +0100 |
commit | 53c56585a6bebfd1dd73f73ace5d719120822b0a (patch) | |
tree | ae93f8cbb3e6bf35c2dfaf008e0b93ba935e7276 /configure | |
parent | 2f20e35892c866d4e141e73a3e2df16457f9a21a (diff) | |
download | ffmpeg-53c56585a6bebfd1dd73f73ace5d719120822b0a.tar.gz |
hwcontext_drm: make dependency on Linux kernel headers optional
This was introduced in version 4.6. And may not exist all without an
optional package. So to prevent a hard dependency on needing the Linux
kernel headers to compile, make this optional.
Also ignore the status of the ioctl, since it may fail on older kernels
which don't support it. It's okay to ignore as its not fatal and any
serious errors will be caught later by the mmap call.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2125,6 +2125,7 @@ HEADERS_LIST=" ES2_gl_h gsm_h io_h + linux_dma_buf_h linux_perf_event_h machine_ioctl_bt848_h machine_ioctl_meteor_h @@ -6151,6 +6152,9 @@ check_headers dxgidebug.h check_headers dxva.h check_headers dxva2api.h -D_WIN32_WINNT=0x0600 check_headers io.h +enabled libdrm && + check_headers linux/dma-buf.h + check_headers linux/perf_event.h check_headers libcrystalhd/libcrystalhd_if.h check_headers malloc.h |