summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-09-03 13:14:25 +0000
committerManolo Gouy <Manolo>2017-09-03 13:14:25 +0000
commit1a28d85dc3f8f062401002bebc8e8a59805cce9b (patch)
tree4fd0412732046d526e44476ea22eab343c36673c /configure.ac
parentda31ff4569a252e314ab91b3ea9cc11aafec2a24 (diff)
Add new Fl_SVG_Image class to support scalable vector graphics images using the (modified) nanosvg software.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 48d17f0eb..e8eba8c01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -766,6 +766,12 @@ AC_SUBST(PNGINC)
AC_SUBST(ZLIB)
AC_SUBST(ZLIBINC)
+# Control the usage of the nanosvg lib
+AC_ARG_ENABLE(nanosvg, [ --enable-nanosvg use nanosvg to support SVG images [[default=yes]]])
+if test x$enable_nanosvg != xno; then
+ AC_DEFINE(FLTK_USE_NANOSVG)
+fi
+
dnl Restore original LIBS settings...
LIBS="$SAVELIBS"