autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_SYS_LARGEFILE


From: Russ Allbery
Subject: Re: AC_SYS_LARGEFILE
Date: Thu, 10 Jan 2002 16:23:59 -0800
User-agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6)

Peter Simons <address@hidden> writes:

> I recently added AC_SYS_LARGEFILE macro to my configure scripts, but I
> encountered an interesting problem on Solaris 8: The configure script
> adds the define "_FILE_OFFSET_BITS=64" to my CPPFLAGS, but once it does,
> <unistd.h> and colleagues don't define open(2) anymore; apparently, I
> have to use open64(2) instead.

You also need _LARGEFILE_SOURCE.  AC_SYS_LARGEFILE should be defining it
as well; is that not happening?

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]