File: GETCONFIG

package info (click to toggle)
r-base 4.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 112,924 kB
  • sloc: ansic: 291,338; fortran: 111,889; javascript: 14,798; yacc: 6,154; sh: 5,689; makefile: 5,239; tcl: 4,562; perl: 963; objc: 791; f90: 758; asm: 258; java: 31; sed: 1
file content (51 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ${R_HOME}/tools/GETCONFIG

echo "/* Rconfig.h.  Generated automatically */"
echo "#ifndef R_RCONFIG_H"
echo "#define R_RCONFIG_H"
echo
echo "#ifndef R_CONFIG_H"
echo
line=`grep "HAVE_F77_UNDERSCORE" config.h`
echo "${line}"
echo "/* all R platforms have this */"
line=`grep "IEEE_754" config.h`
echo "${line}"
line=`grep "WORDS_BIGENDIAN" config.h`
echo "${line}"
line=`grep "R_INLINE" config.h`
echo "${line}"
line=`grep "HAVE_VISIBILITY_ATTRIBUTE" config.h`
echo "${line}"
echo "/* all R platforms have the next two */"
echo "#define SUPPORT_UTF8 1"
echo "#define SUPPORT_MBCS 1"
line=`grep "ENABLE_NLS" config.h`
echo "${line}"
line=`grep "HAVE_AQUA" config.h`
echo "${line}"
echo "/* Enable the use of Fortran character lengths,"
echo "   e.g. in BLAS.h and Lapack.h */"
echo "#ifndef DONT_USE_FC_LEN_T"
line=`grep "FC_LEN_T" config.h`
echo "${line}"
echo "#endif"
echo
echo "#define PR18534fixed 1"
echo
echo "/* NB: the rest are for the C compiler used to build R:"
echo "   they do not necessarily apply to a C++ compiler */"
line=`grep "SIZEOF_SIZE_T" config.h`
echo "${line}"
line=`grep "HAVE_ALLOCA_H" config.h`
echo "${line}"
echo "/* optional C99 type */"
line=`grep "HAVE_UINTPTR_T" config.h`
echo "${line}"
echo "/* C23 (or clang) extension */"
line=`grep "HAVE_ENUM_BASE_TYPE" config.h`
echo "${line}"
echo
echo "#endif /* not R_CONFIG_H */"
echo
echo "#endif /* not R_RCONFIG_H */"