mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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:
parent
6436cd073d
commit
0bf128198d
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user