Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (33 sloc) 0.867 kb
# ${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 */"
Jump to Line
Something went wrong with that request. Please try again.