From 817e9a3c23f861c4eddaa50baed5de6ea991fa54 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 30 Sep 2009 20:14:17 +0000 Subject: [PATCH] https://issues.shibboleth.net/jira/browse/CPPXT-37 --- config_win32.h | 3 +++ configure.ac | 1 + 2 files changed, 4 insertions(+) diff --git a/config_win32.h b/config_win32.h index e62d892..20e9b0a 100644 --- a/config_win32.h +++ b/config_win32.h @@ -77,6 +77,9 @@ /* Define to 1 if you have the `xsecsize_t' type. */ #define HAVE_XSECSIZE_T 1 +/* Define to 1 if you have the `curl_off_t' type. */ +#define HAVE_CURL_OFF_T 1 + /* Name of package */ #define PACKAGE "xmltooling" diff --git a/configure.ac b/configure.ac index de88c34..7e0d730 100644 --- a/configure.ac +++ b/configure.ac @@ -320,6 +320,7 @@ int i = 0; 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_CHECK_TYPE([curl_off_t],[AC_DEFINE([HAVE_CURL_OFF_T], [1], [Define to 1 if you have the 'curl_off_t' type.])]) # restore master libs LIBS="$save_LIBS" -- 2.1.4