Package: xmltooling / 1.6.0-4+deb9u2

Add-more-forgotten-test-result-prints.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
23
24
25
26
27
28
29
30
31
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@niif.hu>
Date: Wed, 6 Jul 2016 09:28:28 +0200
Subject: Add more forgotten test result prints

---
 configure.ac | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 63b4c3c..e368fdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -229,13 +229,15 @@ AS_IF([test "x$with_xmlsec" != xno],
 
     AC_MSG_CHECKING([for CURLOPT_SSL_CTX_FUNCTION in curl.h])
     AC_EGREP_HEADER([CURLOPT_SSL_CTX_FUNCTION], [curl/curl.h],
-        [AC_MSG_RESULT(yes)],
-        [AC_MSG_ERROR([need libcurl that supports CURLOPT_SSL_CTX_FUNCTION])])
+        [AC_MSG_RESULT([yes])],
+        [AC_MSG_RESULT([no])
+         AC_MSG_ERROR([need libcurl that supports CURLOPT_SSL_CTX_FUNCTION])])
     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_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.])])
+         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([no])])
 
          AX_RESTORE_FLAGS
         ],