[ANNOUNCE] xorg-server 1.2.99.0
Daniel Stone
daniel at fooishbar.org
Fri Nov 3 01:56:47 PST 2006
On Fri, Nov 03, 2006 at 08:35:48AM +0100, Arkadiusz Miskiewicz wrote:
> On Thursday 02 November 2006 23:19, Brian Paul wrote:
> > I don't understand what that's all about. Mesa's config.h file has
> > nothing to do with autconf.
> Sorry for mistake. There is CONFIG_H not HAVE_CONFIG_H.
>
> GL/mesa/main/config.h content is guarded by:
> #ifndef CONFIG_H
> #define CONFIG_H
>
> whole content
>
> #endif
>
> Now the include/config.h is included which also does #define CONFIG_H
> (verified that it's included by adding #error something to include/config.h).
> GL/mesa/main/config.h contents are ignored because CONFIG_H is already
> defined. Temporary workaround: sed -i -e 's#CONFIG_H#XXX_MESA_CONFIG_H#g'
> GL/mesa/main/config.h works.
Right. I'll rename config.h to ... something else, so Mesa can continue
picking up its own config.h. But it's not config.h that defines
HAVE_CONFIG_H, autoconf defines it anyway.
The effect can be seen here:
> [...]
> In file included from ../main/context.h:54,
> from xf86glx.c:54:
> ../main/mtypes.h:66:2: error: #error "illegal number of color channel bits"
> ../main/mtypes.h:78:4: error: #error "illegal number of stencil bits"
> In file included from ../main/context.h:54,
> from xf86glx.c:54:
> [...]
> make[3]: Leaving directory
> `/home/users/builder/rpm/BUILD/xorg-server-1.2.99.0/GL/mesa/X'
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20061103/ebf86a5f/attachment.pgp>
More information about the xorg
mailing list