#!/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}"
echo
echo "#endif /* not _CONFIG_H */"
echo
echo "#endif /* not R_CONFIG_H */"