exporting host information
Matt Small <[email protected]> Mon, 12 Aug 2002 19:26:38 -0700
| Newsgroups | gmane.network.beep.beepcore.c.general |
|---|---|
| Message-ID | <[email protected]> |
Another issue that's come up for us recently... configure defines the specific platform information that several headers need (like -DLINUX or -DSUNOS). However, this state isn't exported, so programs using the library have to reimplement the same checking code, with the same -D command line options. I'm thinking that a better solution for this would be a config.h, generated by autoconf, that both beepcore-c and programs linking in beepcore-c could use. If I put this together, would you all be interested? Is there a different way that would be preferable? -matt ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31