[cogl/fosdem-2012: 3/19] configure.ac: ignore COGL_PANGO_DEPS if cogl-pango disabled
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/fosdem-2012: 3/19] configure.ac: ignore COGL_PANGO_DEPS if cogl-pango disabled
- Date: Wed, 4 Jan 2012 16:15:40 +0000 (UTC)
commit 29ee241c854a519bbbf1ccf87eebbd6b66faa528
Author: Robert Bragg <robert linux intel com>
Date: Mon Dec 19 16:01:37 2011 +0000
configure.ac: ignore COGL_PANGO_DEPS if cogl-pango disabled
This skips the pkg-config check for COGL_PANGO_DEPS if
--disable-cogl-pango was explicitly passed to ./configure.
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f1b2dbd..52ee042 100644
--- a/configure.ac
+++ b/configure.ac
@@ -992,7 +992,10 @@ if test -n "$COGL_PKG_REQUIRES_GL"; then
COGL_DEP_LIBS="$COGL_DEP_LIBS $gl_libs"
fi
AC_SUBST(COGL_PANGO_PKG_REQUIRES)
-PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])
+
+AS_IF([test "x$enable_cogl_pango" = "xyes"],
+ PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])
+)
dnl ================================================================
dnl Misc program dependencies.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]