[Cogl] [PATCH] configure: improve the error message if gbm missing

Robert Bragg robert at sixbynine.org
Wed Nov 27 12:39:44 PST 2013


From: Robert Bragg <robert at linux.intel.com>

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
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 4880fce..44b4a27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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`
-- 
1.8.3.1



More information about the Cogl mailing list