From: Scott Cantor Date: Wed, 30 Sep 2009 20:14:17 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/CPPXT-37 X-Git-Tag: 1.3~19 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=817e9a3c23f861c4eddaa50baed5de6ea991fa54 https://issues.shibboleth.net/jira/browse/CPPXT-37 --- 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"