# HG changeset patch # User pingooo # Date 1288099600 -28800 # Node ID 92a97858c7e36f272bc75c094c7e72dfced23eb6 # Parent 05fba54926fbe87b8494de37bfb08046af29b308 Fix the error message when pangocairo is not present. diff -r 05fba54926fb -r 92a97858c7e3 configure.ac --- a/configure.ac Thu Oct 21 23:58:00 2010 +0800 +++ b/configure.ac Tue Oct 26 21:26:40 2010 +0800 @@ -147,8 +147,9 @@ [if [ x"${cairo}" = xtrue ]; then] PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found])) + #PKG_CHECK_MODULES([cairo2], [cairo2 >= 2.0], , AC_MSG_ERROR([cairo2 >= 2.0 not found])) [if [ x"${sh_text}" = xtrue ]; then] - PKG_CHECK_MODULES([pangocairo], [pangocairo >= 1.0], , AC_MSG_ERROR([pangocairo >= 1.0 not found])) + PKG_CHECK_MODULES([pangocairo], [pangocairo >= 1.0], , AC_MSG_ERROR([pangocairo >= 1.0 not found, use --disable_sh_text to configure without pangocairo.])) [fi] [fi]