Package: xmltooling / 1.6.0-4+deb9u2

Print-result-of-CURLINFO_TLS_SSL_PTR-test.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@niif.hu>
Date: Tue, 5 Jul 2016 13:20:35 +0200
Subject: Print result of CURLINFO_TLS_SSL_PTR test

---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index abc8836..0050d2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,7 +230,8 @@ AS_IF([test "x$with_xmlsec" != xno],
     AC_CHECK_TYPE([curl_off_t],[AC_DEFINE([HAVE_CURL_OFF_T],[1],[Define to 1 if you have the 'curl_off_t' type.])],,[[#include <curl/curl.h>]])
     AC_MSG_CHECKING([for CURLINFO_TLS_SSL_PTR in curl.h])
     AC_EGREP_HEADER([CURLINFO_TLS_SSL_PTR], [curl/curl.h],
-        [AC_DEFINE([HAVE_CURLINFO_TLS_SSL_PTR],[1],[Define to 1 if you have support for the CURLINFO_TLS_SSL_PTR feature.])])
+        [AC_MSG_RESULT([yes])
+         AC_DEFINE([HAVE_CURLINFO_TLS_SSL_PTR],[1],[Define to 1 if you have support for the CURLINFO_TLS_SSL_PTR feature.])])
 
          AX_RESTORE_FLAGS
         ],