From 0429b713d27f9db6529a9237798c5088d065652e Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 3 Sep 2008 20:14:10 +0000 Subject: [PATCH] Add warnings if the system libgd was not built with fontconfig or freetype support. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 4f017b60c..ca27d4fb8 100644 --- a/configure.ac +++ b/configure.ac @@ -2282,9 +2282,13 @@ else fi if test "$f" = "GD_FONTCONFIG"; then AC_DEFINE_UNQUOTED(HAVE_GD_FONTCONFIG,1,[Define if the GD library supports FONTCONFIG]) + else + AC_MSG_WARN(Your libgd was not built with fontconfig support. This may result in problems resolving fonts.) fi if test "$f" = "GD_FREETYPE"; then AC_DEFINE_UNQUOTED(HAVE_GD_FREETYPE,1,[Define if the GD library supports FREETYPE]) + else + AC_MSG_WARN(Your libgd was not built with freetype support. This may result in problems displaying fonts.) fi if test "$f" = "GD_GIF"; then AC_DEFINE_UNQUOTED(HAVE_GD_GIF,1,[Define if the GD library supports GIF]) -- 2.40.0