From: John L. <jla...@gm...> - 2006-10-23 18:55:45
|
On 10/23/06, Francesco Montorsi <f18...@ya...> wrote: > > There's something at the end of build/configure.ac, but I don't > > understand it at all. > > > > # argument 1: here put the minimum required version of wx > > # argument 2: here you must put a comma-separed list of all wx > > required libraries > > # except for base,core (e.g. "xml,net,adv"); leave empty > > if you use only core & base > > AM_WXCODE_CHECKS([2.4.0], []) > yes exactly!! > this is where you should add the list of wx libs you need for autoconf > format; e.g.: > > AM_WXCODE_CHECKS([2.4.0], [stc,html,adv]) > > The comments look clear to me since I wrote them :D > What exactly is unclear in it? Maybe that same (e.g. "xml,net,adv") is a > little misleading? Probably nothing is unclear, I just assumed that everything was done though the bakefile and I didn't even think to edit anything else. > >but it looks like it just checks for stuff and doesn't > > actually set any libs. > it does a lot of stuff actually - it detects the installed wx builds on > the user's system, looks at the configure options given by the user and > then tries to find a good matching eventually giving out a nice error > message. > > The libraries which it substitutes to WX_LIBS are those passed to > AM_WXCODE_CHECKS + base,core as documented. Ok, all done it compiles just fine in linux now. Thanks! John Labenski |