File: GETCONFIG

package info (click to toggle)
r-base 2.1.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,944 kB
  • ctags: 23,283
  • sloc: ansic: 200,913; fortran: 68,557; sh: 12,127; perl: 8,510; makefile: 5,810; tcl: 2,953; yacc: 2,077; java: 455; asm: 268; sed: 16
file content (31 lines) | stat: -rwxr-xr-x 685 bytes parent folder | download
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
#!/bin/sh
#
# ${RHOME}/tools/GETCONFIG

echo "/* Rconfig.h.  Generated automatically */"
echo "#ifndef R_CONFIG_H"
echo "#define R_CONFIG_H"
echo
echo "#ifndef _CONFIG_H"
echo
line=`grep "HAVE_F77_UNDERSCORE" config.h`
echo "${line}"
line=`grep "IEEE_754" config.h`
echo "${line}"
line=`grep "WORDS_BIGENDIAN" config.h`
echo "${line}"
line=`grep "HAVE_WORKING_ISFINITE" config.h`
echo "${line}"
line=`grep "R_INLINE" config.h`
echo "${line}"
## temporary
line=`grep "SUPPORT_UTF8" config.h`
echo "${line}"
line=`grep "SUPPORT_MBCS" config.h`
echo "${line}"
line=`grep "ENABLE_NLS" config.h`
echo "${line}"
echo
echo "#endif /* not _CONFIG_H */"
echo
echo "#endif /* not R_CONFIG_H */"