./configure and large file support

Russ Allbery rra at stanford.edu
Thu Jan 6 00:25:46 UTC 2005


Russ Allbery <rra at stanford.edu> writes:
> Russ Allbery <rra at stanford.edu> writes:

>> Hm.  Maybe we have to use AC_FUNC_FSEEKO instead?  It also defines
>> _LARGEFILE_SOURCE, which otherwise isn't necessary.

> I'm committing something now that I think will fix this; give it a shot
> and let me know if it works.

Hurm, no, we can't use AC_FUNC_FSEEKO because it always enables large file
compilation.  Bleh.  Okay, what I'm going to do is only probe for fseeko
and ftello when we're building with large file support, and otherwise just
#define fseeko to fseek.  That should always work.  Will commit in a
moment.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list