[PATCH weston 04/11] configure.ac: Replace AC_ERROR with AC_MSG_ERROR

Quentin Glidic sardemff7+wayland at sardemff7.net
Sun Dec 8 10:45:36 PST 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c169311..5b7c847 100644
--- a/configure.ac
+++ b/configure.ac
@@ -224,7 +224,7 @@ else
 if test "x$with_cairo" = "xglesv2"; then
 	cairo_modules="cairo-glesv2"
 else
-	AC_ERROR([Unknown cairo renderer requested])
+	AC_MSG_ERROR([Unknown cairo renderer requested])
 fi
 fi
 fi
@@ -311,7 +311,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_ERROR([cairo-egl not used because $CAIRO_EGL_PKG_ERRORS])])],
+	  [AC_MSG_ERROR([cairo-egl not used because $CAIRO_EGL_PKG_ERRORS])])],
   [have_cairo_egl=no])
 
   PKG_CHECK_MODULES(PANGO, [pangocairo], [have_pango=yes], [have_pango=no])
-- 
1.8.4.3



More information about the wayland-devel mailing list