From: handa Date: Wed, 13 Oct 2004 06:20:33 +0000 (+0000) Subject: Check if is available or not. X-Git-Tag: REL-1-2-0~121 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2597b5815a7dcac9f37c4bbe420a0282ed3197d3;p=m17n%2Fm17n-lib.git Check if is available or not. --- diff --git a/configure.ac b/configure.ac index 3507d32..e7e57ef 100644 --- a/configure.ac +++ b/configure.ac @@ -155,6 +155,13 @@ if test "x$HAVE_FREETYPE_CONFIG" = "xyes"; then FREETYPE_LD_FLAGS=`freetype-config --libs` AC_DEFINE(HAVE_FREETYPE, 1, [Define to 1 if you have FreeType library and header file.]) + AC_CHECK_HEADER(freetype/ftbdf.h, HAVE_FTBDF_H=yes, HAVE_FTBDF_H=no, + [#include +#include FT_FREETYPE_H]) + if test "x$HAVE_FTBDF_H" = "xyes"; then + AC_DEFINE(HAVE_FTBDF_H, 1, + [Define to 1 if you have freetype/ftbdf.h.]) + fi fi fi fi