[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 01/02: ignore tautologies; check is necessary
From: |
gnunet |
Subject: |
[gnunet] 01/02: ignore tautologies; check is necessary |
Date: |
Wed, 06 May 2020 12:00:03 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 331a6079913db5e630c113b0e022c9587499d177
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed May 6 11:54:44 2020 +0200
ignore tautologies; check is necessary
---
configure.ac | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/configure.ac b/configure.ac
index b0bc471f4..089f0493c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,6 +97,9 @@ AC_DEFUN([CC_CHECK_CFLAG_APPEND], [
# We make heavy use of this, llvm/gcc and gcc-9 give warnings so disable.
CC_CHECK_CFLAG_APPEND([address-of-packed-member])
+# We make heavy use of this, llvm/gcc and gcc-9 give warnings so disable.
+CC_CHECK_CFLAG_APPEND([tautological-constant-out-of-range-compare])
+
# Use Linux interface name unless the OS has a different preference
DEFAULT_INTERFACE="\"eth0\""
@@ -1459,6 +1462,7 @@ AM_CONDITIONAL(HAVE_MHD, test x$lmhd = x1)
AC_DEFINE_UNQUOTED([HAVE_MHD], $lmhd, [We have libmicrohttpd])
AM_CONDITIONAL(HAVE_JSON, [test x$jansson = x1])
+AM_CONDITIONAL(HAVE_REST, [test x$jansson = x1 -a x$lmhd = x1])
# restore LIBS
LIBS=$SAVE_LIBS
@@ -2034,19 +2038,13 @@ AS_IF([test "x$conversation_backend" = "xnone"],
[AS_IF([test "x$opus" = x1],
[conversation_msg="yes (x$conversation_backend)"],
[AC_MSG_WARN([libopus not found (required to build
conversation)])])])
-# -- rest
+# -- rest / oidc
rest_msg="no"
-AS_IF([test "x$lmhd" = "x1"],
- [AS_IF([test "x$jansson" = "x1"],
- [rest_msg="yes"],
- [rest_msg="no (libjansson missing)"])],
- [rest_msg="no (libmicrohttpd missing)"])
-# -- reclaim
-AS_IF([test "x$lmhd" = "x1"],
- [AS_IF([test "x$jansson" = "x1"],
- [reclaim_msg="yes (with OpenID Connect)"],
- [reclaim_msg="yes (without OpenID Connect, missing libjansson)"],
- [reclaim_msg="yes (without OpenID Connect, missing libmicrohttpd)"])])
+AS_IF([test "x$lmhd" = "x1" -a "x$jansson" = "x1"],
+ [rest_msg="yes"
+ reclaim_msg="yes (with OpenID Connect)"],
+ [rest_msg="no"
+ reclaim_msg="yes (without OpenID Connect)"])
# -- interface
--
To stop receiving notification emails like this one, please contact
address@hidden.