autoconf
[Top][All Lists]
Advanced

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

Re: Interix identification.


From: Dan Kegel
Subject: Re: Interix identification.
Date: Mon, 22 Jul 2002 10:07:32 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

Akim Demaille wrote:
"Paul" == Paul Eggert <address@hidden> writes:


Paul> AIX and Interix use _ALL_SOURCE, Solaris uses __EXTENSIONS__,
Paul> GNU uses _GNU_SOURCE, HP/UX uses _HPUX_SOURCE, and Minix uses
Paul> _MINIX, _POSIX_SOURCE and _POSIX_1_SOURCE.  Currently these
Paul> symbols are scattered over several macros (AC_PROG_CC,
Paul> AC_GNU_SOURCE, AC_AIX, AC_MINIX) but perhaps they should all be
Paul> folded into AC_PROG_CC (with an option to turn them off,
Paul> perhaps?).
I agree: they should be on by default.  I'm not sure the options are a
good thing: Autoconf should provide an illusion of uniform behavior
accross hosts and packages.  If it doesn't suit a specific package for
some reasons, then it should probably be attached to a feature (some
functions?) rather than to CC.

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?

- Dan




reply via email to

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