changeset 918:92a97858c7e3

Fix the error message when pangocairo is not present.
author pingooo
date Tue, 26 Oct 2010 21:26:40 +0800
parents 05fba54926fb
children d2863fa9720b
files configure.ac
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]