On Wed, Feb 11, 2004 at 07:27:52AM -0500, Benjamin Reed wrote: > > Wouldn't it make more sense to maybe do something as a preprocessor > stage or something like that rather than adding even more new and > unusual syntax? > > Since you can have carriage returns in depends and stuff now (at least I > think you can) you could do: > > Depends: << > #if PERL_VERSION = 5.8.1 > thing-pm, > #endif > #ifdef X11 > foo, > #else > foo-nox, > #endif > bar > << > > It's still not pretty, but it at least lets people bootstrap off a lot > of existing domain knowledge of the C preprocessor. And we wouldn't > even have to write anything new, we just have to call cpp with the right > -D's for everything fink "provides" and everything is done for us.
I thought cpp only comes with DevTools. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel