File: GETCONFIG

package info (click to toggle)
r-base 3.1.1-1%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 85,436 kB
  • ctags: 35,389
  • sloc: ansic: 306,779; fortran: 91,908; sh: 11,216; makefile: 5,311; yacc: 4,994; tcl: 4,562; objc: 746; perl: 655; asm: 553; java: 31; sed: 6
file content (34 lines) | stat: -rw-r--r-- 867 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
# ${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}"
line=`grep "SUPPORT_OPENMP" config.h`
echo "${line}"
line=`grep "SIZEOF_SIZE_T" config.h`
echo "${line}"
echo
echo "#endif /* not R_CONFIG_H */"
echo
echo "#endif /* not R_RCONFIG_H */"