1dnl Check for FreeType2
2AC_CHECK_FT2(7.0.1, ftype=1)
3if test "$ftype" != 1; then
4	AC_MSG_ERROR([
5		FreeType2 must be installed on your system
6		but freetype-config couldn't be found.
7		Please check that freetype-config is in the path, the directory
8		where the freetype libraries are installed (returned by
9		'freetype-config --libs' command) is in LD_LIBRARY_PATH or
10                equivalent variable and freetype version is 7.0.1 or above
11                Try http://www.freetype.org to download freetype.
12	])
13fi
14
15