-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ian Romanick wrote: > 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?
Never mind. Surprisingly, AC_USE_SYSTEM_MACROS is not the same as AC_USE_SYSTEM_EXTENSIONS. Duh. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpSfQAACgkQX1gOwKyEAw8z5QCfXwZz2PozjdwAoT8Qc9aKTuup jIMAoIMxP/J5ar4nJOX62tZWdZGOUBuS =AX++ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
