Skip to content

Commit

Permalink
build/pkgs/r/spkg-configure.m4: Reindent, suppress some whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jan 7, 2024
1 parent ecdbc22 commit 9c289a4
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions build/pkgs/r/spkg-configure.m4
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])
])

0 comments on commit 9c289a4

Please sign in to comment.