[PATCH weston 2/7] configure: tell why cairo-egl could not be used

Pekka Paalanen ppaalanen at gmail.com
Tue Oct 16 07:27:17 PDT 2012


Otherwise the user has no indication which package is missing for
CAIRO_EGL, and has to dig into config.log for it.

Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 470e6c2..e3e3581 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,7 +175,7 @@ if test x$enable_clients = xyes; then
 		    [have_cairo_egl=yes], [have_cairo_egl=no])
   AS_IF([test "x$have_cairo_egl" = "xyes"],
         [AC_DEFINE([HAVE_CAIRO_EGL], [1], [Have cairo-egl])],
-        [AC_MSG_WARN([Cairo-EGL not found - clients will use cairo image])])
+        [AC_MSG_WARN([clients will use cairo image, cairo-egl not used because $CAIRO_EGL_PKG_ERRORS])])
 fi
 
 AC_ARG_ENABLE(weston-launch, [  --enable-weston-launch],, enable_weston_launch=yes)
-- 
1.7.8.6



More information about the wayland-devel mailing list