Syntax for version string testing

Enrico Weigelt weigelt at metux.de
Sun Apr 6 10:18:36 PDT 2008


* Pawe? Ró?a?ski <pawel.rozanski at gmail.com> schrieb:

Hi,

> I'm preparing a lib release. The question is doest pkg-config
> --atleast-version works for some of rc or pre notation ? eg
> 
> 1.0.0 >= 1.0rc0

Actually, I'm *totally* against those versions - it makes more
trouble than it's worth at all.

Better use an simple numeric vector, maybe "1.0.1.0" instead
of "1.0rc0".

> Is there any way to express version 'before' 1.0.0 but not by 0.9.9 string?

Why exactly should this be needed ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


More information about the pkg-config mailing list