]> granicus.if.org Git - curl/commitdiff
Instead of checking the off_t size, we use the source dir version of the
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Jan 2004 12:01:59 +0000 (12:01 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Jan 2004 12:01:59 +0000 (12:01 +0000)
curl.h header and then check for the size of the curl_off_t type.

configure.ac

index afe883efd4a3cea6dfd2cf48fe06edc5800c52cb..d5d63655a4cdd553d4e7811b0353b2aa3f019777 100644 (file)
@@ -901,7 +901,10 @@ AC_C_CONST
 AC_TYPE_SIZE_T
 AC_HEADER_TIME
 
-AC_CHECK_SIZEOF(off_t)
+AC_CHECK_SIZEOF(curl_off_t, ,[
+#include <stdio.h>
+#include "$srcdir/include/curl/curl.h"
+])
 
 AC_CHECK_TYPE(long long,
    [AC_DEFINE(HAVE_LONGLONG, 1, [if your compiler supports 'long long'])])