gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 01/02: fix #6722: use AX_COMPARE_VERSION


From: gnunet
Subject: [gnunet] 01/02: fix #6722: use AX_COMPARE_VERSION
Date: Sat, 30 Jan 2021 14:42:25 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository gnunet.

commit de1b87ea351b7cf33751df45e044b895c0ef4bd5
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Sat Jan 30 08:37:12 2021 -0500

    fix #6722: use AX_COMPARE_VERSION
    
    Also, the var ‘gl_libunistring_hexversion’ is not documented,
    so we switch to ‘LIBUNISTRING_VERSION’, which is.
---
 configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index eca988bb3..2f1184296 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1261,8 +1261,9 @@ gl_LIBUNISTRING
 AS_IF([test $HAVE_LIBUNISTRING != yes],
       [AC_MSG_ERROR([GNUnet requires 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])])
+AX_COMPARE_VERSION([$LIBUNISTRING_VERSION],[le],[0.9.1.1],
+  [AC_MSG_ERROR([GNUnet requires libunistring >= 0.9.1.1])])
+
 AC_CHECK_HEADERS([unistr.h],
                  ,
                  AC_MSG_ERROR([Compiling GNUnet requires unistr.h (from 
libunistring) to be installed]))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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