11# ## R.m4 -- extra macros for configuring R -*- Autoconf -*-
22# ##
3- # ## Copyright (C) 1998-2023 R Core Team
3+ # ## Copyright (C) 1998-2024 R Core Team
44# ##
55# ## This file is part of R.
66# ##
@@ -3152,8 +3152,8 @@ AC_SUBST(LAPACK_LIBS)
31523152
31533153# # R_LAPACK_SYSTEM_LIB
31543154# # -------------------
3155- # # New for R 4.2.0
3156- # # Look for system -llapack of version at least 3.10 .0.
3155+ # # New for R 4.2.0: reduced to >=3.9.0 for 4.4.0.
3156+ # # Look for system -llapack of version at least 3.9 .0.
31573157# # We have to test with a system BLAS.
31583158# # We don't want an external lapack which contains a BLAS.
31593159# # We document that at least ATLAS, OpenBLAS and Accelerate lapack
32913291if test "${acx_lapack_ok}" = yes; then
32923292 LIBS="-lblas -llapack ${FLIBS} ${acx_lapack_save_LIBS}"
32933293
3294- AC_CACHE_CHECK ( [ if LAPACK version >= 3.10 .0] , [ r_cv_lapack_ver] ,
3294+ AC_CACHE_CHECK ( [ if LAPACK version >= 3.9 .0] , [ r_cv_lapack_ver] ,
32953295[ AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
32963296extern void ${ilaver}(int *major, int *minor, int *patch);
32973297
@@ -3301,7 +3301,7 @@ int main(void) {
33013301 int major, minor, patch;
33023302 ${ilaver}(&major, &minor, &patch);
33033303 printf("%d.%d.%d, so ", major, minor, patch);
3304- if (major < 3 || (major == 3 && minor < 10 )) exit(1);
3304+ if (major < 3 || (major == 3 && minor < 9 )) exit(1);
33053305 exit(0);
33063306}
33073307] ] ) ] ,
0 commit comments