mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
c7eaf4cd11
commit
390bb69fba
@ -992,7 +992,10 @@ if test -n "$COGL_PKG_REQUIRES_GL"; then
|
|||||||
COGL_DEP_LIBS="$COGL_DEP_LIBS $gl_libs"
|
COGL_DEP_LIBS="$COGL_DEP_LIBS $gl_libs"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(COGL_PANGO_PKG_REQUIRES)
|
AC_SUBST(COGL_PANGO_PKG_REQUIRES)
|
||||||
|
|
||||||
|
AS_IF([test "x$enable_cogl_pango" = "xyes"],
|
||||||
PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])
|
PKG_CHECK_MODULES(COGL_PANGO_DEP, [$COGL_PANGO_PKG_REQUIRES])
|
||||||
|
)
|
||||||
|
|
||||||
dnl ================================================================
|
dnl ================================================================
|
||||||
dnl Misc program dependencies.
|
dnl Misc program dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user