Francesco Montorsi ha scritto: > John Labenski ha scritto: >> On 8/31/06, John Labenski <[EMAIL PROTECTED]> wrote: >>> I have to give up now, since I cannot get the <wx-lib>adv</wx-lib> to >>> get added to the Makefile.in and GNUmakefile. Same for html or any >>> other wxlib. >> I think I found the problem. In build/autoconf/wxpresets.m4 we have >> >> AC_DEFUN([AM_WXPRESETS], >> ... >> WX_ADDITIONAL_LIBS="$2,core,base" >> >> I don't understand the syntax just yet, but for some reason $2 is not >> getting filled with any of the other wxlibs you set in the bakefile. >> Like these : >> <wx-lib>html</wx-lib> >> <wx-lib>adv</wx-lib> >> >> so that in GNUmakefile for example you only get >> `$(WX_CONFIG) --libs core,base` >> >> Sorry I can't fix this myself, but I'm slowly trying to learn this stuff. > everything is right. $2 comes from the 2nd argument of the > AM_WXCODE_CHECKS([2.4.0], []) > macro in the 'configure.ac' of each component. > > There are comments which should help to understand how to use it in all > configure.ac files of wxCode. Adding the "adv,html" there will fix > autoconf format. Another thing: if you have a dependency from a wxCode component X in your component Y you may want to use the AM_WXCODE_CHECKFOR_COMPONENT() autoconf macro in the configure.ac of the component Y to check for presence / usability of the component X.
See wxcodechecks.m4 for more info. HTH, Francesco ------------------------------------------------------------------------- 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