[gst-devel] [PATCH 1/2] plugins-base: build: don't fail with old pango versions

Felipe Contreras felipe.contreras at gmail.com
Thu Oct 15 15:05:14 CEST 2009


Somebody forgot that 'pangocairo >= 1.15.4' can fail.

Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8c47d3c..a9c36ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -586,7 +586,8 @@ dnl *** pango ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_PANGO, true)
 AG_GST_CHECK_FEATURE(PANGO, [Pango font rendering], pango, [
   AG_GST_PKG_CHECK_MODULES(PANGO, pango pangocairo)
-  PKG_CHECK_MODULES(PANGOCAIRO_1_15_4, pangocairo >= 1.15.4, [ AC_DEFINE(HAVE_PANGO_VERTICAL_WRITING, 1, [Defined if pango can write vertically])])
+  PKG_CHECK_MODULES(PANGOCAIRO_1_15_4, pangocairo >= 1.15.4, [new_pango=1], [new_pango=0])
+  AC_DEFINE_UNQUOTED(HAVE_PANGO_VERTICAL_WRITING, [$new_pango], [Defined if pango can write vertically])
 ])
 
 dnl *** theora ***
-- 
1.6.5.4.g31fc3





More information about the gstreamer-devel mailing list