Instead of checking the off_t size, we use the source dir version of the

curl.h header and then check for the size of the curl_off_t type.
This commit is contained in:
Daniel Stenberg 2004-01-22 12:01:59 +00:00
parent d5bb877fba
commit 6cd0a90b52
1 changed files with 4 additions and 1 deletions

View 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'])])