[mutter] cogl: Always build CoglPango support
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Always build CoglPango support
- Date: Tue, 6 Nov 2018 18:04:23 +0000 (UTC)
commit f30cef304633b7c56c657a9d985d2fd3dbf462e4
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Thu May 3 20:51:04 2018 +0200
cogl: Always build CoglPango support
cogl/Makefile.am | 2 --
cogl/configure.ac | 21 ++-------------------
2 files changed, 2 insertions(+), 21 deletions(-)
---
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index f9c97724a..b24abddb7 100644
--- a/cogl/Makefile.am
+++ b/cogl/Makefile.am
@@ -4,9 +4,7 @@ SUBDIRS += cogl
SUBDIRS += cogl-path
-if BUILD_COGL_PANGO
SUBDIRS += cogl-pango
-endif
if BUILD_COGL_GLES2
SUBDIRS += cogl-gles2
diff --git a/cogl/configure.ac b/cogl/configure.ac
index f04f1e356..62f77555c 100644
--- a/cogl/configure.ac
+++ b/cogl/configure.ac
@@ -385,21 +385,8 @@ AM_PATH_GLIB_2_0([glib_req_version],
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gobject-2.0 gmodule-no-export-2.0"
-dnl ============================================================
-dnl Should cogl-pango be built?
-dnl ============================================================
+COGL_PANGO_PKG_REQUIRES="$COGL_PANGO_PKG_REQUIRES pangocairo >= pangocairo_req_version"
-AC_ARG_ENABLE(
- [cogl-pango],
- [AC_HELP_STRING([--enable-cogl-pango=@<:@no/yes@:>@], [Enable pango support @<:@default=yes@:>@])],
- [],
- enable_cogl_pango=yes
-)
-AS_IF([test "x$enable_cogl_pango" = "xyes"],
- [
- COGL_PANGO_PKG_REQUIRES="$COGL_PANGO_PKG_REQUIRES pangocairo >= pangocairo_req_version"
- ]
-)
dnl ============================================================
dnl Choose image loading backend
@@ -807,10 +794,7 @@ if test -n "$COGL_PKG_REQUIRES"; then
fi
AC_SUBST(COGL_PANGO_PKG_REQUIRES)
-AS_IF([test "x$enable_cogl_pango" = "xyes"],
- [PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])]
-)
-AM_CONDITIONAL([BUILD_COGL_PANGO], [test "x$enable_cogl_pango" = "xyes"])
+PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])
dnl ================================================================
dnl Misc program dependencies.
@@ -983,7 +967,6 @@ echo " Wayland compositor support: ${enable_wayland_egl_server}"
fi
echo " Build libcogl-gles2 GLES 2.0 frontend api: ${enable_cogl_gles2}"
echo " Image backend: ${COGL_IMAGE_BACKEND}"
-echo " Cogl Pango: ${enable_cogl_pango}"
# Compiler/Debug related flags
echo ""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]