[gst-devel] [PATCH 2/2] plugins-base: build: avoid pango version check if it's not there

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


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

diff --git a/configure.ac b/configure.ac
index a9c36ea..ca1b9d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -586,8 +586,10 @@ 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, [new_pango=1], [new_pango=0])
-  AC_DEFINE_UNQUOTED(HAVE_PANGO_VERTICAL_WRITING, [$new_pango], [Defined if pango can write vertically])
+  if test $HAVE_PANGO = yes; then
+    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])
+  fi
 ])
 
 dnl *** theora ***
-- 
1.6.5.4.g31fc3





More information about the gstreamer-devel mailing list