On Jan 10, 2008 8:09 AM, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
>
> On Jan 10, 2008 5:16 AM, Francesco Montorsi <[EMAIL PROTECTED]> wrote:
>
> > Hi all!
> >    sorry for not being very active recently but my university courses
> > are much more difficult this year and leave me very few free time...
> >
> > John Labenski ha scritto:
> >
> > > I have been able to learn enough about automake to have configure
> > > correctly identify the existence of the wxWidgets libs and link only
> > > to those that exist.
> > just to be sure, did you mean automake or autoconf? The build system as
> > I remember it, always used only the latter.

Sorry, I do not know the difference.

> > >The second part is to automatically disable the
> > > building of the wxLua bindings for those libs and not link to them for
> > > the wxLua apps that is now giving me a headache.
> > great. Which file did you modify to get this smart behaviour?

I copied the check for STC in configure.ac for AUI, ADV, etc...

> > > The problem is how to
> > > make Bakefile play nicely with automake, but also work with the MSW
> > > compilers. I think I have something that almost works. The Makefile
> > > that configure generates to build the wxLua apps is correct, but the
> > > wxLua modules Makefile is messed up.
> > > I cannot see why Bakefile is
> > > still generating identical linker code for both even though they are
> > > independently defined, but I should hopefully be able to disentangle
> > > them.
> > I'll have a look at it.

I haven't commited yet since it doesn't work at all, but I think I'm
almost there.

I copied the bakefile code for autoconf in wx_unix.bkl the

<define-tag name="wx-lib" ...>
    <ldlibs>$(WX_LIBS)</ldlibs>

into wxluabase.bkl, for cond "FORMAT"=='autoconf' leaving the
wxlua-lib the same for all other formats.

<define-tag name="wxlua-lib" ...>
    <ldlibs>$(WXLUA_LIBS)</ldlibs>

So now wxlua-lib always uses $(WXLUA_LIBS) for autoconf which is built
like WX_LIBS in configure.ac. For the modules we need to exactly
specify what to link to so I am creating wxluamodule-lib which is a
copy of the non-autoconf wxlua-lib.

> > Also, which bakefile version are you using?

I'm using frm-bakefile.tar.gz 1995295 bytes at sf for wxlua in htdocs/bakefile.

> > 0.2.3 will be released very soon (SF contains 0.2.3 RC1). It contains my
> > patch which allows wxLua to use wxWidgets presets and rename the
> > WX_DEBUG option to BUILD and WX_UNICODE to UNICODE.
> > Unfortunately it still lacks the very last bit required by wxLua
> > bakefiles: http://www.bakefile.org/ticket/138 which is required for
> > correct installation of wxLua headers on Unix machines.

Great.

> > PS: in future if you need some build system modification, could you
> > please post to this list a message like "[build] xxx" where you explain
> > which feature/bugfix you need? It would be much easier for me that way
> > as otherwise I need to browse tons of unread messages and I really don't
> > have the time for that... :(
>  This is all great news. Thanks for the effort. I will be waiting eagerly.

Ok thanks Francesco. I will write back after the changes, hopefully
successful, and try to cleanup the differences to a bare minimum.

Thanks I'll write back when I commit or get stuck,
    John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to