diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-05-12 18:12:20 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-07-26 00:39:22 +0200 |
commit | 903548005c2141b9c67f80412a20522c163c5fb9 (patch) | |
tree | 1aa9cd962de8ad48fe5c369120608b829d2f9e60 /configure.ac | |
parent | 8f67d6e0cea4629ae2e1ca6962224aae0be15092 (diff) |
Merge SVG support from mobilized Dillo fork
Uses the nanosvg library to add SVG support.
See: https://www.toomanyatoms.com/software/mobilized_dillo.html
Authored-By: dogma
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aeed50de..4f4c99fe 100644 --- a/configure.ac +++ b/configure.ac @@ -61,6 +61,11 @@ AC_ARG_ENABLE([gif], [enable_gif=$enableval], [enable_gif=yes]) +AC_ARG_ENABLE([svg], + [AS_HELP_STRING([--disable-svg], [Disable support for SVG images])], + [enable_svg=$enableval], + [enable_svg=yes]) + AC_ARG_ENABLE([threaded-dns], [AS_HELP_STRING([--disable-threaded-dns], [Disable the advantage of a reentrant resolver library])], [enable_threaded_dns=$enableval], @@ -360,6 +365,13 @@ if test "x$enable_gif" = "xyes"; then AC_DEFINE([ENABLE_GIF], [1], [Enable GIF images]) fi +dnl Check if support for SVG images should be compiled in +if test "x$enable_svg" = "xyes"; then + AC_DEFINE([ENABLE_SVG], [1], [Enable SVG images]) +else + AC_MSG_NOTICE([Disabling SVG]) +fi + dnl -------------------------- dnl Test for support for SSL/TLS dnl -------------------------- @@ -710,6 +722,7 @@ _AS_ECHO([ RTFL enabled : ${enable_rtfl}]) _AS_ECHO([ JPEG enabled : ${jpeg_ok}]) _AS_ECHO([ PNG enabled : ${png_ok}]) _AS_ECHO([ GIF enabled : ${enable_gif}]) +_AS_ECHO([ SVG enabled : ${enable_svg}]) _AS_ECHO([]) _AS_ECHO([ HTML tests : ${html_tests_ok}]) _AS_ECHO([]) |