Mercurial > MadButterfly
comparison configure.ac @ 918:92a97858c7e3
Fix the error message when pangocairo is not present.
author | pingooo |
---|---|
date | Tue, 26 Oct 2010 21:26:40 +0800 |
parents | 7e64e0f70cb6 |
children | f02f3f20ce95 |
comparison
equal
deleted
inserted
replaced
916:05fba54926fb | 918:92a97858c7e3 |
---|---|
145 | 145 |
146 # Checks for libraries. | 146 # Checks for libraries. |
147 | 147 |
148 [if [ x"${cairo}" = xtrue ]; then] | 148 [if [ x"${cairo}" = xtrue ]; then] |
149 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found])) | 149 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found])) |
150 #PKG_CHECK_MODULES([cairo2], [cairo2 >= 2.0], , AC_MSG_ERROR([cairo2 >= 2.0 not found])) | |
150 [if [ x"${sh_text}" = xtrue ]; then] | 151 [if [ x"${sh_text}" = xtrue ]; then] |
151 PKG_CHECK_MODULES([pangocairo], [pangocairo >= 1.0], , AC_MSG_ERROR([pangocairo >= 1.0 not found])) | 152 PKG_CHECK_MODULES([pangocairo], [pangocairo >= 1.0], , AC_MSG_ERROR([pangocairo >= 1.0 not found, use --disable_sh_text to configure without pangocairo.])) |
152 [fi] | 153 [fi] |
153 [fi] | 154 [fi] |
154 | 155 |
155 AC_CONFIG_FILES([ | 156 AC_CONFIG_FILES([ |
156 Makefile | 157 Makefile |