The R Project SVN R

Rev

Rev 85072 | Rev 89143 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 85072 Rev 87644
Line 3... Line 3...
3
## against R.
3
## against R.
4
##
4
##
5
## Usage:
5
## Usage:
6
##   R CMD config [options] [VAR]
6
##   R CMD config [options] [VAR]
7
 
7
 
8
## Copyright (C) 2002-2022 The R Core Team
8
## Copyright (C) 2002-2025 The R Core Team
9
##
9
##
10
## This document is free software; you can redistribute it and/or modify
10
## This document is free software; you can redistribute it and/or modify
11
## it under the terms of the GNU General Public License as published by
11
## it under the terms of the GNU General Public License as published by
12
## the Free Software Foundation; either version 2, or (at your option)
12
## the Free Software Foundation; either version 2, or (at your option)
13
## any later version.
13
## any later version.
Line 18... Line 18...
18
## General Public License for more details.
18
## General Public License for more details.
19
##
19
##
20
## A copy of the GNU General Public License is available at
20
## A copy of the GNU General Public License is available at
21
## https://www.R-project.org/Licenses/
21
## https://www.R-project.org/Licenses/
22
 
22
 
23
revision='$Revision: 85072 $'
23
revision='$Revision: 87644 $'
24
version=`set - ${revision}; echo ${2}`
24
version=`set - ${revision}; echo ${2}`
25
version="R configuration information retrieval script: ${R_VERSION} (r${version})
25
version="R configuration information retrieval script: ${R_VERSION} (r${version})
26
 
26
 
27
Copyright (C) 2002-2022 The R Core Team.
27
Copyright (C) 2002-2022 The R Core Team.
28
This is free software; see the GNU General Public License version 2
28
This is free software; see the GNU General Public License version 2
Line 87... Line 87...
87
  CXX23STD      flag used with CXX23 to enable C++23 support
87
  CXX23STD      flag used with CXX23 to enable C++23 support
88
  CXX23FLAGS    further compiler flags for CXX23
88
  CXX23FLAGS    further compiler flags for CXX23
89
  CXX23PICFLAGS
89
  CXX23PICFLAGS
90
                special flags for compiling C++23 code to be included in
90
                special flags for compiling C++23 code to be included in
91
                a shared library
91
                a shared library
-
 
92
  CXX26         compiler command for C++26 code
-
 
93
  CXX26STD      flag used with CXX26 to enable C++26 support
-
 
94
  CXX26FLAGS    further compiler flags for CXX26
-
 
95
  CXX26PICFLAGS
-
 
96
                special flags for compiling C++26 code to be included in
-
 
97
                a shared library
92
  DYLIB_EXT	file extension (including '.') for dynamic libraries
98
  DYLIB_EXT	file extension (including '.') for dynamic libraries
93
  DYLIB_LD      command for linking dynamic libraries which contain
99
  DYLIB_LD      command for linking dynamic libraries which contain
94
		object files from a C or Fortran compiler only
100
		object files from a C or Fortran compiler only
95
  DYLIB_LDFLAGS
101
  DYLIB_LDFLAGS
96
		special flags used by DYLIB_LD
102
		special flags used by DYLIB_LD
Line 120... Line 126...
120
  SAFE_FFLAGS   Safe (as conformant as possible) Fortran compiler flags
126
  SAFE_FFLAGS   Safe (as conformant as possible) Fortran compiler flags
121
  SHLIB_CFLAGS  additional CFLAGS used when building shared objects
127
  SHLIB_CFLAGS  additional CFLAGS used when building shared objects
122
  SHLIB_CXXFLAGS
128
  SHLIB_CXXFLAGS
123
                additional CXXFLAGS used when building shared objects
129
                additional CXXFLAGS used when building shared objects
124
  SHLIB_CXXLD   command for linking shared objects which contain
130
  SHLIB_CXXLD   command for linking shared objects which contain
125
		object files from a C++ compiler (and CXX11 CXX14 CXX17 CXX20 CXX23)
131
		object files from a C++ compiler (and CXX11 CXX14 CXX17 CXX20 CXX23 CXX26)
126
  SHLIB_CXXLDFLAGS
132
  SHLIB_CXXLDFLAGS
127
		special flags used by SHLIB_CXXLD (and CXX11 CXX14 CXX17 CXX20 CXX23)
133
		special flags used by SHLIB_CXXLD (and CXX11 CXX14 CXX17 CXX20 CXX23 CXX26)
128
  SHLIB_EXT	file extension (including '.') for shared objects
134
  SHLIB_EXT	file extension (including '.') for shared objects
129
  SHLIB_FFLAGS  additional FFLAGS used when building shared objects
135
  SHLIB_FFLAGS  additional FFLAGS used when building shared objects
130
  SHLIB_LD      command for linking shared objects which contain
136
  SHLIB_LD      command for linking shared objects which contain
131
		object files from a C or Fortran compiler only
137
		object files from a C or Fortran compiler only
132
  SHLIB_LDFLAGS
138
  SHLIB_LDFLAGS
