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. 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. 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.
In the end you should be able to run "configure" and it will autodetect and create as many of the bindings as you've got wxWidgets libs. Or, you should be able to disable any number of the bindings using --enable-wxbindaui=no for example. The minimum wxWidgets build will require wxbase and wxcore only. Perhaps by the weekend? Regards, 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