Created attachment 1930563 [details] vttest-configure-c99.patch I'm filing this under the C99 project, but it's a bug today, with current GCC. The configure script does not detect FIONREAD support because on GNU/Linux, it's defined in <sys/ioctl.h>: “ checking for strerror... yes checking if POSIX VDISABLE symbol should be used... yes checking if we may use FIONREAD... no configure: creating ./config.status config.status: creating makefile ” <https://kojipkgs.fedoraproject.org//packages/vttest/2.7.20220827/1.fc38/data/logs/x86_64/build.log> I saw this because the test flags the implicit declaration of ioctl. I assume this patch is okay, and I'm going to push it to rawhide. (And I'm treating this as the de-facto upstream bug tracker. 8-)
Looks ok (I see that the check has been working for BSDs).
(In reply to Thomas E. Dickey from comment #1) > Looks ok (I see that the check has been working for BSDs). Thank you!