autoconf
[Top][All Lists]
Advanced

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

Re: autoconf: AC_SYS_LARGEFILE should output to CPPFLAGS


From: Zack Weinberg
Subject: Re: autoconf: AC_SYS_LARGEFILE should output to CPPFLAGS
Date: Wed, 25 Jan 2017 13:24:45 -0500

On Wed, Jan 25, 2017 at 1:02 PM, Thorsten Glaser <address@hidden> wrote:
> On Wed, 25 Jan 2017, Zack Weinberg wrote:
>
>> As far as I can tell from the Git history, AC_SYS_LARGEFILE has
>> *always* used AC_DEFINE_UNQUOTED to define the various preprocessor
>> macros that it can define (_FILE_OFFSET_BITS, _LARGE_FILES, and
>> _DARWIN_USE_64_BIT_INODE).
>
> Interesting, as I recall seeing -D_FILE_OFFSET_BITS=64 on various
> compiler command lines when working under GNU. (I normally work
> under BSD at home, so I don’t know where exactly.)

Is it possible that those programs were not using a config.h?

>> That part of the code has been unchanged
>> since AC_SYS_LARGEFILE was added to specific.m4.
>
> Interesting, when was that? (That is, before 2.13? Anything before
> that, even I consider ancient ☻)

2000-06-08.  According to NEWS, it was not in 2.13 (which was released
1999-05-01), but it was in the very next release, 2.50 (2001-05-21).
The ChangeLog entry for the addition says "Import AC_SYS_LARGEFILE
from largefile.m4 serial 12", so that sounds like there was an add-on
.m4 file with the same functionality floating around prior to that - I
don't know where to find copies of that file.

zw



reply via email to

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