From 2cd71e4e1cfe18dcdd6b590ac94c853e8c5f31fb Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 11 Sep 2007 19:54:46 +0000 Subject: [PATCH] Only support gd as a bitmap device for cairo if cairo is present at build time. --- plugin/gd/gvdevice_gd.c | 2 ++ 1 file changed, 2 insertions(+) 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} }; -- 2.40.0