Skip to content
Prev 14236 / 398506 Next

R-package and configure

Dear R-helpers,



I have been trying to use the 'configure' feature offered to package
writters... but could make it work.
The matter may have been discussed before, and a rtfm answer with the
place the answer is found is perfect (but I read the 'writing R
extensions' manual).

The problem is:

In my C code I have code conditional to a defined macro. I used autoconf
the naive way (I am not an autoconf wizard) but the Makefile generated
seems of no use. Forgetting the use of something like 'DEFS=@DEFS@' I
tried to append say ' -DHAVE_ZLIB' to the 'CFLAGS' variable but it did
not give anything.
(note: I am using R-1.3.0... I plan to update)

Any idea ? 


Thanking in advance...




Laurent