Re: Patch for configure.in: Pango 0.13 reqd.



Oops,
I think Yahoo ate my patch, so here it is again.

Jamie Strachan

~/GNOME >cvs -z 3 diff -u gtk+/configure.in
Index: gtk+/configure.in
===================================================================
RCS file: /cvs/gnome/gtk+/configure.in,v
retrieving revision 1.198
diff -u -r1.198 configure.in
--- gtk+/configure.in 2001/02/13 04:56:05 1.198
+++ gtk+/configure.in 2001/03/01 03:16:14
@@ -625,6 +625,23 @@

 AC_SUBST(PANGO_PACKAGES)

+
+PANGO_REQUIRED_VERSION=0.13
+
+AC_MSG_CHECKING(Pango version)
+if $PKG_CONFIG --atleast-version $PANGO_REQUIRED_VERSION pango ; then
+        GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_PACKAGES`
+        GLIB_LIBS=`$PKG_CONFIG --libs $GLIB_PACKAGES`
+        GLIB_DEPLIBS=$GLIB_LIBS
+
+        AC_MSG_RESULT($GLIB_CFLAGS $GLIB_LIBS)
+else
+        AC_MSG_ERROR([
+*** Pango $PANGO_REQUIRED_VERSION or newer is required.
+*** See http://www.pango.org for details.
+])
+fi
+
 # Check for Pango flags

 AC_MSG_CHECKING(Pango flags)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]