From c5ef3518f52da9855b4afb8f374aa45b66812f89 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 29 Mar 2006 12:41:46 +0000 Subject: [PATCH] Check pango-querymodules-32 if pango-querymodules is not available. --- configure.ac | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f90477c..46e6c4c 100644 --- a/configure.ac +++ b/configure.ac @@ -43,11 +43,19 @@ dnl Check for Pango. PKG_CHECK_MODULES(PANGO, pango >= 1.4.0) PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.4.0) AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules, yes) -if test "x$HAVE_PANGO_QMODULE" != "xyes"; then - exit 1 +if test "x$HAVE_PANGO_QMODULE" == "xyes"; then + PANGO_QUERYMODULES=pango-querymodules +else + AC_CHECK_PROG(HAVE_PANGO_QMODULE, pango-querymodules-32, yes) + if test "x$HAVE_PANGO_QMODULE" == "xyes"; then + PANGO_QUERYMODULES=pango-querymodules-32 + else + exit 1 + fi fi PANGO_MODULE_VERSION=1.4.0 AC_SUBST(PANGO_MODULE_VERSION) +AC_SUBST(PANGO_QUERYMODULES) AC_CONFIG_FILES([Makefile]) -- 1.7.10.4