Commit bae61c8a authored by Radford Neal's avatar Radford Neal

more tweak of GETCONFIG for Windows

parent ca209827
......@@ -35,7 +35,7 @@ psignal.h: ../gnuwin32/fixed/h/psignal.h
@cp $< $@
Rconfig.h: config.h $(R_HOME)/tools/GETCONFIG
@sh $(R_HOME)/tools/GETCONFIG > Rconfig.h
@sh $(R_HOME)/tools/GETCONFIG $(WIN) > Rconfig.h
@sh $(R_HOME)/tools/GETVERSION > $@
......@@ -31,10 +31,10 @@ echo "${line}"
# Special fudge needed because the 'grep' idea doesn't work if config.h
# contains multiple definitions with conditions.
if test x$WIN = x32; then
if test x$1 = x32; then
echo "#define SIZEOF_SIZE_T 4"
echo "#define SIZEOF_CHAR_P 4"
elif test x$WIN = x64; then
elif test x$1 = x64; then
echo "#define SIZEOF_SIZE_T 8"
echo "#define SIZEOF_CHAR_P 8"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment