summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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"