[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 02/05: replace if with AS_IF (#5709, wip)
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 02/05: replace if with AS_IF (#5709, wip) |
Date: |
Sun, 12 May 2019 21:48:21 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 5740f5b63921c3a4012007f84da2670634b7d28a
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 12 21:37:13 2019 +0200
replace if with AS_IF (#5709, wip)
---
configure.ac | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 17a75602..8cdfa4cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -191,15 +191,14 @@ LIBS_SAVE=$LIBS
LIBGNURL_CHECK_CONFIG(,7.34.0,gnurl=1,gnurl=0)
LIBCURL_CHECK_CONFIG(,7.34.0,[curl=1],[curl=0])
-if test "x$curl" = x1
-then
+AS_IF([test "x$curl" = x1],[
AC_CHECK_HEADER([curl/curl.h],
AC_CHECK_DECLS(CURLINFO_TLS_SESSION,[curl=1],[curl=0],[[#include
<curl/curl.h>]]),
[curl=0])
# need libcurl-gnutls.so, everything else is not acceptable
AC_CHECK_LIB([curl-gnutls],[curl_easy_getinfo],,[curl=0])
# cURL must support CURLINFO_TLS_SESSION, version >= 7.34
-fi
+])
# libcurl and libgnurl should be mutually exclusive
AS_IF([test "$gnurl" = 1],
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-exchange] branch master updated (081280a8 -> 4b36b6c9), gnunet, 2019/05/12
- [GNUnet-SVN] [taler-exchange] 01/05: replace if with AS_IF (#5709, wip), gnunet, 2019/05/12
- [GNUnet-SVN] [taler-exchange] 03/05: replace if with AS_IF (#5709, wip), gnunet, 2019/05/12
- [GNUnet-SVN] [taler-exchange] 04/05: replace if with AS_IF (#5709, wip), gnunet, 2019/05/12
- [GNUnet-SVN] [taler-exchange] 02/05: replace if with AS_IF (#5709, wip),
gnunet <=
- [GNUnet-SVN] [taler-exchange] 05/05: replace if with AS_IF (fixes #5709 for exchange), gnunet, 2019/05/12