Re: [Xbae-discuss] Non-debug library
Brought to you by:
dannybackx
From: James E. F. <jf...@ac...> - 2002-11-23 20:30:02
|
Cool. Those patches are just about identical to the ones I was going to send you. :-) By the way, what version of autoconf et al are you using? -James On Sat, 23 Nov 2002, Danny Backx wrote: > That should indeed be sufficient. > > Do note that the debug code is not all that much of a performance > penalty. The first thing it does is check the existance of > a macro (which you can set with > setenv XBAE_DEBUG_SOURCES Methods.c:Matrix.c > ), then it checks whether the current debug statement > is from a source in the list, etc. > > But indeed, what you say will do the trick. > > I've just committed some stuff to CVS, hopefully that > works for you. > > Danny > > "James E. Flemer" wrote: > > > > [ Not subscribed. Please CC. ] > > > > I saw in the archives that the DEBUGOUT() etc was taken > > from lesstif, and that there is no --enable-production flag > > for configure yet. It seems that the debug stuff was > > changed at least 7 months ago (6 releases ago). I'd like to > > build the library without the debug code. It looks like all > > I'd need to do is patch configure.in and acconfig.h to > > define LESSTIF_PRODUCTION (or do it by hand). Will that be > > sufficient? Is there anything else I need to do/check? If I > > do it the real way (autoconf) I'll send a patch. > > |