configure: improve check for POSIX ioctl
authorRamiro Polla <[email protected]>
Thu, 29 Aug 2024 13:40:00 +0000 (15:40 +0200)
committerBrad Smith <[email protected]>
Mon, 2 Sep 2024 01:16:49 +0000 (21:16 -0400)
commit4af46cabf6996d177ab7f52ca85066463d040e82
tree6382fa48b1afb8aba9e1c3e44528937e689f65a4
parentd67155005dae4c52493a515e09bc072d6c1b0f29
configure: improve check for POSIX ioctl

Instead of relying on system #ifdefs which may or may not be correct,
detect the POSIX ioctl signature at configure time.

(cherry picked from commit 00b64fca55a3a009c9d0e391c85f4fd3291e5d12)
Signed-off-by: Brad Smith <[email protected]>
configure
libavdevice/v4l2.c