autoconf
[Top][All Lists]
Advanced

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

Re: ["Florian Weimer" <address@hidden>] Bug#158969: autoconf: AC_SYS_LAR


From: Paul Eggert
Subject: Re: ["Florian Weimer" <address@hidden>] Bug#158969: autoconf: AC_SYS_LARGEFILE documentation misleading
Date: Sun, 1 Sep 2002 04:00:20 -0700 (PDT)

> From: "Florian Weimer" <address@hidden>
> Date: Sat, 31 Aug 2002 09:50:21 +0200
> 
> Quote from the documentation:
> 
>  - Macro: AC_SYS_LARGEFILE
>      Arrange for large-file support(1).  On some hosts, one must use
>      special compiler options to build programs that can access large
>      files.  Append any such options to the output variable `CC'.
>      Define `_FILE_OFFSET_BITS' and `_LARGE_FILES' if necessary.
> 
> This is wrong, the output variable in question is not called "CC", but
> "DEFS".

Perhaps you're confusing special compiler options (e.g. IRIX 6.2's C
compiler needs the "-n32" option) with ordinary compiler options like
"-D_FILE_OFFSET_BITS=64"?  The special options are appended to CC as
the Autoconf documentation says.  The ordinary ones are appended to
DEFS if AC_CONFIG_HEADERS is not called.

Another possibility is that you've somehow got hold of an older
version of the AC_SYS_LARGEFILE macro, and are overriding the macro
that comes with Autoconf 2.53.




reply via email to

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