[gst-devel] [gst-cvs] common: split out version functions; add libtool_2_2 check

Thomas Vander Stichele thomas at apestaart.org
Tue Jun 9 15:27:53 CEST 2009


> > +libtool_2_2_gettext_check ()
> > +{
> > +  # libtool 2.2 needs autopoint 0.17 or higher
> > +  if test $LIBTOOLIZE_MAJOR -ge 2 && test $LIBTOOLIZE_MINOR -ge 2
> 
> The above test will fail when libtool 3.0 is released...
> The correct test is:
> 
>   if test $LIBTOOLIZE_MAJOR -gt 2 || (test $LIBTOOLIZE_MAJOR -eq 2 && test $LIBTOOLIZE_MINOR -ge 2)


You're right, thanks for spotting!

Instead, I changed that check to use version_compare, and added some
debugging.

Commit bffb649ecb593136b80f134c6544d3bb9729a5e6

Thanks,
Thomas

-- 
Another Love Song
That is written
Still nothing said
--
URGent, best radio on the net - 24/7 !
http://urgent.fm/




More information about the gstreamer-devel mailing list