Paul Eggert wrote: >I installed the following; would you like to give it a try? > >2005-06-16 Paul Eggert <[EMAIL PROTECTED]> > > * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro. > (AS_VERSION_COMPARE): New macro. The API is taken from CVS, > but the implementation is entirely different and is designed > to be compatible with glibc strverscmp. > * tests/m4sh.at (AS_VERSION_COMPARE): New test. > >
I replaced the internal ASX_VERSION_COMPARE in CVS with this new function and it appears to do the trick with a simple 1.2.2 > 1.2.1.2 comparison for out zlib. It looks like your tests will cover more complex cases. I won't install this in CVS permanently until AS_VERSION_COMPARE ships with an official Autoconf release. Thanks! Regards, Derek
