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