doesn't that take out all the fun of that work ;) anyway, re nuking TS_MICRO: +1 from me.
----- Original Message ----- > Don't know if everyone knows about unifdef. It is a great tool for > removing ifdef'ed code. I used it to nuke a lot of the specialized > code in TS before it was open sourced. With one command you can > nuke a bunch of code. > > http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=unifdef > > -Bryan > > On Jul 29, 2013, at 8:06 PM, Leif Hedstrom <zw...@apache.org> wrote: > > > On 7/30/13 1:29 AM, James Peach wrote: > >> On Jul 29, 2013, at 3:13 PM, Leif Hedstrom <zw...@apache.org> > >> wrote: > >> > >>> Hi all, > >>> > >>> long story short, I'd like to nuke the TS_MICRO options, and > >>> whatever other options that were only exposed through TS_MICRO. > >>> I think this is a useless feature today, and it doesn't even > >>> work (won't build). > >> Agreed. If there are specific options that people are willing to > >> maintain (eg. --disable-ssl), then we can support those. > >> > >> J > > > > The code in ink_config.h is: > > > > > > #if TS_IS_MICRO_BUILD > > # define TS_MICRO 1 > > # define INK_NO_ACL 1 > > # define INK_NO_CLUSTER 1 > > # define TS_USE_DIAGS 0 > > # define INK_NO_HOSTDB 1 > > # define INK_NO_ICP 1 > > # define INK_NO_LOG 1 > > # define INK_NO_SOCKS 1 > > # define INK_NO_STAT_PAGES 1 > > # define INK_USE_MUTEX_FOR_ATOMICLISTS 1 > > #endif > > > > > > Of these TS_MICRO related #ifdef's, only TS_USE_DIAGS an be enabled > > / disabled through configure. So, unless I hear otherwise, this > > TS_MICRO nuke also implies nuking all these INK_ defines as well > > (since they are useless without TS_MICRO). > > > > -- Leif > > > > -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE