]> granicus.if.org Git - graphviz/commitdiff
no need for entry points if the libraries are empty stubs
authorellson <devnull@localhost>
Mon, 19 Jun 2006 14:37:35 +0000 (14:37 +0000)
committerellson <devnull@localhost>
Mon, 19 Jun 2006 14:37:35 +0000 (14:37 +0000)
lib/gvc/dot_builtins.c

index fd317123a450fef295f1e4dd96ba353b679bc6bd..7a07d7706cdaa9e66894119bf03ee67e66919a1c 100644 (file)
 
 extern gvplugin_library_t *gvplugin_dot_layout_LTX_library;
 extern gvplugin_library_t *gvplugin_neato_layout_LTX_library;
+#ifdef HAVE_LIBGD
 extern gvplugin_library_t *gvplugin_gd_LTX_library;
+#endif
+#ifdef HAVE_PANGOCAIRO
 extern gvplugin_library_t *gvplugin_pango_LTX_library;
+#endif
 extern gvplugin_library_t *gvplugin_core_LTX_library;
 
 const lt_symlist_t lt_preloaded_symbols[] = {
        { "gvplugin_dot_layout_LTX_library", (void*)(&gvplugin_dot_layout_LTX_library) },
        { "gvplugin_neato_layout_LTX_library", (void*)(&gvplugin_neato_layout_LTX_library) },
+#ifdef HAVE_PANGOCAIRO
        { "gvplugin_pango_LTX_library", (void*)(&gvplugin_pango_LTX_library) },
+#endif
+#ifdef HAVE_LIBGD
        { "gvplugin_gd_LTX_library", (void*)(&gvplugin_gd_LTX_library) },
+#endif
        { "gvplugin_core_LTX_library", (void*)(&gvplugin_core_LTX_library) },
        { 0, 0 }
 };