Skip to content

Commit ad1846d

Browse files
committed
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.
1 parent 6ea1fe9 commit ad1846d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ AS_IF([test "$SAGE_ENABLE_notebook" = no -a "$SAGE_ENABLE_sagelib" = no], [
487487
AC_ARG_ENABLE([r],
488488
AS_HELP_STRING([--disable-r],
489489
[disable build of the R package and related packages]), [
490-
for pkg in r rpy2 r_jupyter; do
490+
for pkg in r rpy2 r_jupyter tzlocal; do
491491
AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval])
492492
done
493493
])

0 commit comments

Comments
 (0)