On 2000-09-07 Albert Chin-A-Young <[EMAIL PROTECTED]> wrote:
> AC_SYS_LARGEFILE seems to be concerned,
> though, with only setting CFLAGS (or is it CPPFLAGS) and not LDFLAGS
> (so if any linker flags/librares are needed they won't be picked up).
> I think the latter is because Paul probably has not encountered any
> system that needs it.
Correct.
> I think earlier versions of AC_SYS_LARGEFILE did
> use getconf but were removed later because the current version is more
> inclusive of existing systems supporting LFS.
Also correct. In practice, getconf was more trouble than it was
worth. Among other thing, it made cross-compilation difficult, since
you need to run getconf on the target and not on the build host.
> > Maybe the macros should try getconf first and if that fails then try
> > the common sets of compile/link flags?
Older versions of AC_SYS_LARGEFILE did that, but we found it to be
less reliable.