Make configure fail if no font backend is available. Point the user at freetype and fontconfig.

This commit is contained in:
Carl Worth 2005-03-07 12:40:29 +00:00
parent 5804df2bcc
commit 32fbb0afae
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-03-07 Carl Worth <cworth@cworth.org>
* configure.in: Make configure fail if no font backend is
available. Point the user at freetype and fontconfig.
2005-03-06 Owen Taylor <otaylor@redhat.com>
* src/cairo_pattern.c (_cairo_image_data_set_linear): Comment

View file

@ -444,3 +444,13 @@ echo " Win32: $use_win32"
echo " ATSUI: $use_atsui"
echo ""
if test x"$use_freetype" != "xyes" && \
test x"$use_win32" != "xyes" && \
test x"$use_atsui" != "xyes" ; then
AC_MSG_ERROR([Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
])
fi