https://issues.shibboleth.net/jira/browse/CPPXT-37
authorScott Cantor <cantor.2@osu.edu>
Wed, 30 Sep 2009 20:14:17 +0000 (20:14 +0000)
committerScott Cantor <cantor.2@osu.edu>
Wed, 30 Sep 2009 20:14:17 +0000 (20:14 +0000)
config_win32.h
configure.ac

index e62d892..20e9b0a 100644 (file)
@@ -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"
 
index de88c34..7e0d730 100644 (file)
@@ -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"