From 46377396accf6b43792ffba553dcd9847608aa86 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 24 Aug 2011 02:12:05 +0200 Subject: [PATCH] [configure] Fix graphite bits --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1bbe598a1..2dc9d7d3e 100644 --- a/configure.ac +++ b/configure.ac @@ -134,14 +134,15 @@ if $have_icu; then fi AM_CONDITIONAL(HAVE_ICU, $have_icu) -AC_ARG_ENABLE(graphite, - AC_HELP_STRING([--disable-graphite], [build without graphite support])) +dnl ========================================================================== PKG_CHECK_MODULES(GRAPHITE, graphite2, have_graphite=true, have_graphite=false) -if test "x$enable_graphite" != xno -a $have_graphite; then +if $have_graphite; then AC_DEFINE(HAVE_GRAPHITE, 1, [Have Graphite library]) fi -AM_CONDITIONAL(HAVE_GRAPHITE, [test "x$enable_graphite" != xno -a $have_graphite]) +AM_CONDITIONAL(HAVE_GRAPHITE, $have_graphite) + +dnl ========================================================================== PKG_CHECK_MODULES(FREETYPE, freetype2 >= 2.3.8, have_freetype=true, have_freetype=false) if $have_freetype; then