From 9c289a44dc5aeb2bb1592cd52a36d7aad56d4509 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 7 Jan 2024 10:19:23 -0800 Subject: [PATCH] build/pkgs/r/spkg-configure.m4: Reindent, suppress some whitespace --- build/pkgs/r/spkg-configure.m4 | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/build/pkgs/r/spkg-configure.m4 b/build/pkgs/r/spkg-configure.m4 index 7db0396d355..0552d0c56ce 100644 --- a/build/pkgs/r/spkg-configure.m4 +++ b/build/pkgs/r/spkg-configure.m4 @@ -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]) ])