Ok, starting over, the wxStEdit bakefiles are updated to the ones in
wxCode/build and I've regenerated everything using bakefile 0.2.0 in
MSW using the prebuilt exe. Committed and did a checkout in linux and
ran acregen.sh to get a new configure.

The problem is that in components/wxstedit/build/wxstedit.bkl I have
specified the libs to link to, but they do not get put into
Makefile.in or perhaps configure by bakefile or perhaps
autoconf_inc.m4.

These are libs the exe should link to.
      <library>stedit_lib</library>
      <wx-lib>stc</wx-lib>
      <wx-lib>html</wx-lib>
      <wx-lib>adv</wx-lib>
      <wx-lib>core</wx-lib>
      <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->

These are the libs it does link to using configure's generated Makefile.

WX_LIBS = -L/home/john/wx/wxWidgets/wxCVS/wxWidgets/config_gtk2_debug/lib
-pthread   
-Wl,-rpath,/home/john/wx/wxWidgets/wxCVS/wxWidgets/config_gtk2_debug/lib
-lwx_gtk2ud_core-2.7 -lwx_baseud-2.7

Makefile.in has
    WX_LIBS = @WX_LIBS@

so configure must generate them, right? configure has this
    WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
where
    WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCFG_FLAGS
$WX_ADDITIONAL_LIBS"

BUT! This looks hardcoded in configure
              WX_ADDITIONAL_LIBS=",core,base"

I don't see where any other libs can be put into WX_ADDITIONAL_LIBS?

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], [])

this is in wxCode/build/autoconf/wxcode.m4 and only calls
AM_WXPRESETS_FULL in wxCode/build/autoconf/wxpresets.m4 which is
rather cryptic, but it looks like it just checks for stuff and doesn't
actually set any libs.


Thanks for any help,
     John Labenski

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to