-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/pkgs/r/spkg-configure.m4: Reindent, suppress some whitespace
- Loading branch information
Matthias Koeppe
committed
Jan 22, 2024
1 parent
0b2bfda
commit c773784
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
SAGE_SPKG_CONFIGURE([r], [ | ||
dnl https://rpy2.github.io/doc/v3.4.x/html/overview.html#requirements | ||
m4_pushdef([SAGE_R_MINVER],["3.5"]) | ||
PKG_CHECK_MODULES([R], [libR >= SAGE_R_MINVER], [ | ||
AC_PATH_PROG([R], [R]) | ||
AS_IF([test "x$R" = x], [ | ||
AC_MSG_NOTICE([R is not found]) | ||
sage_spkg_install_r=yes | ||
], [ | ||
dnl TODO: check that versions of R and libR match | ||
sage_spkg_install_r=no | ||
]) | ||
], [sage_spkg_install_r=yes]) | ||
m4_popdef([SAGE_R_MINVER]) | ||
SAGE_SPKG_CONFIGURE([r], [dnl | ||
dnl https://rpy2.github.io/doc/v3.4.x/html/overview.html#requirements | ||
m4_pushdef([SAGE_R_MINVER], ["3.5"]) | ||
PKG_CHECK_MODULES([R], [libR >= SAGE_R_MINVER], [dnl | ||
AC_PATH_PROG([R], [R]) | ||
AS_IF([test "x$R" = x], [dnl | ||
AC_MSG_NOTICE([R is not found]) | ||
sage_spkg_install_r=yes | ||
], [dnl TODO: check that versions of R and libR match | ||
sage_spkg_install_r=no | ||
]) | ||
], [sage_spkg_install_r=yes]) | ||
m4_popdef([SAGE_R_MINVER]) | ||
]) |