From: ellson Date: Tue, 11 Sep 2007 19:54:46 +0000 (+0000) Subject: Only support gd as a bitmap device for cairo if cairo is present at build time. X-Git-Tag: LAST_LIBGRAPH~32^2~5269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2cd71e4e1cfe18dcdd6b590ac94c853e8c5f31fb;p=graphviz Only support gd as a bitmap device for cairo if cairo is present at build time. --- diff --git a/plugin/gd/gvdevice_gd.c b/plugin/gd/gvdevice_gd.c index e55889604..ff54a16a6 100644 --- a/plugin/gd/gvdevice_gd.c +++ b/plugin/gd/gvdevice_gd.c @@ -139,6 +139,7 @@ static gvdevice_features_t device_features_gd = { gvplugin_installed_t gvdevice_gd_types[] = { #ifdef HAVE_LIBGD +#ifdef HAVE_PANGOCAIRO #ifdef HAVE_GD_GIF {FORMAT_GIF, "gif:cairo", 10, &gd_engine, &device_features_gd}, @@ -165,6 +166,7 @@ gvplugin_installed_t gvdevice_gd_types[] = { #endif #endif +#endif #endif {0, NULL, 0, NULL, NULL} };