configure: improve the error message if gbm missing

This improves the error message in the case where libgbm is missing when
the KMS egl platform has been enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=706808

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Robert Bragg 2013-11-27 20:38:00 +00:00
parent 6436cd073d
commit 0bf128198d

View File

@ -1091,7 +1091,7 @@ AS_IF([test "x$enable_kms_egl_platform" = "xyes"],
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gbm"
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
],
[AC_MSG_ERROR([Unable to locate required kms libraries])])
[AC_MSG_ERROR([Unable to locate required libgbm library for the KMS egl platform])])
GBM_VERSION=`$PKG_CONFIG --modversion gbm`
GBM_MAJOR=`echo $GBM_VERSION | cut -d'.' -f1`