cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Autobuild Red Hat 7.2 Linux 2.4 i686 lcc 4.2 glibc 2.2.5

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Aug 2008 21:07:37 +0200 (CEST)

On Mon, 11 Aug 2008, Yang Tse wrote:

>> Indeed, they used to be tightly connected but now curl_off_t is just a 64bit
>> type if available, so I think we need a new configure check to test for LFS
>
> Do you have something clever in mind ? Or some clues that should be taken in
> consideration ? Or any general approach that you can see would be better ?

I think the existing AC_SYS_LARGEFILE check should be enough. If, after that
check, off_t is larger than 4 bytes then we know LFS is enabled. This seems to
be the assumption configure uses and thus we have in effect been using it as
well already so we won't really change in this aspect.

-- 
  / daniel.haxx.se
Received on 2008-08-11