build: add build-time check for gbm_bo_get_stride()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 21 Aug 2012 12:38:30 +0000 (14:38 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 21 Aug 2012 12:38:30 +0000 (14:38 +0200)
commit7ad970c1f4abe6efa3bf48db093c3f750030e1f2
tree616ea9c384e0f64a56fce2542f135f8285222ac6
parent585879281f6cf661b30d9d8351d628f034bfafc4
build: add build-time check for gbm_bo_get_stride()

Upstream mesa renamed gbm_bo_get_pitch() to gbm_bo_get_stride(). As gbm
has not seen an official release, they actually don't care but several
users complained about this. Therefore, we simply add a build-time check
for this. However, this may break when mesa is updated without recompiling
kmscon but that is less intrusive.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
configure.ac
src/uterm_video_drm.c