Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 240 lines (202 sloc) 9.277 kb
fa44a2c Initial revision
r authored
1 #! /bin/sh
2
4c3a65d All settings now commented out by default, so that they can be provided
hornik authored
3 ### This file is part of R.
4 ###
5 ### R is free software; you can redistribute it and/or modify it under
6 ### the terms of the GNU General Public License as published by the Free
7 ### Software Foundation; either version 2 of the License, or (at your
f071ddb NEWS
maechler authored
8 ### option) any later version.
4c3a65d All settings now commented out by default, so that they can be provided
hornik authored
9 ###
10 ### R is distributed in the hope that it will be useful, but WITHOUT ANY
11 ### WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 ### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
f071ddb NEWS
maechler authored
13 ### License for more details.
4c3a65d All settings now commented out by default, so that they can be provided
hornik authored
14 ###
15 ### You should have received a copy of the GNU General Public License
ebd9799 change reference to GPL
ripley authored
16 ### along with R; if not, a copy is available at
17 ### http://www.r-project.org/Licenses/
fa44a2c Initial revision
r authored
18
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
19 ## By means of this file you can (also) provide default values for the
20 ## configuration process. To set variables, uncomment the VAR=DEFAULT
21 ## lines and set DEFAULT according to your needs.
05f17e6 mention more configure variables
ripley authored
22 ## See etc/Renviron.in for further variables you may wish to set.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
23
24 ## The command used to spool PostScript files to the printer.
25 ## If unspecified, the system will look for either 'lpr' or 'lp'.
26 ## R_PRINTCMD=lpr
27
28 ## The paper size for the local (PostScript) printer.
29 ## It must either be left blank or set to one of 'a4' or 'letter'.
30 ## If left blank the system will use 'a4'.
31 ## R_PAPERSIZE=a4
32
cefc44e correct documentation of R_BATCHSAVE
ripley authored
33 ## Set the default behavior of R when ending a session
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
34 ## Set this to one of '--save' or '--no-save' depending whether you
35 ## want automatic saving of '.RData' or not.
cefc44e correct documentation of R_BATCHSAVE
ripley authored
36 ## Note that this applies to interactive and batch use,
37 ## but NOT to the utility R CMD BATCH
38 ## (which defaults to --save irrespective of this setting)
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
39 ## R_BATCHSAVE=
40
41 ## The command which runs the C compiler.
42 ## If unspecified, a search is made for gcc and cc (in that order).
43 ## To override this choice, specify the name of the command which runs
5bd0dca update
ripley authored
44 ## the compiler here, for example 'c99'.
f3e48e8 tweaks re change to autoconf 2.60
ripley authored
45 ## It is also convenient to set the architecture here, e.g. 'gcc -m32'.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
46 ## CC=
47
48 ## Debugging and optimization options for the C compiler.
49 ## Use this to specify CFLAGS for the version of the C compiler
50 ## specified above.
f3e48e8 tweaks re change to autoconf 2.60
ripley authored
51 ## If unspecified, defaults to '-g -O2' for gcc,
8c1ad31 add C99-enabling flags to defaults and descriptions
ripley authored
52 ## and '-g' in all other cases except icc (for which see R-admin.html).
53 ## CFLAGS=
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
54
b9b4ae8 add DEFS as a user-settable configure variable
ripley authored
55 ## Defines for C compilation.
56 ## Use this to specify defines to be used in the compilation of R,
57 ## DEFS=
58
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
59 ## The following additional CFLAGS to be used only in the main
496087e use 'shared object' more consistently
ripley authored
60 ## compilation and only in building shared objects respectively.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
61 ## For example, on some systems one needs 'MAIN_CFLAGS=-pg' when
62 ## profiling.
63 ## MAIN_CFLAGS=
64 ## SHLIB_CFLAGS=
65
66 ## Header file search directory ('-IDIR') and any other miscellaneous
8c1ad31 add C99-enabling flags to defaults and descriptions
ripley authored
67 ## options (such as defines) for the C preprocessor and compiler.
44a6c37 Document Fink defaults for CPPFLAGS and LDFLAGS.
hornik authored
68 ## If unset defaults to '-I/usr/local/include', with '-I/sw/include'
69 ## prepended on systems using Fink with root '/sw'.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
70 ## CPPFLAGS=
71
72 ## The command which runs the FORTRAN 77 compiler.
894f686 remove references to F2C
ripley authored
73 ## If this is not specified, a search is made for
74 ## f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran ftn g95
75 ## f90 xlf90 pgf90 pghpf epcf90
76 ## g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77
77 ## On HPUX fort77 is the POSIX compliant FORTRAN compiler, and replaces
78 ## f77 in the search list.
79 ## If CC is gcc, first preference is given to the matching FORTRAN
80 ## compiler (g77 or gfortran).
81 ## If none of these is found, R cannot be compiled.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
82 ## F77=
83
84 ## Options for the FORTRAN 77 compiler.
85 ## Use this to specify FFLAGS for the version of the compiler specified
5487617 mention the need for a C++ compiler for Matrix
ripley authored
86 ## above. If unspecified, defaults to '-g -O2' for g77/gfortran,
87 ## otherwise '-g' if this is accepted, otherwise ''.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
88 ## FFLAGS=
89
535ef1d correct FFLAGS
ripley authored
90 ## Options for safe compilation under the FORTRAN 77 compiler.
4d03105 add SAFE_FFLAGS for use with dlamc.f
ripley authored
91 ## Use this to specify FFLAGS for the version of the compiler specified
92 ## above, using as accurate a result as possible, e.g. no optimization
93 ## or using -ffloat-store.
94 ## SAFE_FFLAGS=
95
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
96 ## The following additional FFLAGS to be used only in the main
496087e use 'shared object' more consistently
ripley authored
97 ## compilation and only in building shared objects respectively.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
98 ## For example, on some systems one needs 'MAIN_FFLAGS=-pg' when
99 ## profiling.
100 ## MAIN_FFLAGS=
101 ## SHLIB_FFLAGS=
102
103 ## The command to be used to load the main R binary.
104 ## This is usually the FORTRAN 77 or C compiler, but the automatic
105 ## choice can be overriden by means of this variable.
106 ## MAIN_LD=
107
108 ## The flags which are necessary for loading main program which will
109 ## load DLLs at runtime. HP-UX and Linux-elf are examples of platforms
110 ## which use this. These platforms are already taken care of by
111 ## configure, and anything set here will be in addition unless MAIN_LD
112 ## is given.
113 ## For example, one can set flags for profiling here.
114 ## MAIN_LDFLAGS=
115
116 ## Any special flags which must be used when compiling C code to be
496087e use 'shared object' more consistently
ripley authored
117 ## turned into a shared object. This is typically something like
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
118 ## '-fpic' or '-fPIC'. If this variable is left unspecified an attempt
5bd0dca update
ripley authored
119 ## is made to automatically detect the correct value.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
120 ## CPICFLAGS=
121
122 ## The following variable can be used to provide any PIC flags for the
5bd0dca update
ripley authored
123 ## FORTRAN 77 compiler. If this variable is left unspecified an
124 ## attempt is made to automatically detect the correct value.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
125 ## FPICFLAGS=
126
e198c2e add (and use) DYLIB_* variables
ripley authored
127 ## The command to be used to create shared objects which contain object
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
128 ## files from a C or FORTRAN 77 compiler only. This is usually the C
129 ## compiler or 'ld', but the automatic choice can be overridden by means
130 ## of this variable.
131 ## SHLIB_LD=
132
133 ## Any special flags which are required by the linker when creating
e198c2e add (and use) DYLIB_* variables
ripley authored
134 ## shared objects containing object files from a C or FORTRAN 77
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
135 ## compiler only. This is usually automatically detected by configure,
136 ## and anything set here will be in addition unless SHLIB_LD is given.
137 ## SHLIB_LDFLAGS=
138
e198c2e add (and use) DYLIB_* variables
ripley authored
139 ## ditto for a dynamic library: DYLIB_LDFLAGS defaults to SHLIB_LDFLAGS
140 ## DYLIB_LD=
141 ## DYLIB_LDFLAGS=
142
09524ba make use of lib64 where appropriate
ripley authored
143 ## The appropriate 'lib' dir, normally 'lib', but 'lib64' on Linux on
144 ## x86_64, mips64, ppc64, sparc64, s390x but not ia64.
145 ## LIBnn=
146
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
147 ## Stripping ('-s'), path ('-L'), and any other miscellaneous options
148 ## for the linker.
44a6c37 Document Fink defaults for CPPFLAGS and LDFLAGS.
hornik authored
149 ## '-L' options set here will be prepended to LD_LIBRARY_PATH (or its
150 ## system equivalent) at run time.
151 ## If unset defaults to '-L/usr/local/lib', with '-L/sw/lib' prepended
152 ## on systems using Fink with root '/sw'.
09524ba make use of lib64 where appropriate
ripley authored
153 ## On some Linux 64-bit systems its default is -L/usr/local/lib64.
154 ## If LIBnn is set it defaults to -L/usr/local/$LIBnn.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
155 ## LDFLAGS=
156
1b81f7c add support for F95 source files in packages
ripley authored
157
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
158 ## The command which runs the C++ compiler. It not specified, configure
159 ## uses the values of the environment variables 'CXX' or 'CCC' if set,
160 ## and then looks under the names 'c++', 'g++', 'gcc', 'CC', 'cxx', and
161 ## 'cc++' (in that order).
162 ## CXX=
163
164 ## Options for the C++ compiler.
165 ## CXXFLAGS=
166
167 ## Any special flags which must be used when compiling C++ code to be
496087e use 'shared object' more consistently
ripley authored
168 ## turned into a shared object. If this variable is left unspecified
5bd0dca update
ripley authored
169 ## an attempt is made to automatically detect the correct value.
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
170 ## CXXPICFLAGS=
171
496087e use 'shared object' more consistently
ripley authored
172 ## The command to be used to load shared objects which contain object
173 ## files from the C++ compiler. This is usually the C++ compiler/linker,
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
174 ## but the automatic choice can be overridden by means of this
175 ## variable.
176 ## SHLIB_CXXLD=
177
496087e use 'shared object' more consistently
ripley authored
178 ## Any special flags which are required when creating shared objects
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
179 ## containing object files from a C++ compiler. This is usually
180 ## automatically detected by configure, and anything set here will be in
181 ## addition unless SHLIB_CXXLD is given.
182 ## SHLIB_CXXLDFLAGS=
183
1b81f7c add support for F95 source files in packages
ripley authored
184
185 ## FORTRAN 95 compiler: optional for use in packages.
186 ## Analogous to the F77 and CXX settings.
187 ## FC=
188 ## FCFLAGS=
189 ## FCPICFLAGS=
60dfc96 use shell-style ${}
ripley authored
190 ## SHLIB_FCLD=${FC}
1b81f7c add support for F95 source files in packages
ripley authored
191 ## Unlike SHLIB_CXXLDFLAGS, SHLIB_FCLDFLAGS is never additional
60dfc96 use shell-style ${}
ripley authored
192 ## SHLIB_FCLDFLAGS=${SHLIB_LDFLAGS}
87baffe set FCLIBS at configure time, more on Solaris
ripley authored
193 ## Additional libraries needed to link a shared object, e.g. on x86 Solaris
194 ## FCLIBS=
1b81f7c add support for F95 source files in packages
ripley authored
195
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
196 ## Tcl/Tk settings.
197 ## Use TCLTK_LIBS for all '-L' and '-l' options needed for linking
198 ## against the Tcl and Tk library.
199 ## TCLTK_LIBS=
200 ## Use TCLTK_CPPFLAGS for all '-I' options needed for finding the tcl.h
201 ## and tk.h headers.
202 ## TCLTK_CPPFLAGS=
203
391764a branch update
ripley authored
204 ## Browser default
205 ## Default setting for the R_BROWSER env variable
206 ## If unset configure searches in turn for (currently)
5bd0dca update
ripley authored
207 ## firefox mozilla galeon opera xdg-open kfmclient gnome-moz-remote open
391764a branch update
ripley authored
208 ## and uses the full path.
209 ## R_BROWSER=
210
211 ## BLAS and LAPACK settings
212 ## Use BLAS_LIBS for all '-L' and '-l' options needed for linking
213 ## against an external BLAS implementation.
214 ## BLAS_LIBS=
215 ## Use LAPACK_LIBS for all '-L' and '-l' options needed for linking
216 ## against an external LAPACK implementation.
217 ## Note that (see R-admin) that our main intention is to allow a
218 ## LAPACK-containing BLAS to be used, so this is rarely needed, and
219 ## it is not used if the BLAS already contains LAPACK.
220 ## LAPACK_LIBS=
221
3f2ed57 Use LDFLAGS rather than LIBS for '-L' flags needed.
hornik authored
222 ## Make name.
223 ## Set this if you want to use a make by another name.
224 ## For example, if your GNU make is called 'gmake', use 'MAKE=gmake'.
225 ## MAKE=
05f17e6 mention more configure variables
ripley authored
226
227 ## Tar name
228 ## Set this to prefer a tar which has the capability to automagically
5bd0dca update
ripley authored
229 ## read compressed archives. The default is to choose 'gtar' or
230 ## 'gnutar'(normally GNU tar) then 'tar'.
231 ## Note that 'bsdtar' (from the libarchive project) is known to create
232 ## archives in a non-POSIX format that untar() cannot read,
233 ## so should be avoided.
05f17e6 mention more configure variables
ripley authored
234 ## TAR=
4f4c61a tweak the handling of R_LD_LIBRARY_PATH
ripley authored
235
236 ## Library path
237 ## This is be default created from libraries added to LIBS.
238 ## Allow user to override.
239 ## R_LD_LIBRARY_PATH=
Something went wrong with that request. Please try again.