From ad1846df564cad16a95b2d0b967a2ae19e88ce2f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 7 Sep 2023 15:40:31 -0400 Subject: [PATCH] configure.ac: disable tzlocal with --disable-r The tzlocal package is a dependency of rpy2 and is used nowhere else in sage. When the user disables R with --disable-r, we can safely disable tzlocal too. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4a255967fc6..4ed44e024c4 100644 --- a/configure.ac +++ b/configure.ac @@ -487,7 +487,7 @@ AS_IF([test "$SAGE_ENABLE_notebook" = no -a "$SAGE_ENABLE_sagelib" = no], [ AC_ARG_ENABLE([r], AS_HELP_STRING([--disable-r], [disable build of the R package and related packages]), [ - for pkg in r rpy2 r_jupyter; do + for pkg in r rpy2 r_jupyter tzlocal; do AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval]) done ])