[botan-devel] specific version for botan-config and pkgconfig

Jeremy C. Reed reed at reedmedia.net
Wed Aug 24 10:12:05 EDT 2011


(I didn't recall getting any followup so I am posting again. I didn't 
register for the bug tracker. I see gentoo now has a bug on this too, 
but there suggested work-around has the same issue -- don't know 
version so can't get flags.)

On Tue, 24 May 2011, Jeremy C. Reed wrote:

> Normally a configure scripts would use the generic name 
> "botan-config" to find out details, but since:
> 
>   Revision: 76cf44edb8490685708fbaef5899e551954c27cf
>   Date: 05/12/11 12:56:46
> 
> (I think) this now has a specific name. I can understand how the 
> versioned binary helps some, but now may break many.
> 
> On my main system I have 60 "foo-config" style scripts. Of these 14 have 
> versioned names.
> 
> I may adjust my projects configure.ac to also check for 
> botan-config-1.9, but that means I will need to maintain this for later 
> versions too. But maybe that is a good idea to force me to confirm it 
> works first. Any thoughts on this?
> 
> Maybe a symlink should be there? And if some packager does not want it, 
> they can disable that symlinking?
> 
> On a related note, the pkgconfig file has same problem -- for example 
> "pkg-config --libs botan" does not work -- need specific version 
> like: "pkg-config --libs botan-1.9".
> 
> On my system I have at least 259 .pc files. Of those, around 82 have 
> versions as part of filenames -- but even of those they are very 
> different APIs, so only a few are specific (like botan-1.8.pc).
> 
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel



More information about the botan-devel mailing list