From 76278ef02a31c891d1a0cb3378225df80f7a91d7 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 8 Sep 2023 10:39:24 -0400 Subject: [PATCH] configure.ac: disable webencodings,tinycss2 with --disable-notebook The --disable-notebook flag disables the bleach and nbconvert packages, and the webencodings and tinycss2 packages are (solely) dependencies of those. We can therefore disable webencodings and tinycss2 whenever --disable-notebook is given. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4a255967fc6..ed251b246ff 100644 --- a/configure.ac +++ b/configure.ac @@ -473,7 +473,7 @@ AC_ARG_ENABLE([cvxopt], AC_ARG_ENABLE([notebook], AS_HELP_STRING([--disable-notebook], [disable build of the Jupyter notebook and related packages]), [ - for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi; do + for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi webencodings tinycss2; do AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval]) done ])