Add missing library to output of --version-full
authorRicardo Mones <ricardo@mones.org>
Fri, 31 Mar 2017 18:05:25 +0000 (20:05 +0200)
committerRicardo Mones <ricardo@mones.org>
Fri, 31 Mar 2017 18:05:25 +0000 (20:05 +0200)
src/main.c

index 48fe0d9fbc888a5091c28972c623b6143442d075..83ea2e67973030d373aa9c99a8ab1345dd5efc32 100644 (file)
@@ -65,6 +65,9 @@
 #ifdef HAVE_VALGRIND
 #include <valgrind.h>
 #endif
+#ifdef HAVE_SVG
+#include <librsvg/rsvg.h>
+#endif
 
 #include "claws.h"
 #include "main.h"
@@ -851,6 +854,12 @@ static void main_dump_features_list(gboolean show_debug_only)
        else
                g_print(" NetworkManager\n");
 #endif
+#if HAVE_SVG
+       if (show_debug_only)
+               debug_print(" librSVG " LIBRSVG_VERSION "\n");
+       else
+               g_print(" librSVG " LIBRSVG_VERSION "\n");
+#endif
 }
 
 #ifdef HAVE_DBUS_GLIB