From 2597b5815a7dcac9f37c4bbe420a0282ed3197d3 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 13 Oct 2004 06:20:33 +0000 Subject: [PATCH] Check if is available or not. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 1.7.10.4