Julien Cristau wrote:
> On Mon, Jul  6, 2009 at 09:46:40 -0700, Ian Romanick wrote:
> 
>> Here's an alterate patch the puts _XOPEN_SOURCE and _GNU_SOURCE in config.h
>> via configure.ac.  Comments?
>>
> maybe use AC_USE_SYSTEM_EXTENSIONS instead?

Yes please - on some systems (Solaris for instance), setting _XOPEN_SOURCE
reduces the available API to just the X/Open standards, instead of extending
it as it does on Linux - the AC_USE_SYSTEM_EXTENSIONS knows how to set this
correctly for both.

-- 
        -Alan Coopersmith-           [email protected]
         Sun Microsystems, Inc. - X Window System Engineering


------------------------------------------------------------------------------
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to