autoconf
[Top][All Lists]
Advanced

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

Re: Interix identification.


From: Paul Eggert
Subject: Re: Interix identification.
Date: Mon, 22 Jul 2002 10:22:52 -0700 (PDT)

> From: Dan Kegel <address@hidden>
> Date: Mon, 22 Jul 2002 10:07:32 -0700
> 
> On Linux, it might be more standards-friendly to do
> #define _XOPEN_SOURCE 600
> instead of _GNU_SOURCE.  If we're trying to provide an illusion of
> uniform behavior, we should avoid enabling GNU extensions, no?

No, for two reasons.

First, a common case in Autoconf is to use all available extensions.
This philosophy is not necessarily opposed to providing "an illusion
of uniform behavior".  (In some cases you need to use the extensions
to provide the illusion.  :-)

Second, we already tried defining _XOPEN_SOURCE a while ago, and it
didn't work well, precisely because it disabled desirable extensions:

2000-11-14  Paul Eggert  <address@hidden>

        * acfunctions.m4 (AC_FUNC_FSEEKO): New macro, which worries about
        fseeko (and presumably ftello).  Do not set _XOPEN_SOURCE; that
        causes too many problems in practice.



reply via email to

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