Skip to content

Commit

Permalink
sagemathgh-36208: 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.

URL: sagemath#36208
Reported by: Michael Orlitzky
Reviewer(s): Matthias Köppe
  • Loading branch information
Release Manager committed Sep 10, 2023
2 parents 7bd147d + ad1846d commit f9609a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=80ee52a3b6855149693204f0816bd0690947e7ae
md5=4292c175bba9299bd057980cec7060fd
cksum=3914108326
sha1=d392fbfb62e75f5d2ea57c39bcf8d6281960790c
md5=6bc99c5b5382bf6bb2f626a19a1bdb9f
cksum=3742648740
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
57852a89c5c274ec6dbdd9269042972c7343e3ec
4ac944772d896e33b8666a71509a00877969a79f
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,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 f9609a0

Please sign in to comment.