[Kwintv] LAUNDRY: libzvbi autoconf check

George Staikos kwintv@mail.kde.org
Sat, 29 Mar 2003 14:05:11 -0500


On Thursday 27 March 2003 17:58, Neil Macvicar wrote:
> I had a look at cleaning this bit of laundry, and discovered that although
> the header file libzvbi.h contains defines for MAJOR,MINOR,MICRO, the
> compiled library has no symbol for discovering it's version. This of course
> leads to the following:
>
> 1. What is broken in the versions of libzvbi that we want to discard ? Is
> it containable within the header, i.e a function prototype change, new
> functionality, or an actual code feature ? If it's a code feature, the only
> way to check for a version of libzvbi that we can rely upon at the moment
> is to do a compile-run-fail test.

   Yes right now it's only a header issue.  You're right, I'm just too busy. 
:)

> 2. If the reasoning for this check is library code based, I'll ask the
> maintainer of libzvbi to commit a patch that includes the libraries version
> in the symbol table somewhere. This is more sane, and avoids header/library
> versioning mismatches.

   That would be a good idea in any case.

-- 

George Staikos