autoconf
[Top][All Lists]
Advanced

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

version string comparison


From: Thien-Thi Nguyen
Subject: version string comparison
Date: Sat, 30 Jan 2021 07:05:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]