]> granicus.if.org Git - graphviz/commitdiff
Add warnings if the system libgd was not built with fontconfig or freetype support.
authorellson <devnull@localhost>
Wed, 3 Sep 2008 20:14:10 +0000 (20:14 +0000)
committerellson <devnull@localhost>
Wed, 3 Sep 2008 20:14:10 +0000 (20:14 +0000)
configure.ac

index 4f017b60c80776dffcdd5a9cdf940dd4806c055d..ca27d4fb8dcec93c46ff628987ad6e7a88095239 100644 (file)
@@ -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])