]> granicus.if.org Git - graphviz/commitdiff
Only support gd as a bitmap device for cairo if cairo is present at build time.
authorellson <devnull@localhost>
Tue, 11 Sep 2007 19:54:46 +0000 (19:54 +0000)
committerellson <devnull@localhost>
Tue, 11 Sep 2007 19:54:46 +0000 (19:54 +0000)
plugin/gd/gvdevice_gd.c

index e55889604e40dd6a5e68de3a0cde6000801c931c..ff54a16a6b88489272a0f19907a24e949cc03250 100644 (file)
@@ -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}
 };