# ${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 echo "#endif /* not R_CONFIG_H */" echo echo "#endif /* not R_RCONFIG_H */"