bug-gnulib
[Top][All Lists]
Advanced

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

Re: extensions module and Solaris


From: Eric Blake
Subject: Re: extensions module and Solaris
Date: Tue, 27 May 2008 17:40:20 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 5/27/2008 4:35 PM:
| Eric Blake wrote:
|> should m4/extensions.m4 blindly define
|> _POSIX_SOURCE for Solaris, like it already does for Minix
|
| Certainly not. On many systems, _POSIX_SOURCE *prevents* system
| extensions from being available. It's the opposite of _ALL_SOURCE (AIX),
| _HPUX_SOURCE (HP-UX), _GNU_SOURCE (glibc).

Solaris documents that '_POSIX_SOURCE' followed by '__EXTENSIONS__'
enables all extensions which don't conflict with POSIX.  Yes, by itself,
it is the opposite, but my proposal was adding it prior to __EXTENSIONS__.
~ Then again, since my tests showed that the mere definition didn't change
behavior, and rather the addition of a link file (or the compiler name, as
c89 is supposed to pull in values-xpg4.o under the hood), defining
_POSIX_SOURCE on Solaris doesn't seem to help.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg8m+QACgkQ84KuGfSFAYCCjQCdE8JpRnJBK0J031sls5c/esjB
szkAoJITjdoW9ySwlQiDNfndEjjtkLw0
=Tmpt
-----END PGP SIGNATURE-----




reply via email to

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