version string comparison

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

 



In GNUnet configure.ac, there is the fragment:

 # test for libunistring
 gl_LIBUNISTRING
 AS_IF([test "x$gl_libunistring_hexversion" = "x" || test "$gl_libunistring_hexversion" -le 2305],
       [AC_MSG_ERROR([GNUnet requires libunistring >= 0.9.1.1])])

that uses the var ‘gl_libunistring_hexversion’ which is
undocumented (IIUC).  OTOH, var ‘LIBUNISTRING_VERSION’ is
indeed documented, and has value something like "0.9.10".

Is there any Autoconf support for comparing these two version
strings: "0.9.1.1" and "0.9.10"?

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2021) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux