----- Original Message ---- From: "Martin Stjernholm, Roxen IS @ Pike developers forum" 10353@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Wednesday, June 10, 2009 2:00:06 PM Subject: Re: pike -x module
I think the core issue here is separating the defines and flags that belong to the pike ABI, which should be distributed with Pike, and those that belong to the rest of the compilation environment, which should not.
The "old style" distributes too much. What the "new style" does I don't really know, but a particularly tricky area is all the defines in machine.h. It is a mixture of stuff that defines the ABI (e.g. INT_TYPE, DO_PIKE_CLEANUP, PIKE_DEBUG) and results from ordinary configure tests (e.g. HAVE_*). How does the "new style" handle this?
------------
Is there an example I should follow for the new style? Or just stick with the old style? I'm going to be writing a C module (not a cmod).