Re: Re: libofx version number in CVS?
ace jones <[email protected]> Sat, 13 Aug 2005 22:21:42 -0700
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2005-08-13 at 22:02, Martin Preuss wrote: > Hi, > > On Sunday 14 August 2005 05:22, ace jones wrote: > [...] > > Hey guys, sorry for the n00b question... Package management is still a > > little hazy for me. How do I go about requiring a specific version of > > libofx? > [...] > Do you mean in configure scripts or in RPM packages? Thanks for the details, Martin. I guess I meant in configure scripts. > In configure scripts I just check for the member "brokerId" in "struct > OfxAccountInfo" (because I know that you added it just before the release of > 0.8.0, so if that struct contains this member then it must be 0.8.0 or > better). Ok, I do the same thing as you. I just pick something (in my case a function call) that I know only exists in the required version. The 0.8.0 versus 0.7.99 doesn't affect us in the configure scripts currently, it sounds like. So it only matters in RPM's? > However, maybe it would be best if LibOfx provided a means to check for the > version of an installed Libofx (either by providing an m4-file, a pkg-config > description file or a libofx-config script). I would vote for pkg-config. This seems to be the easiest-to-use of the libraries I've dealt with. </Ace> ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf