configure.ac: Increase pango minimum version from 1.20 to 1.22 20121005030505/pspp 20121006030503/pspp 20121007030505/pspp 20121008030504/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 5 Oct 2012 04:22:42 +0000 (21:22 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 5 Oct 2012 04:22:42 +0000 (21:22 -0700)
Commit bd4d6e7453 (cairo: Avoid deprecated
pango_cairo_font_map_create_context().) added a dependency on pango
version 1.22 or later, but configure.ac only checked for version 1.20
or later.  This commit fixes the discrepancy.

INSTALL already documented that Pango 1.22 or later was needed.

Reported by John Darrington.

configure.ac

index 2f3a8da725ea4e89b84d69b1d926d43f064ba95d..ec5ee2eae28e4cbb8ccec7ecf0e314d040411d20 100644 (file)
@@ -56,11 +56,11 @@ AC_ARG_WITH([cairo],
   [], [with_cairo=yes])
 AM_CONDITIONAL([HAVE_CAIRO], [test "$with_cairo" != no])
 if test "$with_cairo" != no; then
-  PKG_CHECK_MODULES([CAIRO], [cairo >= 1.5 pango >= 1.20 pangocairo], 
+  PKG_CHECK_MODULES([CAIRO], [cairo >= 1.5 pango >= 1.22 pangocairo],
     [CPPFLAGS="$CPPFLAGS $CAIRO_CFLAGS"
      AC_DEFINE([HAVE_CAIRO], 1, 
        [Define to 1 if Cairo and Pango are available.])],
-    [PSPP_REQUIRED_PREREQ([cairo 1.5 or later and pango 1.20 or later (or use --without-cairo)])])
+    [PSPP_REQUIRED_PREREQ([cairo 1.5 or later and pango 1.22 or later (or use --without-cairo)])])
   AC_PATH_PROG([XMLLINT], [xmllint], [echo], [$PATH])
   AC_SUBST(XMLLINT)
 fi