Re: AC_SYS_LARGEFILE

Sébastien Hinderer <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.general
Message-ID <ZP9BxbV0KX0izTL0@jnana>
Dear Bob,
Many thanks for your repsonse!

Bob Friesenhahn (2023/09/11 11:28 -0500):
> On Mon, 11 Sep 2023, Sébastien Hinderer wrote:
>
> > Dear all,
> >
> > I am writing with a quesiton about the AC_SYS_LARGEFILE macro.
> >
> > It would be great to be able to use it but according to its
> > documentation, the macro adds its flags to the CC output variable, which
> > is not convenient in my context because we have dedicated variables not
> > only for C flags but also for C preprocessor flags. Thus, what I'd
> > ideally need is a version of the macro where I can somehow specify what to
> > do with both large-file related CFLAGS and CPPFLAGS.
>
> The pre-processor and linker options produced are not like normal
> pre-processor and linker options so they are treated differently.  If they
> are not submitted via CC / LD, then the final result might not work
> properly.

That's surprising to me. Even if those options are needed all the way
down, why wouldn't CFLAGS be enough? Also for a -D optionI am
assuminigthat there is only the C preprocessor whichknos what to do
with it?

Best wishes,

Sébastien.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.