diff configure.ac @ 16229:12e2ee612d5f

Fix for using Pango < 1.4, will not have complete RTL support with older Pango though.
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 17 Apr 2007 11:14:50 +0000
parents 7f958fb1804f
children d930a82cda63
line wrap: on
line diff
--- a/configure.ac	Tue Apr 17 10:15:54 2007 +0000
+++ b/configure.ac	Tue Apr 17 11:14:50 2007 +0000
@@ -241,6 +241,10 @@
 	AC_SUBST(GTK_CFLAGS)
 	AC_SUBST(GTK_LIBS)
 
+	dnl We only really need Pango >= 1.4 for decent RTL support
+	PKG_CHECK_MODULES(pango, [pango >= 1.4.0],
+			AC_DEFINE(HAVE_PANGO14, 1, [Define if we have Pango 1.4 or newer.]),)
+
 	dnl #######################################################################
 	dnl # Check for XScreenSaver
 	dnl #######################################################################