On Mon, Jul 06, 2009 at 01:14:14PM -0700, Alan Coopersmith wrote:
> 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.

Grr.  So, I did this.  The first time I run autogen.sh I get the following
error:

configure.ac:34: error: possibly undefined macro: AC_USE_SYSTEM_MACROS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Running configure by hand after that works fine.  Why would I need to use
m4_pattern_allow for an autoconf built-in test?

Attachment: signature.asc
Description: Digital signature

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

Reply via email to