Skip to content

Commit

Permalink
configure.ac: disable tzlocal with --disable-r
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
orlitzky committed Sep 7, 2023
1 parent 6ea1fe9 commit ad1846d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
])
Expand Down

0 comments on commit ad1846d

Please sign in to comment.