dri1: Don't bother asking the loader about drmGetLibVersion
authorAdam Jackson <ajax@redhat.com>
Thu, 17 Apr 2014 14:49:46 +0000 (10:49 -0400)
committerKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 18:11:19 +0000 (11:11 -0700)
commit58ef01648b18f85ad79620da110ece2339f638c3
treedf27ce54dd4e2403d0198e80d5a9325ebec2f6ec
parent461ed561b9f75cee43c0dfd39228716f977956e7
dri1: Don't bother asking the loader about drmGetLibVersion

This was added for DRM_IOCTL_SET_VERSION support, which has been around
for over ten years now. Since we require ≥2.3.0 in configure.ac this
would really only protect you if you managed to build against a modern
libdrm but run against one that's more than 7½ years old, which, doctor
it hurts when I do this.

Archaeology: http://cgit.freedesktop.org/~ajax/dri/commit/xc/programs/Xserver/GL/dri/dri.c?id=77d62efca033dced96ab7998b7c62a4e2df907d5
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
hw/xfree86/dri/dri.c