Again on version numbering



Hi everyone,
using autoconf, I've been able to know whether I'm using gtkmm 2.4 or
2.6 via the macro PKG_CHECK_MODULES, in the following way (found in
the archives of the ML):

PKG_CHECK_MODULES(DEPS, gtkmm-2.4 >= 2.6, GTKMM_VER=26, 
	[PKG_CHECK_MODULES(DEPS, gtkmm-2.4 >= 2.4,GTKMM_VER=24)])

Now the macro GTKMM_VER holds 24 or 26, and I can use it in my code. 
The question I have is: why the .pc file is named 'gtkmm-2.4' for both
versions?

My guess is that api breakage need a number change, and maybe from 2.4
to 2.6 there isn't a major breakage, but only some new features.

Is that right?

-- 
[ Andrea Spadaccini - a.k.a. Lupino/Lupin85 - Catania - ICQ#: 91528290 ]
[ GPG ID: 5D41ABF0 - key @ pgp.mit.edu - Slackware 10.1 w/Linux 2.4.22 ]
[ Linux User # 313388 - MAIL: a.spadaccini(at)catania(dot)linux(dot)it ]

Attachment: pgp3J7Vx8YKP1.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]