configure: Simplify fragile libdrm detection
Loading
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
gitlab.freedesktop.org will be unavailable for up to a week starting March 16th, due to our ongoing infrastructure move. You can follow our planning tracker at https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/2076
libdrm 2.4.46 always installs qxl_drm.h
The fragility here is if xserver doesn't sneak -I/usr/include/libdrm
into your CFLAGS, we'd fail to find the header and disable DRM and KMS entirely. If we need that header path we should set it up, but we also don't, so just skip all this.