commit 348db743d16fb95fc5ba838ba93644091beb46ec
parent 8214e77c0ec946cff586dcd778c4e3ab61b52e9b
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 12 Jan 2009 20:07:36 +0000
fixing 1440
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -182,10 +182,10 @@ AC_ARG_ENABLE(curl,
[enable_curl=$enableval],
[enable_curl="yes"])
+curl=0
if test "$enable_curl" = "yes"
then
LIBCURL_CHECK_CONFIG(,,curl=1,curl=0)
- AM_CONDITIONAL(HAVE_CURL, test x$curl = x1)
# Lib cURL & cURL - OpenSSL versions
MHD_REQ_CURL_VERSION=7.16.4
MHD_REQ_CURL_OPENSSL_VERSION=0.9.8
@@ -195,6 +195,7 @@ then
AC_DEFINE_UNQUOTED([MHD_REQ_CURL_GNUTLS_VERSION], "$MHD_REQ_CURL_GNUTLS_VERSION", [gnuTLS lib version - used in conjunction with cURL])
fi
LIBS=$SAVE_LIBS
+AM_CONDITIONAL(HAVE_CURL, test x$curl = x1)
# large file support (> 4 GB)
AC_SYS_LARGEFILE
diff --git a/src/testcurl/https/tls_daemon_options_test.c b/src/testcurl/https/tls_daemon_options_test.c
@@ -32,7 +32,7 @@
#include "gnutls.h"
#include <curl/curl.h>
-#define DEBUG_CURL_VERBOSE 0
+#define DEBUG_CURL_VERBOSE 1
#define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>"
#define MHD_E_MEM "Error: memory error\n"