]> granicus.if.org Git - graphviz/commitdiff
conditionally exclude the rest of the code too
authorellson <devnull@localhost>
Tue, 11 Sep 2007 19:56:20 +0000 (19:56 +0000)
committerellson <devnull@localhost>
Tue, 11 Sep 2007 19:56:20 +0000 (19:56 +0000)
plugin/gd/gvdevice_gd.c

index ff54a16a6b88489272a0f19907a24e949cc03250..b5ac9dbb0b451144f735781b90c0c9277386baa9 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "gvplugin_device.h"
 
+#ifdef HAVE_PANGOCAIRO
 #ifdef HAVE_LIBGD
 #include "gd.h"
 
@@ -136,10 +137,11 @@ static gvdevice_features_t device_features_gd = {
     {96.,96.},                  /* dpi */
 };
 #endif
+#endif
 
 gvplugin_installed_t gvdevice_gd_types[] = {
-#ifdef HAVE_LIBGD
 #ifdef HAVE_PANGOCAIRO
+#ifdef HAVE_LIBGD
 
 #ifdef HAVE_GD_GIF
     {FORMAT_GIF, "gif:cairo", 10, &gd_engine, &device_features_gd},