Line 285... Line 291...
285
  fi
291
  fi
286
fi
292
fi
287
query="${MAKE} -s ${makefiles} print R_HOME=${R_HOME}"
293
query="${MAKE} -s ${makefiles} print R_HOME=${R_HOME}"
288
 
294
 
289
ok_c_vars="CC CFLAGS CPICFLAGS CPPFLAGS CC17 C17FLAGS CC23 C23FLAGS CC90 C90FLAGS CC99 C99FLAGS"
295
ok_c_vars="CC CFLAGS CPICFLAGS CPPFLAGS CC17 C17FLAGS CC23 C23FLAGS CC90 C90FLAGS CC99 C99FLAGS"
290
ok_cxx_vars="CXX CXXFLAGS CXXPICFLAGS CXX11 CXX11STD CXX11FLAGS CXX11PICFLAGS CXX14 CXX14STD CXX14FLAGS CXX14PICFLAGS CXX17 CXX17STD CXX17FLAGS CXX17PICFLAGS CXX20 CXX20STD CXX20FLAGS CXX20PICFLAG CXX23 CXX23STD CXX23FLAGS CXX23PICFLAGS"
296
ok_cxx_vars="CXX CXXFLAGS CXXPICFLAGS CXX11 CXX11STD CXX11FLAGS CXX11PICFLAGS CXX14 CXX14STD CXX14FLAGS CXX14PICFLAGS CXX17 CXX17STD CXX17FLAGS CXX17PICFLAGS CXX20 CXX20STD CXX20FLAGS CXX20PICFLAG CXX23 CXX23STD CXX23FLAGS CXX23PICFLAGS CXX26 CXX26STD CXX26FLAGS CXX26PICFLAGS"
291
ok_dylib_vars="DYLIB_EXT DYLIB_LD DYLIB_LDFLAGS"
297
ok_dylib_vars="DYLIB_EXT DYLIB_LD DYLIB_LDFLAGS"
292
ok_objc_vars="OBJC OBJCFLAGS"
298
ok_objc_vars="OBJC OBJCFLAGS"
293
ok_java_vars="JAVA JAVAC JAVAH JAR JAVA_HOME JAVA_LIBS JAVA_CPPFLAGS"
299
ok_java_vars="JAVA JAVAC JAVAH JAR JAVA_HOME JAVA_LIBS JAVA_CPPFLAGS"
294
ok_ftn_vars="FC FFLAGS FPICFLAGS FLIBS FCFLAGS SAFE_FFLAGS"
300
ok_ftn_vars="FC FFLAGS FPICFLAGS FLIBS FCFLAGS SAFE_FFLAGS"
295
ok_ld_vars="LDFLAGS"
301
ok_ld_vars="LDFLAGS"
296
ok_shlib_vars="SHLIB_CFLAGS SHLIB_CXXFLAGS SHLIB_CXXLD SHLIB_CXXLDFLAGS SHLIB_CXX11LD SHLIB_CXX11LDFLAGS SHLIB_CXX14LD SHLIB_CXX14LDFLAGS SHLIB_CXX17LD SHLIB_CXX17LDFLAGS SHLIB_CXX20LD SHLIB_CXX20LDFLAGS SHLIB_CXX23LD SHLIB_CXX23LDFLAGS SHLIB_EXT SHLIB_FFLAGS SHLIB_LD SHLIB_LDFLAGS"
302
ok_shlib_vars="SHLIB_CFLAGS SHLIB_CXXFLAGS SHLIB_CXXLD SHLIB_CXXLDFLAGS SHLIB_CXX11LD SHLIB_CXX11LDFLAGS SHLIB_CXX14LD SHLIB_CXX14LDFLAGS SHLIB_CXX17LD SHLIB_CXX17LDFLAGS SHLIB_CXX20LD SHLIB_CXX20LDFLAGS SHLIB_CXX23LD SHLIB_CXX23LDFLAGS HLIB_CXX26LD SHLIB_CXX266DFLAGS SHLIB_EXT SHLIB_FFLAGS SHLIB_LD SHLIB_LDFLAGS"
297
ok_tcltk_vars="TCLTK_CPPFLAGS TCLTK_LIBS"
303
ok_tcltk_vars="TCLTK_CPPFLAGS TCLTK_LIBS"
298
ok_other_vars="BLAS_LIBS LAPACK_LIBS MAKE LIBnn AR NM RANLIB LTO LTO_FC LTO_LD"
304
ok_other_vars="BLAS_LIBS LAPACK_LIBS MAKE LIBnn AR NM RANLIB LTO LTO_FC LTO_LD"
299
defunct_vars="CPP CXXCPP"
305
defunct_vars="CPP CXXCPP"
300
if test "${R_OSTYPE}" = "windows"; then
306
if test "${R_OSTYPE}" = "windows"; then
301
  ok_win_vars="LOCAL_SOFT R_TOOLS_SOFT COMPILED_BY OBJDUMP"
307
  ok_win_vars="LOCAL_SOFT R_TOOLS_SOFT COMPILED_BY OBJDUMP"